David,
It's hard to diagnose your problem given the information you provide,
especially since the behavior you say you want is what should
ordinarily happen by default in a conformant FO processor.
I'd start by stripping the FO code down to the bare minimum and
building it back up again step by step.
In particular, I don't like the look of the fo:block-container
element in the code you show. It doesn't appear to do anything useful
(you could set the font size on the block inside it or on the
table-cell as a whole), while it could be messing things up ... for
example, in just the way you describe.
Another thing to look into is the effect of setting the height on the
table-row explicitly, and whether this is necessary. It seems odd to
set the height if you want the row to adjust itself. Ordinarily I
wouldn't expect this to result in what you are getting. But the idea
is to reduce the number of unknowns as much as possible, ideally to zero.
Good luck,
Wendell
At 10:09 AM 11/30/2010, you wrote:
I have a two column variable table that I need to grow the field when the
data reaches the end of the column. Currently, it just continues on to the
next column vs. wrapping around to the next line and growing the row
width. So, the text in the first column continues on and overwrites the data
in the second column.
This is running on an IBM FOP engine and this is the code that generates the
output. Is it possible to wrap the overflow to the next line?
Any help is greatly appreciated.
<xsl:for-each select="ClinicalData/Assessment/AssessmentGoals">
<fo:table-row height="0.144in">
<fo:table-cell display-align="after" padding-left="0.050in">
fo:block-container font-size="7.00pt">
<fo:block start-indent="0pt">
<xsl:value-of select="@g_desc"/>
</fo:block>
</fo:block-container>
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--