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="">
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block>
<fo:external-graphic src="">
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates/>
</fo:flow>
</fo:page-sequence>
Regards,
Roopa
"Andre Marthaler" <[EMAIL PROTECTED]>
06/04/02 02:38 PM
|
To: <[EMAIL PROTECTED]> 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=""> </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 :-) )