[seam-dev] Wrapping lines in PDF

Sebastian Hennebrueder usenet at laliluna.de
Fri Apr 25 05:21:30 EDT 2008


Hello,

in the PDF a number of rows end in nowhere. I saw that fo is used to 
generate the PDF. The following configuration in the fo.xsl would wrap 
programlisting by the first space.

<xsl:param name="hyphenate.verbatim" select="0"></xsl:param>

<xsl:attribute-set name="monospace.verbatim.properties"
                    use-attribute-sets="verbatim.properties 
monospace.properties">
   <xsl:attribute name="wrap-option">wrap</xsl:attribute>
   <xsl:attribute name="hyphenation-character">-</xsl:attribute>
</xsl:attribute-set>

-- 
Best Regards / Viele Grüße

Sebastian Hennebrueder

-----
http://www.laliluna.de
Laliluna.de, Berliner Strasse 22, 61118 Bad Vilbel, Germany

* Java Software Development, Support
* Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB
* Seminars and education at reasonable prices



More information about the seam-dev mailing list