You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Lo...@log-net.com on 2006/01/19 13:25:42 UTC

Re: Display copyright at the last page of my PDF

You can stick it at the end of your body flow after all of your other 
processing.  For example:

<fo:page-sequence master-reference="generic" language="en" country="us">
        <fo:static-content flow-name="xsl-region-before">
                <!--header stuff here-->
        </fo:static-content>

        <fo:static-content flow-name="xsl-region-after">
                <!--footer stuff here-->
        </fo:static-content>

        <fo:flow flow-name="xsl-region-body">
                <!--body stuff here-->
                <xsl:call-template name = "copyright"/>
        </fo:flow>
</fo:page-sequence>


where the copyright template could look something like:

<xsl:template name="copyright">
        <fo:block font-size="8pt" text-align="center">
                <xsl:variable name="imgCopyURL">
                        <xsl:apply-templates select="logoCopyURL"/>
                </xsl:variable>
                <fo:external-graphic scaling="uniform" height="5mm" 
src="{$imgCopyURL}"/>
                <fo:basic-link color="black" 
external-destination="http://www.log-net.com">
                        Copyright &#169; 1993-2006 LOG-NET, INC. 
Confidential
                </fo:basic-link>
        </fo:block>
</xsl:template>

Ignore the link if you don't need it.

-Lou


vijay visu <vi...@yahoo.com> wrote on 01/19/2006 03:31:33:

> Hi 
> I want to display copyright at the last page of my PDF
> .. I tried using block container in XSL but that is not
> working.
> Please help me in this regard
> 
> 
> Thanks & Regards
> Vijay Viswanathan
> ________________________________________
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>