Subject: Re: [xsl] Getting a block to end on the last page From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 01 Dec 2011 11:28:28 -0500 |
There are two separate things that can determine how many pages there will be, which is why it matters.
On a given report, there's a list of charges that need to be displayed, and a list of items on a shipment that need to be displayed, and a list of notes about the items.
Any of those three, the charges, the items or the notes could be the piece that extends the longest, and determines how many pages there are.
If it's the charges that are longest, great. Our work is done. We just start the charges on the first page, and they end on the last. However, if the charges are NOT the longest piece, as in the example I provided, then we need to start the charges on a different page.
The second, in the example. Now, I can figure out how many pages each portion will take up, and determine from that what page to start the charges on, but I was hoping there might be a more elegant way to do it in XSL-FO.
Does that make sense?
-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/t37DVX Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Getting a block to end on, Michel Hendriksen | Thread | Re: [xsl] Getting a block to end on, Colin DeClue |
Re: [xsl] Getting a block to end on, Michel Hendriksen | Date | Re: [xsl] Getting a block to end on, Colin DeClue |
Month |