Re: [xsl] Getting a block to end on the last page

Subject: Re: [xsl] Getting a block to end on the last page
From: Colin DeClue <colin.declue@xxxxxxxxx>
Date: Thu, 1 Dec 2011 10:33:20 -0600
Sorry I'm not being very clear. While I get a picture up someplace,
I'll just mention that I've got multiple flows going (which probably
would have helped if I'd mentioned it originally). The charges are one
flow, and the items and descriptions are another flow, and they flow
concurrently on pages. So either the charges will determine the number
of pages, or the items and descriptions will.

On Thu, Dec 1, 2011 at 10:28 AM, G. Ken Holman
<gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> At 2011-12-01 10:14 -0600, Colin DeClue wrote:
>>
>> There are two separate things that can determine how many pages there
>> will be, which is why it matters.
>
>
> Where you place the content matters.  Are you flowing content concurrently?
>
>
>> 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.
>
>
> Well, that's three things.
>
> What is the order and placement of these three sections in the final
output?
>
>
>> 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.
>
>
> I'm lost at "extends the longest" ... can you point to a picture of what
you
> mean that is on the web somewhere, or draw what you mean in ASCII art?
>
>
>> 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.
>
>
> You lost me there, too.  I guess I'm missing something in order to
interpret
> your use of the word "longest".  Content flows on a page and takes up as
> many pages as it needs to fit.
>
>
>> 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.
>
>
> Are you flowing these items concurrently on pages?  Sequentially on pages?
>  I guess words just aren't doing it for me.
>
>> Does that make sense?
>
>
> Nope!  Sorry.  I'll let someone else pick up the ball on this question.  It
> is obvious I am not in a position to help you.  Please forgive me for not
> being able to understand your description.
>
>
> . . . . . . . . . Ken
>
>
> --
> 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