xsl:fo - external graphic

M

Matthias

Hi,

I am trying to render 2 A4 Jpgs on one A3 page.

I imagined this should work like this:

<fo:flow flow-name="xsl-region-body">
<fo:block>
<fo:external-graphic src="url(c:\temp\test.jpg)" width="210mm"
height="297mm"/>
<fo:external-graphic src="url(c:\temp\test.jpg)" width="210mm"
height="297mm"/>
</fo:block>
</fo:flow>

But this does not fit on one page, although an A3 page is defined with
a width of 420mm as you can see in the page master definition:

<fo:simple-page-master master-name="A3"
page-width="420mm" page-height="297mm"
margin-top="0.0in" margin-bottom="0.0in"
margin-left="0.0in" margin-right="0.0in">
<fo:region-body/>
</fo:simple-page-master>

I am using the current version of fop.

thx,
Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top