W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2006

Antwort: Continuous page setting

From: Olaf Wentzien <olaf.wentzien@ppi.de>
Date: Thu, 21 Dec 2006 10:43:50 +0100
To: www-xsl-fo@w3.org
Message-ID: <OF26D02B8F.B791C2DC-ONC125724B.0034EA1E-C125724B.0035748E@ppinet.de>

Hi,


try to follow this link:

http://xmlgraphics.apache.org/fop/0.20.5/output.html#pdf


then proceed to chapter called 

Post-processing 

and follow the iText (http://www.lowagie.com/iText) link


There I found a Class PdfWriter (in Documentation API) which contains a 
Method called


public void setViewerPreferences(int preferences)
Sets the viewer preferences by ORing some constants. 
The page layout to be used when the document is opened (choose one). 
PageLayoutSinglePage - Display one page at a time. (default) 
PageLayoutOneColumn - Display the pages in one column. 
PageLayoutTwoColumnLeft - Display the pages in two columns, with 
oddnumbered pages on the left. 
PageLayoutTwoColumnRight - Display the pages in two columns, with 
oddnumbered pages on the right. 
PageLayoutTwoPageLeft - Display the pages two at a time, with oddnumbered 
pages on the left. 
PageLayoutTwoPageRight - Display the pages two at a time, with oddnumbered 
pages on the right. 




a.s.o.


Maybe that could help your problem

Regards Olaf
Received on Thursday, 21 December 2006 09:44:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:14 GMT