xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Swanil_R...@i2.com
Subject Re: FOP: external-grahicS
Date Tue, 04 Jun 2002 09:31:53 GMT
Hi Andre,
       Try defining it in the <fo:page-sequence>.  Your code within the 
fo:root should look something like below..
<fo:layout-master-set>
   <fo:simple-page-master master-name="Test" 
                               page-height="29.3cm" 
                               page-width="21cm"
                               margin-top="1cm" 
                               margin-bottom="2cm" 
                               margin-left="0.75cm" 
                               margin-right="0.75cm">
          <fo:region-body margin-top="3cm"/>
          <fo:region-before extent="5cm"/>
          <fo:region-after extent="1.5cm"/>
    </fo:simple-page-master>
 
</fo:layout-master-set>

<fo:page-sequence master-reference="Test">

   <fo:static-content flow-name="xsl-region-before">
   <fo:block>
     <fo:external-graphic src="file:/bild1.jpg"/>
   </fo:block>
   </fo:static-content>
   <fo:static-content flow-name="xsl-region-after">
   <fo:block>
     <fo:external-graphic src="file:/bild2.jpg"/>
   </fo:block>
   </fo:static-content>

   <fo:flow flow-name="xsl-region-body">
        <xsl:apply-templates/>
   </fo:flow>
</fo:page-sequence>

 Regards,
Roopa
 






"Andre Marthaler" <andre@m-zentrale.de>
06/04/02 02:38 PM
Please respond to fop-user

 
        To:     <fop-user@xml.apache.org>
        cc: 
        Subject:        FOP: external-grahicS


Hello,

i use FOP 0.20.3 under Linux and Win2k.

I have a Problem intregation External Pictures in "xsl-region-before" and 
in
"xsl-region-after"
i use an XML with an XSL File.
Here are my code:

 <fo:static-content flow-name="xsl-region-after">
  <fo:block>
                 <fo:external-graphic src="file:/bild1.jpg"/>
  </fo:block>
 </fo:static-content>

----------
I define both in the "simple-page-master", but everytime he say "Some 
static
content could not fit in the area."
I dont understand, why i can't integrate External Pictures in Before and
After.

Is this an burg or what??


André Marthaler
(Sorry for bad English :-) )





Mime
View raw message