|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] inline within block within table-cell (scrunch or wrap
Hi XSL-ers,
I am getting significantly different outputs from the below FO sample when I process with XEP versus FOP. The difference occurs with the table-cell>block>inline portion. XEP will scrunch the text into one line, where FOP will let the line wrap. Which is incorrect... the FO, or if one of the processors? Thanks for your help, John --------- <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-width="297mm" page-height="210mm" margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm"> <fo:region-body margin="3cm"/> <fo:region-before extent="2cm"/> <fo:region-after extent="2cm"/> <fo:region-start extent="2cm"/> <fo:region-end extent="2cm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4" format="A"> <fo:flow flow-name="xsl-region-body"> <fo:block><fo:inline>What if I have a bunch of text? What if I have a bunch of text? What if I have a bunch of text? What if I have a bunch of text? What if I have a bunch of text?</fo:inline></fo:block> <fo:table table-layout="fixed" width="100%"
border-collapse="separate" space-before="5pt" font-size="10pt">
<fo:table-column column-number="1"
column-width="proportional-column-width(1)"/>
<fo:table-column column-number="2"
column-width="proportional-column-width(1)"/>
<fo:table-body>
<fo:table-row keep-together="always">
<fo:table-cell border=".25pt solid black"
padding-right="2pt" padding-left="2pt" padding-bottom="2pt"
padding-top="2pt">
<fo:block><fo:inline>What if I have a bunch
of text? What if I have a bunch of text? What if I have a bunch of
text? What if I have a bunch of text?</fo:inline></fo:block>
</fo:table-cell>
<fo:table-cell border=".25pt solid black"
padding-right="2pt" padding-left="2pt" padding-bottom="2pt"
padding-top="2pt">
<fo:block>What if I have a bunch of text?
What if I have a bunch of text? What if I have a bunch of text? What
if I have a bunch of text?</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table></fo:flow> </fo:page-sequence> </fo:root>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






