Re: [xsl] fo:multi-switch or alternative

Subject: Re: [xsl] fo:multi-switch or alternative
From: "Kevin Brown" <kevin@xxxxxxxxxxx>
Date: Fri, 28 Sep 2012 10:13:14 -0700
Sorry if this is not appropriate as I have not followed this closely.

Question: Can the table + content be in its own page-sequence?

If the answer is yes, I do not see why you could not use ...
page-position="only" method with no continued message 
page-position="first" with continued message (of course, put it into a table
cell that would join perfectly with the flowing table if you like)
page-position="rest" with continued message
page-position="last" method with no continued message

Or, if preferred without "only" which I forget may also be a 1.1 concept:

<page-sequence-master master-name="pages">

   <!-- Sequence for single-page documents -->
   <repeatable-page-master-alternatives maximum-repeats="1">
        <conditional-page-master-reference page-position="last"
            master-reference="the-only-page"/>
    </repeatable-page-master-alternatives>

   <!-- Sequence for multi-page documents -->
     <repeatable-page-master-alternatives>
       <conditional-page-master-reference page-position="first"
           master-reference="first-page-out-of-many"/>
       <conditional-page-master-reference page-position="last"
           master-reference="last-page-out-of-many"/>
       <conditional-page-master-reference
           master-reference="page-that-is-neither-first-nor-last"/>
     </repeatable-page-master-alternatives>

</page-sequence-master>

------------------------------

Date: Thu, 27 Sep 2012 20:46:18 +0200
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
From: Jesper Tverskov <jesper.tverskov@xxxxxxxxx>
Subject: Re: [xsl] fo:multi-switch or alternative
Message-ID:
<CAAuwN4Ezq2jEW_MfDTs01h0NYtShc3mxVEXgu2sKixbCHE67oA@xxxxxxxxxxxxxx>

One final detail. At the moment both

<fo:retrieve-marker retrieve-class-name="continued"
retrieve-position="last-starting-within-page"/>
<fo:retrieve-marker retrieve-class-name="firstonly"
retrieve-position="last-starting-within-page"/>

are placed in fo:static-content inside page footer of first page. Works
fine.

But the first of the two retrieve-markers should ideally be at the end of
the table in region body that continues over more than the first page when
"long". Like if a footer for that table could be turned on but only shown
for first page. Nice if "continued" looks like a label inside the table that
continues.

I can see in the spec that we have different values for "retrieve-position",
but I must admit that I haven't seen the light yet. All these concepts are
new to me.

Any help, hints?

Cheers
Jesper Tverskov
http://www.xmlplease.com

Current Thread