Hi, I am able to generate AFP file with Page Segment. But, when i view generated document, i dont get to see the image in it. This could be because the viewer doesn't have resource file.
So, i am trying to create a resource file with reffered images in it while creating AFP using below configuration. Which i am then planning to use within AFP viewer while opening document. But, i dont see a resource file being created. Also tried creating an empty resource file, thinking it will get updated as we run fop, but it dint happen. I am using FOP V2.1 Below are my FO file, <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:afp="http://xmlgraphics.apache.org/fop/extensions/afp"> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-height="29.7cm" page-width="21cm" margin="2cm"> <afp:include-page-segment name="s1islogo" src="file:C://Users//utt281//git//FOP-Composition-Engine//Input//C1_Core_G_CMYK_R.tif"/> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4"> <fo:flow flow-name="xsl-region-body"> <fo:block> <fo:external-graphic src="file:C://Users//utt281//git//FOP-Composition-Engine//Input//C1_Core_G_CMYK_R.tif" width="160 div 2400 * 10in" height="192 div 2400 * 10in"/> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> Below is my AFP config, <renderer mime="application/x-afp"> <images mode="color" native="true"/> <renderer-resolution>400</renderer-resolution> <resource-group-file>resources.afp</resource-group-file> <default-resource-levels goca="print-file" bitmap="inline"/> <renderer-resolution>240</renderer-resolution> ....... I am missing anything? Regards, Vikas -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Question-on-Page-Segment-tp44596.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org