[Fwd: Page Overlay (IPO) Extension example]

View: New views
1 Messages — Rating Filter:   Alert me  

[Fwd: Page Overlay (IPO) Extension example]

by cbowditch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Venkat,

The example on the website is everything you need. The element
<afp:include-page-overlay> creates a reference to a named page overlay
which the device drawing the AFP (Printer or Viewer Program) will search
it's resources directory for. You don't need to add any additional
elements under fo:page-sequence. Here is a hello World XSL-FO using the
sample on the website:

<fo:root>
<fo:layout-master-set>
    <fo:simple-page-master master-name="simple">
        <afp:include-page-overlay name="O1SAMP1 " />
    </fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simple">
   <fo:flow flow-name="xsl-region-body">
     <fo:block>Hello World</fo:block>
   </fo:flow>
</fo:page-sequence>
</fo:root>

Using this XSL-FO FOP will create an AFP File that references the page
overlay file O1SAMP1.

Thanks,

Chris

-------- Original Message --------
Subject: Page Overlay (IPO) Extension example
Date: Thu, 01 Oct 2009 13:43:33 +0100
From: Venkat Reddy <vanukuri.venkat@...>
Reply-To: fop-users@...
To: fop-users@...

Hi,

Can some one provide me a basic Page Overlay (IPO) Extension example FO
file?

I have gone through the AFP extensions


http://xmlgraphics.apache.org/fop/trunk/output.html#afp-page-overlay

<fo:layout-master-set>
    <fo:simple-page-master master-name="simple">
        <afp:include-page-overlay name="O1SAMP1 " /> ...
    </fo:simple-page-master>
</fo:layout-master-set>

This defines a page overlay, but how to invoke this overlay in
<fo:page-sequence><fo:flow>?

Thanks,
Venkat.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...