On 09/06/2012 12:03 PM, Samuel Penn wrote:
The general layout of the documents themselves isn't particulary exciting. There's a lot I'd like to be able to do, especially around image and table layout (auto-placement of images, and stretching them across two text columns etc), which doesn't yet seem to be possible in FOP.
span="all" doesn't work? You would of course have to split the page into before, body and after regions and place some of the content in the erstwhile head and footer. Alternatively a trick VH showed me is to print content twice covering 200% of the available width and use left/right indent at 0% and -100% alternately. This is how I print tables across two pages.

   <fo:table border-collapse="separate" table-layout="fixed" width="200%"
                          start-indent="{$leftIndent}%"
   end-indent="{$rightIndent}%">

There's an example document here: http://yags.glendale.org.uk/download/yags-character.pdf Which is built from the source XML files here: http://yagsbook.svn.sourceforge.net/viewvc/yagsbook/trunk/sources/yags/

Reply via email to