xsl:fo - external graphic

Discussion in 'XML' started by Matthias, Apr 3, 2005.

  1. Matthias

    Matthias Guest

    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
     
    Matthias, Apr 3, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Johannes Koch
    Replies:
    0
    Views:
    1,689
    Johannes Koch
    Jul 29, 2003
  2. curwen
    Replies:
    2
    Views:
    504
    curwen
    Sep 16, 2003
  3. Replies:
    1
    Views:
    3,695
    A. Bolmarcich
    May 27, 2005
  4. zxcv
    Replies:
    0
    Views:
    1,365
  5. 50 SOMETHING GAL
    Replies:
    3
    Views:
    426
Loading...

Share This Page