W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2004

Re: instream/external pdf?

From: Martin R°pcke <mr@xosoftware.dk>
Date: Mon, 16 Feb 2004 11:29:55 +0100
Message-ID: <40309BA3.2060106@xosoftware.dk>
To: www-xsl-fo@w3.org
Cc: David Carlisle <davidc@nag.co.uk>

David Carlisle wrote:

>  I would like to add a pdf as e.g. instream-foreign-object or 
>  external-graphic, whichs support e.g. .svg and .jpg. Is this at all 
>  possible either with the given commands or in any other way? That is, I 
>  would like to add a .pdf e.g. as a footer to the .fo before I transform 
>  the .fo to .pdf.
>The FO language alows this (it is completely neutral as to the allowed
>external formats) but the exact list of supported formats depends on
>your FO processor, you dodn't say which system you are using.
I use javax.xml.transform.* and org.apache.fop.*.
This is how I include:

<xsl:template name="preport">
    <fo:block text-align="left">
        <xsl:variable name="filename" 
        <fo:external-graphic content-width="auto" width="auto" 

I have tried the same with:

<fo:instream-foreign-object content-width="auto" width="auto" 

Hope for more guidance.

Received on Monday, 16 February 2004 05:32:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:00 UTC