Re: Page Overlay (IPO) Extension example

2009-10-02 Thread Venkat Reddy

Hi Adrian,

Thanks for your reply. I have got the sample working. I want to add the 
offset coordinates to the include-page-overlay definition, as Jeremias 
stated in other mail pointing to the same java file you mentioned. I am 
doing the code changes required in my local copy in order to position 
the page overlay at an offset given through the coordinates. Thanks once 
again for your input...


Venkat.
Adrian Cumiskey wrote:

Hi Venkat,

Currently afp:include-page-overlay / is only supported as a child of 
fo:simple-page-master master-name=simple as given in the example.  
You'll need to adjust 
org.apache.fop.render.afp.extensions.AFPPageSetupElement.startOfNode() 
to make this extension allowable in fo:page-sequencefo:flow.  Then 
test it out, see if the IPO finds its way into the AFP output, if not 
you'll have to trace through the execution.  Have fun :).


Adrian.

Venkat Reddy wrote:

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-sequencefo:flow?


Thanks,
Venkat.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org





-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org





-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Page Overlay (IPO) Extension example

2009-10-01 Thread Venkat Reddy

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-sequencefo:flow?


Thanks,
Venkat.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Page Overlay (IPO) Extension example

2009-10-01 Thread Adrian Cumiskey

Hi Venkat,

Currently afp:include-page-overlay / is only supported as a child of 
fo:simple-page-master master-name=simple as given in the example.  
You'll need to adjust 
org.apache.fop.render.afp.extensions.AFPPageSetupElement.startOfNode() 
to make this extension allowable in fo:page-sequencefo:flow.  Then 
test it out, see if the IPO finds its way into the AFP output, if not 
you'll have to trace through the execution.  Have fun :).


Adrian.

Venkat Reddy wrote:

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-sequencefo:flow?


Thanks,
Venkat.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org





-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



[Fwd: Page Overlay (IPO) Extension example]

2009-10-01 Thread Chris Bowditch

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:blockHello 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.ven...@googlemail.com
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org

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-sequencefo:flow?

Thanks,
Venkat.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org