xsl:fo - external graphic

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matthias

    xsl:fo - external graphic

    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:\tem p\test.jpg)" width="210mm"
    height="297mm"/>
    <fo:external-graphic src="url(c:\tem p\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
Working...