[xep-support] inserting pdf documents

Charles Porter charles.b.porter at rrd.com
Tue Jul 21 09:32:27 PDT 2015


Hello,

I'm exploring ways to insert up to two pdf documents in a row before a
specific flow in the document.  Using @rx:insert-document works great for
inserting a single document.  The only way I've found to insert two
documents in a row, is to create a empty fo:page-sequence and set
@rx:insert-document on that.

So if I want to insert two documents before the page-sequence using
master-reference="seq1",
I create the page-sequence with master-reference="ins1" and
rx:insert-document (no content in the flow), then create page-sequence with
master-reference="seq1" and rx-insert-document.

<fo:page-sequence master-reference="ins1"
rx:insert-document="url(some_url)">
    <fo:flow flow-name="xsl-region-body"><fo:block/></fo:flow>
</fo:page-sequence>
<fo:page-sequence master-reference="seq1"
rx:insert-document="url(some_other_url)">
    <fo:static-content flow-name="xsl-region-before">
    ...

If I do it this way, I wind up with a blank page between the first inserted
document and the second inserted document.  Is there a way that I can do
this and not have the blank page between the two?

Thanks in advance.
________________________________________________________________________
*Charles B. Porter* | Technical Analyst, Customer Facing Systems | RR
Donnelley
655 Brighton Beach Rd | Menasha, WI 54952
*Office*: 920.751.7612 |* Mobile*: 920.450.3480 | *Fax*: 920.751.7686
charles.b.porter at rrd.com
http://www.rrdonnelley.com <http://rrdonnelley.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20150721/19028363/attachment.html>


More information about the Xep-support mailing list