I used png but creating RTF and including that image in the header does not work. The same fo file work for creating pdf... I post you part of fo file:
<fo:layout-master-set> <fo:simple-page-master margin-bottom="0pt" margin-left="56.7pt" margin-right="56.7pt" master-reference="pm0" margin-top="60pt" master-name="pm0" page-height="841.9pt" page-width="595.3pt"> <fo:region-body margin-bottom="40pt" margin-top="45pt" region-name="xsl-region-body"/> <fo:region-before extent="45pt" overflow="visible" region-name="xsl-region-before"/> <fo:region-after extent="30pt" overflow="visible" region-name="xsl-region-after"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="pm0" > <fo:static-content flow-name="xsl-region-before" > <fo:block end-indent="0pt" orphans="2" start-indent="0pt" text-indent="0pt" widows="2"> <fo:external-graphic src="C:/jakarta-tomcat-5.5.7/webapps/admin_console/images/printHeader.png" /> </fo:block> <fo:block font-weight="bold" end-indent="0pt" line-height="3.7pt" orphans="2" space-after="20pt" space-before="20pt" start-indent="0pt" text-indent="0pt" widows="2"> <fo:inline color="black" font-size = "8pt" font-family = "sans-serif" > DETTAGLIO PROCEDIMENTO </fo:inline> </fo:block> <fo:block end-indent="0pt" line-height="5pt" orphans="2" start-indent="0pt" text-indent="0pt" widows="2"> <fo:inline color="black" font-size="8pt">__________________________________________________________________________________________________________</fo:inline> </fo:block> </fo:static-content> <fo:static-content flow-name="xsl-region-after" font="sans-serif"> <fo:block text-align="center"> <fo:inline font-size="7pt"> <fo:page-number /> </fo:inline> </fo:block> </fo:static-content> ---------- Initial Header ----------- >From : [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Thu, 26 Jan 2006 09:52:04 +0100 Subject : Re: problem with external-graphics > There was a note that said that GIF is not supported > > quote: RTF output currently doesn't support GIF images. Please convert > them to > PNG. > > This was a answer sent by Jeremias Maerki Subject: Re: problem with FOP > 0.9 and fo:external-graphics yesterday > > Maybe png does not work either ?? > > Jelka --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]