Hi,
Can someone guide me in using the following AFP extension 'Page Segment'?
I have following FO document extracted from one of the FOP mailing list.
When I ran this example, I couldn't find anything on the AFP document. I
thought the
page will be segmented based on the given resource.
Example:-
<?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="C:\mywork\JavaXSLTSamples\XSLFOSamples\fop.jpeg"/>
<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="C:\mywork\JavaXSLTSamples\XSLFOSamples\fop.jpeg"
width="160 div 2400 * 10in" height="192 div 2400 * 10in"/>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
I am just learning these extensions, trying out the page segment example
from one of the mails.
Thanks,
Venkat.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]