Hello all,

I am working on an application that dynamically generates XSL:FO xml, from XHTML forms to produce PDF output. On certain large tables within a document I would like to change the page orientation from portrait to landscape, and then revert back to portrait after the table for subsequent pages. So ideally I would like to change the page orientation after a page break. Is this possible, and if so can someone be so kind as to provide an example?

I use the following to force a page break:

<fo:block break-before="page"/>

I have tried setting the reference-orientation attribute to 90 on the block-container surrounding the table like so:

<fo:block-container reference-orientation="0">
  <fo:table>
    ...
  </fo:table>
</fo:block-container>

but this results the table text being rotated, except it is squashed into a narrow block so all of the text overlaps and no table borders are drawn.

Any help is greatly appreciated.

Thanks,

Jason


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to