This is possible with a bit of inovation.
Thanks to the support of markers and svg.
The only problem is that the message will appear on all pages except the
last page, unless someone knows how to solve this.
The idea is to put the message in the static area and also have a marker
that is placed in the same position as the message. The marker contents
simply has an svg rect that is white so it hides the message.
Find the examples attached.
Also note that I noticed a bug with the markers, the first problem is that
it doesn't like it if there is white space before the marker (so it thinks
it is not the first child in the block) and the second problem is that an
npe results from the first error due to the log being null, my fault.
On Wed, 19 Sep 2001 15:51:20 [EMAIL PROTECTED] wrote:
> Hi,
>
> perhaps someone have a response to my problem:
>
> On top of the first page I would like to make a warning output (e.g.
> "This
> document contains 10 pages!"), but only if the document has more than one
> page. If the document has exactly one page, no warning should appear. Is
> this possible ?
>
> I have try something like this:
>
> <xsl:param name="PAGES"><fo:page-number-citation
> ref-id="end-of-document"/></xsl:param>
>
> <xsl:if test="$PAGES>1">
> <!-- or <xsl:if test="$PAGES > 1"> , but no more success -->
> <fo:block>
> This document contains <fo:page-number-citation
> ref-id="end-of-document"/> pages!
> </fo:block>
> </xsl:if>
>
> [... ]
>
> <fo:block id="end-of-document" />
>
> but this does't work.
>
> Greetings
> Viktor Keimes
>
>
>
> ---------------------------------------------------------------------
> This message is intended for the addressee or its representative only.
> Any
> form of unauthorized use, publication, reproduction, copying or
> disclosure
> of the content of this e-mail is not permitted. If you are not the
> intended
> recipient of this e-mail message and its contents, please notify the
> sender
> immediately and delete this message and all its attachments subsequently.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
hide.fo
hide2.fo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]