Re: Odd, Even Last-odd Problem
Clay Leeds wrote: Actually, the new problem (referenced in a newer e-mail) is that I have my system set to end-on-even but rather than using the EVEN page simple-page-master stuff for the LAST page, FOP outputs another page using the ODD simple-page-master, and numbers it page 6 of 5 in the region-before. Known bug, should be fixed in CVS. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Odd, Even Last-odd Problem
Clay Leeds wrote: 1. My EVEN page is not rendering every other page (EVEN pages). PROBLEM: It prints at the end of the document. How much pages do you have? rest means not first and not last actually. 2. My LAST-ODD page is not rendering. (The difference between ODD and LAST-ODD is that the TOTALS section is blank on all pages except the LAST-ODD page). Last page position is not implemented yet... -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Odd, Even Last-odd Problem
Oleg all you other helpful folks, At 10:40 AM 11/27/2002, you wrote: Clay Leeds wrote: 1. My EVEN page is not rendering every other page (EVEN pages). PROBLEM: It prints at the end of the document. How much pages do you have? rest means not first and not last actually. I don't know how many pages. I am printing medical bills, and, depending on the number of procedures/bill detail items, it could be 1 page or 100 pages. If I knew, then I'd be able to specify this with accuracy, using single-page-master-reference or something. 2. My LAST-ODD page is not rendering. (The difference between ODD and LAST-ODD is that the TOTALS section is blank on all pages except the LAST-ODD page). Last page position is not implemented yet... I removed all references to LAST after finding this out yesterday. OT: I sure wish there were a reference to position=LAST not being implemented yet on the FOP limitations page. Actually, the new problem (referenced in a newer e-mail) is that I have my system set to end-on-even but rather than using the EVEN page simple-page-master stuff for the LAST page, FOP outputs another page using the ODD simple-page-master, and numbers it page 6 of 5 in the region-before. - Clay Leeds - Web Developer - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Odd, Even Last-odd Problem
Clay Leeds wrote: Sorry for responding to my own post, but... does anyone know of a workaround for this? Originally, I was thinking of doing something like this: xsl:choose xsl:when test=page-position=last() xsl:value-of select=/doc/EOB/DETAIL/TOTAL/TOTALLINE/CHARGE/ /xsl:when xsl:otherwise#160;/xsl:otherwise /xsl:choose (NOTE: that is page-position=last() and not position of XML content). You cannot do it, xslt has no idea what page position is. xsl transformation and xsl formatting are two different processes, they cannot interact. The only way is xsl-fo facilities such as conditional page masters, markers etc. I need to have a blank in the TOTALS section (which prints in the footer in every page) unless it's the LAST page. Well, as last page is not implemented, it's not too simple. You can try using markers. Put marker with total value at the end of your page sequence, and retrieve it's value at the page footer. It's not fully safe method, but it should work. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Odd, Even Last-odd Problem
Clay Leeds wrote: Thanks for the input! BTW, I noticed that bug was added to bugzilla back in March, and referenced 0.20.3. Unfortunately, I scoured the release notes and did not find a fix for it in 0.20.4. :-( It's not fixed therefore. A workaround I'm considering, is to use the combination of this at the end of my Doc: fo:marker marker-class-name=table-continued/ fo:block id=endofdoc/ and this where I want the TOTALS to display: fo:retrieve-marker retrieve-class-name=table-continued retrieve-position=last-starting-within-page retrieve-boundary=pagexsl:value-of select=TOTALS//fo:retrieve-marker Think that'll work? Why not? But you'd better rearrange it as follows: fo:block id=endofdoc fo:marker marker-class-name=table-continuedfoo/fo:marker /fo:block -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Odd, Even Last-odd Problem
Clay Leeds wrote: I removed all references to LAST after finding this out yesterday. OT: I sure wish there were a reference to position=LAST not being implemented yet on the FOP limitations page. You right. Probably a warning ar even error should be logged also. Actually, the new problem (referenced in a newer e-mail) is that I have my system set to end-on-even but rather than using the EVEN page simple-page-master stuff for the LAST page, FOP outputs another page using the ODD simple-page-master, and numbers it page 6 of 5 in the region-before. Dooh, without seeing example I can say nothing. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Odd, Even Last-odd Problem
2. My LAST-ODD page is not rendering. (The difference between ODD and LAST-ODD is that the TOTALS section is blank on all pages except the LAST-ODD page). I believe page-position=last is not yet implemented in FOP. Jonathan Evraire jonevrai at justice.gc.ca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Odd, Even Last-odd Problem
D'oh! Does anyone _know_ where I can look to find out for certain? At 10:49 AM 11/26/2002, you wrote: 2. My LAST-ODD page is not rendering. (The difference between ODD and LAST-ODD is that the TOTALS section is blank on all pages except the LAST-ODD page). I believe page-position=last is not yet implemented in FOP. Jonathan Evraire jonevrai at justice.gc.ca - Clay Leeds - Web Developer - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Odd, Even Last-odd Problem
Sorry for responding to my own post, but... does anyone know of a workaround for this? Originally, I was thinking of doing something like this: xsl:choose xsl:when test=page-position=last() xsl:value-of select=/doc/EOB/DETAIL/TOTAL/TOTALLINE/CHARGE/ /xsl:when xsl:otherwise#160;/xsl:otherwise /xsl:choose (NOTE: that is page-position=last() and not position of XML content). I need to have a blank in the TOTALS section (which prints in the footer in every page) unless it's the LAST page. At 10:53 AM 11/26/2002, you wrote: D'oh! Does anyone _know_ where I can look to find out for certain? At 10:49 AM 11/26/2002, you wrote: 2. My LAST-ODD page is not rendering. (The difference between ODD and LAST-ODD is that the TOTALS section is blank on all pages except the LAST-ODD page). I believe page-position=last is not yet implemented in FOP. Jonathan Evraire jonevrai at justice.gc.ca - Clay Leeds - Web Developer - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Clay Leeds - Web Developer - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Odd, Even Last-odd Problem
Clay Leeds wrote: D'oh! Does anyone _know_ where I can look to find out for certain? It's not implemented yet indeed. Look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7140. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Odd, Even Last-odd Problem
Thanks for the input! BTW, I noticed that bug was added to bugzilla back in March, and referenced 0.20.3. Unfortunately, I scoured the release notes and did not find a fix for it in 0.20.4. :-( A workaround I'm considering, is to use the combination of this at the end of my Doc: fo:marker marker-class-name=table-continued/ fo:block id=endofdoc/ and this where I want the TOTALS to display: fo:retrieve-marker retrieve-class-name=table-continued retrieve-position=last-starting-within-page retrieve-boundary=pagexsl:value-of select=TOTALS//fo:retrieve-marker Think that'll work? ... As for the other problem I'm facing, I still have to resolve the issue of the EVEN page not working right. All of the examples indicate assume that all I want to do is have different region-before and region-after but continue the region-body flow. Actually, in this implementation my EVEN pages will not have *any* region-before or region-after sections, and the region-body will essentially be static. I'm thinking of just putting the EVEN content into a really big region-before having the region-body extent=0cm or something. Anyone have experience with that and/or think it'll work? p.s. I think eXperanto is a great name for an XML/XSL/aw heck! It's a great name for a company in this day age. Web Maestro Clay At 11:03 AM 11/26/2002, you wrote: Clay Leeds wrote: D'oh! Does anyone _know_ where I can look to find out for certain? It's not implemented yet indeed. Look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7140. - Clay Leeds - Web Developer - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]