I am setting a column-count to 2 in my simple-page-master.
I am using xsl-fo to generate the pdf, the text now splits into two columns perfectly.
However, I am now with a new issue caused by this, it also splits the tables into two columns, which I don’t want to, I want to leave the table as it is and only split the text.
Here is the complete fo file:
http://pastebin.com/Z7Nkm279
The column count is set to “2” in layout-master-set.
Could any experts offer some suggestions? Thanks!
You can let your XSLT stylesheet wrap tables in
<fo:block>elements that havespan="all"set:This will make the table span all the columns of a multi-column region (provided that the
<fo:block>is a direct child of<fo:flow>). Reference: http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#span.