Here is the FOP FAQ regarding cells overflowing in a table.

http://xmlgraphics.apache.org/fop/faq.html#cells-overflow

I haven't tried squeezing characters (not in the above FAQ), but I have
written a template to insert zero-length characters:

<xsl:template name="insert-zero-width-spaces">
<xsl:param name="text" select="."/>
<xsl:param name="i" select="1"/>
<xsl:choose>
<xsl:when test='$i>=string-length($text)'>
<xsl:value-of select="$text"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="insert-zero-width-spaces">
<xsl:with-param name="text"
select="concat(substring($text,1,$i),'&#x200B;',substring($text,$i+1,str
ing-length($text)-$i))"/>
<xsl:with-param name="i" select="$i+2"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

This results in wrapping.  I haven't yet tried wrapping using
hyphenation, though hyphenation would be more desirable.

Best Regards,
Jonathan S. Levinson


-----Original Message-----
From: samea [mailto:[email protected]] 
Sent: Monday, September 14, 2009 10:53 AM
To: [email protected]
Subject: inline-progression-dimension / block-progression-dimension
maybe doesn't work


Hello,

I tried to squize some characters if the content is to much for the
table-cell.
I have seem a sample at zvon.org
http://www.zvon.org/HowTo/Data/xslfoTests/results/recarea8.pdf.
If I use the script with the FOP 0.95 it doesn' t work.

What's wrong here?
Thanks for you help.

br

Makrus
-- 
View this message in context:
http://www.nabble.com/inline-progression-dimension---block-progression-d
imension-maybe-doesn%27t-work-tp25437260p25437260.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to