I'm having a problem formatting table cells where FOP wants to wrap lines
for every word in the cell, even though there is plenty of room for the
entire contents of the cell without line wrapping.

I'm building a fo:table as follows:

<fo-snippet>

<fo:block-container absolute-position='fixed'>
        <fo:block margin-top='340pt' margin-left='325pt' font-weight='bold'
font-size='12pt'>
                <xsl:value-of select='part/spec-data/caption'/>
        </fo:block>
</fo:block-container>

<fo:block-container absolute-position='fixed'>
        <fo:block margin-top='365pt' margin-left='160pt' text-align='left'>
                <fo:table>
                        <fo:table-column column-width='150pt'/>
                        <fo:table-column column-width='150pt'/>
                        <fo:table-body>
                                <xsl:for-each select="part/spec-data/row">
                                        <fo:table-row>
                                                <fo:table-cell>
                                                        <fo:block
font-size='8pt' font-weight='bold'>
        
<xsl:value-of select='table-header'/>:
                                                        </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell>
                                                        <fo:block
font-size='8pt'>
        
<xsl:value-of select='table-data'/>
                                                        </fo:block>
                                                </fo:table-cell>
                                        </fo:table-row>
                                </xsl:for-each>
                        </fo:table-body>
                </fo:table>
        </fo:block>
</fo:block-container>

</fo-snippet>

However, when I run fop on this table, I am getting the word wrapping (see
attachment for screenshot).  Can somebody tell me what I'm doing wrong here?

Thanks,
___________________________________________________
Brian Trezise
Staff Software Engineer
IntelliData, Inc
22288 E Princeton Dr
aurora, colorado 80018
T: 720.524.4864
[EMAIL PROTECTED]

<<attachment: screenshot.jpg>>

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

Reply via email to