xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vghegadi <vgheg...@yahoo.com>
Subject Question on Page Segment
Date Tue, 01 Nov 2016 15:41:51 GMT

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

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"
    <fo:simple-page-master master-name="A4" page-height="29.7cm"
page-width="21cm" margin="2cm">
      <afp:include-page-segment name="s1islogo"
  <fo:page-sequence master-reference="A4">
    <fo:flow flow-name="xsl-region-body">
          width="160 div 2400 * 10in" height="192 div 2400 * 10in"/>

Below is my AFP config,

    <renderer mime="application/x-afp">
		<images mode="color" native="true"/>
		<default-resource-levels goca="print-file" bitmap="inline"/>	  

I am missing anything?


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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message