AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML Technics

Extensions

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  The long word breaks in the point that is not end of line. [No.2005062401]
A. 

Usually, the line breaking depends on Unicode Line Breaking Properties. Therefore, when a long word overflows, the line breaks at the character position where is is possible.

In the case as follows:

XMLandXSL-FOtoPDFwithHighQualitySVG,MathMLandMultilingualSupportforover50Languageshttp://192.168.000.123/1234567890-1234567890-1234567890-0000000000-1234567890-aquickbrownfoxjumpsoverthelazydog.aquickbrownfoxjumpsoverthelazydog.aquickbrownfoxjumpsoverthelazydog.aquickbrownfoxjumpsoverthelazydog.

The result (If the width of the line is different, you might see a different result.) :

XMLandXSLFOtoPDFwithHighQualitySVG,
MathMLandMultilingualSupportforover50Lan
guageshttp://
192.168.000.123/1234567890-1234567890-1234567890-0000000000-1234567
890-
aquickbrownfoxjumpsoverthelazydog.aquickbrownfoxjumpsoverthelazydog.aq
uickbrownfoxjumpsoverthelazydog.aquickbrownfoxjumpsoverthelazydog.

You can use axf:word-break="break-all" with XSL Formatter V3.3. By using this, the line breaks between all characters in the word. Please see the Online Manual [Extensions]-[Line Breaking] for detail.


Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.