RE: [xep-support] what formats are supported on fo:external-graphic?

From: Kevin Brown <kevin@renderx.com>
Date: Fri Jul 25 2008 - 15:10:39 PDT

Jeff:

Thanks for the call into the office. For completeness for the xep-support
list, here is an example like we discussed. You can pick two PDFs (pdf1.pdf
and pdf2.pdf) and try it. The PDFs should be version 1.4 and (of course) the
first page in each PDF is used as the image (if they are multi-page). This
puts two PDF portrait pages side-by-side on a landscape page.

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:rx="http://www.renderx.com/XSL/Extensions">
        <fo:layout-master-set>
                <fo:simple-page-master margin-top="1in" margin-left="1in"
                        margin-bottom="1in" margin-right="1in"
                        page-width="11in" page-height="8.5in"
master-name="first">
                        <fo:region-body margin-top="0pt"/>
                        <fo:region-before extent="0pt"/>
                        <fo:region-after extent="0pt"/>
                </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="first">
        <fo:flow flow-name="xsl-region-body">
                <fo:block>
                        <fo:external-graphic src="url('pdf1.pdf')"
width="4.5in" content-width="scale-to-fit" scaling="uniform"/>
                        <fo:external-graphic src="url('pdf2.pdf')"
width="4.5in" content-width="scale-to-fit" scaling="uniform"/>
                </fo:block>
        </fo:flow>
        </fo:page-sequence>
        </fo:root>

RenderX Sales Support

-----Original Message-----
From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
On Behalf Of Jens Quade
Sent: Friday, July 25, 2008 2:09 PM
To: xep-support@renderx.com
Subject: Re: [xep-support] what formats are supported on
fo:external-graphic?

On 25.07.2008, at 22:23, Rosler, Jeff wrote:

> Hi All,
>
> Can someone RTFM me on this?
> I'm trying to figure out what graphic formats are supported for
> files specified in <fo:external-graphic/> by xep. More specifically,
> I'd like to specify a PDF file and have it get rendered as a graphic
> in the overall PDF, but this isn't working when I do it.

The XEP user guide says (in Appendix D, Supported Graphic Formats):

> PDF images are supported in PDF generator only. XEP embeds the first
> page of a PDF document as a vector image. All related resources
> (fonts, images, color profiles) are transferred to the output file.
> Annotations (text notes, hyperlinks, etc) are dropped.

The first sentence may explain why including PDF does not work in your
case.

jens

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/terms-of-service.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Fri Jul 25 16:05:41 2008

This archive was generated by hypermail 2.1.8 : Fri Jul 25 2008 - 16:05:47 PDT