This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes xsl:fo to PDF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsl:fo to PDF" Watch "xsl:fo to PDF" New topic
Author

xsl:fo to PDF

oLi Bou
Greenhorn

Joined: Jul 03, 2002
Posts: 23
hi,
while transforming an xsl:fo file into pdf, i'd like to know how to render my page in landscape in the pdf file.
In fact, i need to have my page in landscape and separated in two columns.
thanks.


--learn every day--
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
u have to set page master some thing like this


This will create a Landscape output with .5in margin on each edge.
For seperating in to two different columns,u have use tables.
Please refer this site to more about creating table.
http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html#d1e5381
currently in FOP processor u have specify the column width explicitly and specify column datas in fo block.
(not a big drawback)

or else u can try renderx but u have buy it.;)


Spritle Software Blogs
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: xsl:fo to PDF
 
Similar Threads
Create PDF in Landscape using ITextRenderer
Jasper report - Change Page Orientation
Excel renderer
Editable XML-PDF
XML