[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] newline in C++ variables
From: |
Wendy Boutin |
Subject: |
Re: [lmi] newline in C++ variables |
Date: |
Thu, 10 Sep 2009 13:52:07 -0400 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
On 2009-09-10 13:15, Vaclav Slavik wrote:
On Thu, 2009-09-10 at 12:16 -0400, Wendy Boutin wrote:
The xml file that's fed to 'fop' (this message
http://lists.nongnu.org/archive/html/lmi/2008-12/msg00006.html
shows how to get that xml file) contains only one
paragraph, so I'm thinking the breakdown in the
pipeline is: C++ --> xml
Certainly. What exactly are you doing with the string? In other words,
how can I reproduce this behavior? I can't find anything similar in the
public sources.
I thought this change:
Index: ihs_proddata.cpp
===================================================================
RCS file: /sources/lmi/lmi/ihs_proddata.cpp,v
retrieving revision 1.21
diff -u -2 -r1.21 ihs_proddata.cpp
--- ihs_proddata.cpp 18 Feb 2009 22:12:11 -0000 1.21
+++ ihs_proddata.cpp 10 Sep 2009 17:40:27 -0000
@@ -344,5 +344,8 @@
foo.GuarSpecAmtLoadFilename = "sample";
foo.PolicyForm = "UL32768-NY";
- foo.PolicyMktgName = "UL Supreme";
+// foo.PolicyMktgName = "UL Supreme";
+ foo.PolicyMktgName = "This is paragraph one."
+ "\n"
+ "This is paragraph two.";
foo.PolicyLegalName = "Flexible Premium Adjustable Life Insurance Policy";
foo.InsCoShortName = "Superior Life";
would simulate what I'm trying to do with the proprietary
sources, but it caused this strange error instead:
Value '(800) 555-1212' invalid for type '12mcenum_state'.
[file /opt/lmi/src/lmi/mc_enum.tpp, line 203]
If I remove the '\n', then I can at least see the change
on the first page of the pdf when I do:
File | New | Illustration | sample product | OK | Print preview
so I know it's close. It's the newline character (or my
use of it) that continues to cause my problems.
- [lmi] newline in C++ variables, Wendy Boutin, 2009/09/10
- Re: [lmi] newline in C++ variables, Vaclav Slavik, 2009/09/10
- Re: [lmi] newline in C++ variables,
Wendy Boutin <=
- Re: [lmi] newline in C++ variables, Greg Chicares, 2009/09/12
- Re: [lmi] newline in C++ variables, Wendy Boutin, 2009/09/12
- Re: [lmi] newline in C++ variables, Greg Chicares, 2009/09/12
- Re: [lmi] newline in C++ variables, Wendy Boutin, 2009/09/12
- Re: [lmi] newline in C++ variables, Greg Chicares, 2009/09/15
- Re: [lmi] newline in C++ variables, Vaclav Slavik, 2009/09/15