From: Evan G. <ve...@gm...> - 2006-03-21 21:58:21
|
I'm using a memo field in a break footer and in the PDF when the memo goes past a page break some strange things happen. Right after the memo field is done the footer finishes as expected (horizontal line in my case). However, instead of the header being printed it prints the first detail line and then the footer of the next break section. After the footer it then prints the header of the break it should've printed in the first place and continues as expected but starting with the second record (since the first was printed above). Here's some pictures to illustrate (the first picture is it working as expected second picture shows the error): http://vershun.ath.cx/working.JPG http://vershun.ath.cx/not_working.JPG This has been tested on both the 1.3.6 and the new 1.3.7 releases. My break is as follows: <Break name=3D"break1" newpage=3D"no" headernewpage=3D"no"> =09=09=09<BreakHeader> =09=09=09=09<Output> =09=09=09=09=09<Line> =09=09=09=09=09 <literal width=3D"2" /> =09=09=09=09=09 <literal>BJE# </literal> =09=09=09=09=09=09<field value=3D"bje_all.BJE_ID" align=3D"left" col=3D"1" = bold=3D"Yes" /> =09=09=09=09=09=09<literal width=3D"4" /> =09=09=09=09=09 <literal>Ref# </literal> =09=09=09=09=09=09<field value=3D"bje_all.BJE_USER_BATCH" align=3D"left" co= l=3D"1" bold=3D"Yes" /> =09=09=09=09=09=09<literal width=3D"4" /> =09=09=09=09=09 <literal>Date: </literal> =09=09=09=09=09=09<field value=3D"bje_all.BJE_DATE" align=3D"left" col=3D"1= " bold=3D"Yes" /> =09=09=09=09=09=09<literal width=3D"4" /> =09=09=09=09=09 <literal>Ledger: </literal> =09=09=09=09=09=09<field value=3D"bje_all.BJE_LEDGER_TYPE" align=3D"left" c= ol=3D"1" bold=3D"Yes" /> =09=09=09=09=09=09<literal width=3D"4" /> =09=09=09=09=09 <literal>Jrnl ID: </literal> =09=09=09=09=09=09<field value=3D"bje_all.BJE_SYSTEM_BATCH" align=3D"left" = col=3D"1" bold=3D"Yes" /> =09=09=09=09=09</Line> =09=09=09=09=09<HorizontalLine size=3D"1" bgcolor=3D"'black'" indent=3D"2" = /> =09=09=09=09</Output>=09=09=09=09=09=09=09=09 =09=09=09</BreakHeader> =09=09=09<BreakFields> =09=09=09=09<BreakField value=3D"bje_all.BJE_ID"/> =09=09=09</BreakFields> =09=09=09<BreakFooter> =09=09=09=09<Output> =09=09=09=09 <Line /> =09=09=09=09 <Line> =09=09=09=09 =09<literal width=3D"8" /> =09=09=09=09 <literal bold=3D"Yes">Remark: </literal> =09=09=09=09 <field value=3D"bje_all.BJE_TITLE" align=3D"left" col= =3D"1" /> =09=09=09=09 </Line> =09=09=09=09 <Line> =09=09=09=09 =09<literal width=3D"9" /> =09=09=09=09 <literal bold=3D"Yes">Notes: </literal> =09=09=09=09 <field value=3D"bje_all.BJE_NOTES" width=3D"90" memo= =3D"yes" align=3D"left" col=3D"1" /> =09=09=09=09 </Line> =09=09=09=09 =09=09=09=09=09<HorizontalLine size=3D"1" bgcolor=3D"'black'" indent=3D"2"/= > =09=09=09=09=09<Line/> =09=09=09=09</Output>=09=09=09=09=09=09 =09=09=09</BreakFooter> =09=09</Break> And my Field Details are: <FieldDetails> =09=09=09<Output> =09=09=09=09<Line bgcolor=3D"iif(v.counter%2,'0xCCCCCC','white')" > =09=09=09=09 <literal width=3D"5" bgcolor=3D"'white'"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_NUM" width=3D"3" align= =3D"left" col=3D"1"/> =09=09=09=09=09<literal width=3D"1"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_SPEEDTYPE" width=3D"10= " align=3D"left" col=3D"1"/> =09=09=09=09=09<literal width=3D"1"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_ACCT" width=3D"8" alig= n=3D"left" col=3D"1"/> =09=09=09=09=09<literal width=3D"1"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_DESC" memo=3D"yes" wid= th=3D"28" align=3D"left" col=3D"1" /> =09=09=09=09=09<literal width=3D"4"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_POSN" width=3D"8" alig= n=3D"right" col=3D"1"/> =09=09=09=09=09<literal width=3D"1"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_AMT" width=3D"10" alig= n=3D"right" col=3D"1" /> =09=09=09=09=09<literal width=3D"2"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_FTE" width=3D"5" align= =3D"right" col=3D"1"/> =09=09=09=09=09<literal width=3D"4"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_FUND" width=3D"4" alig= n=3D"right" col=3D"1"/> =09=09=09=09=09<literal width=3D"4"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_ORG" width=3D"5" align= =3D"right" col=3D"1"/> =09=09=09=09=09<literal width=3D"2"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_PGM" width=3D"5" align= =3D"right" col=3D"1"/> =09=09=09=09=09<literal width=3D"2"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_SUB_CLASS" width=3D"5" align=3D"right" col=3D"1"/> =09=09=09=09=09<literal width=3D"2"/> =09=09=09=09=09<field value=3D"bje_all.BJE_LINE_DEPT_DESC" width=3D"21= " align=3D"left" col=3D"1"/> =09=09=09=09</Line> =09=09=09</Output> =09=09</FieldDetails> |
From: Bob D. <bd...@si...> - 2006-03-22 15:56:06
|
Odd.. Can you make me an simple PHP example that will illustrate this. perhaps modify one of the existing ones in src/examples/php Thanks - bob On Tue, 2006-03-21 at 14:58 -0700, Evan Gates wrote: > I'm using a memo field in a break footer and in the PDF when the memo > goes past a page break some strange things happen. > > Right after the memo field is done the footer finishes as expected > (horizontal line in my case). However, instead of the header being > printed it prints the first detail line and then the footer of the > next break section. > > After the footer it then prints the header of the break it should've > printed in the first place and continues as expected but starting with > the second record (since the first was printed above). > > Here's some pictures to illustrate (the first picture is it working as > expected second picture shows the error): > > http://vershun.ath.cx/working.JPG > > http://vershun.ath.cx/not_working.JPG > > This has been tested on both the 1.3.6 and the new 1.3.7 releases. > > My break is as follows: > <Break name="break1" newpage="no" headernewpage="no"> > <BreakHeader> > <Output> > <Line> > <literal width="2" /> > <literal>BJE# </literal> > <field value="bje_all.BJE_ID" align="left" col="1" bold="Yes" /> > <literal width="4" /> > <literal>Ref# </literal> > <field value="bje_all.BJE_USER_BATCH" align="left" col="1" bold="Yes" /> > <literal width="4" /> > <literal>Date: </literal> > <field value="bje_all.BJE_DATE" align="left" col="1" bold="Yes" /> > <literal width="4" /> > <literal>Ledger: </literal> > <field value="bje_all.BJE_LEDGER_TYPE" align="left" col="1" bold="Yes" /> > <literal width="4" /> > <literal>Jrnl ID: </literal> > <field value="bje_all.BJE_SYSTEM_BATCH" align="left" col="1" bold="Yes" /> > </Line> > <HorizontalLine size="1" bgcolor="'black'" indent="2" /> > </Output> > </BreakHeader> > <BreakFields> > <BreakField value="bje_all.BJE_ID"/> > </BreakFields> > <BreakFooter> > <Output> > <Line /> > <Line> > <literal width="8" /> > <literal bold="Yes">Remark: </literal> > <field value="bje_all.BJE_TITLE" align="left" col="1" /> > </Line> > <Line> > <literal width="9" /> > <literal bold="Yes">Notes: </literal> > <field value="bje_all.BJE_NOTES" width="90" memo="yes" > align="left" col="1" /> > </Line> > > <HorizontalLine size="1" bgcolor="'black'" indent="2"/> > > <Line/> > </Output> > </BreakFooter> > </Break> > > > And my Field Details are: > > <FieldDetails> > <Output> > <Line bgcolor="iif(v.counter%2,'0xCCCCCC','white')" > > <literal width="5" bgcolor="'white'"/> > <field value="bje_all.BJE_LINE_NUM" width="3" align="left" col="1"/> > <literal width="1"/> > <field value="bje_all.BJE_LINE_SPEEDTYPE" width="10" > align="left" col="1"/> > <literal width="1"/> > <field value="bje_all.BJE_LINE_ACCT" width="8" align="left" col="1"/> > <literal width="1"/> > <field value="bje_all.BJE_LINE_DESC" memo="yes" width="28" > align="left" col="1" /> > <literal width="4"/> > <field value="bje_all.BJE_LINE_POSN" width="8" align="right" col="1"/> > <literal width="1"/> > <field value="bje_all.BJE_LINE_AMT" width="10" align="right" > col="1" /> > <literal width="2"/> > <field value="bje_all.BJE_LINE_FTE" width="5" align="right" col="1"/> > <literal width="4"/> > <field value="bje_all.BJE_LINE_FUND" width="4" align="right" col="1"/> > <literal width="4"/> > <field value="bje_all.BJE_LINE_ORG" width="5" align="right" col="1"/> > <literal width="2"/> > <field value="bje_all.BJE_LINE_PGM" width="5" align="right" col="1"/> > <literal width="2"/> > <field value="bje_all.BJE_LINE_SUB_CLASS" width="5" > align="right" col="1"/> > <literal width="2"/> > <field value="bje_all.BJE_LINE_DEPT_DESC" width="21" > align="left" col="1"/> > </Line> > </Output> > </FieldDetails> > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |