axf:overflow-replace

(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Category Overflow Extensions

An alternative character string for the specified overflow text.

Value:<string>
Initial:depends on system
Applies to:all block-level formatting objects
Inherited:yes
Percentages:N/A

When overflow="replace" is specified, the overflow text is replaced by repeating the specified string. The font shown by an alternative character string is decided to one font by the value of the script property or the typical script of its own. A complex character string cannot be specified.

XSL-FO sample:

<fo:root font-family="Arial Unicode MS" font-size="12pt" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">

The

overflow

property is used determine the behavior of Formatter when the contents of an area format to a size greater than the area's defined boundaries. Antenna House has extended the value of this property to the following values.

overflow="replace" allows for replacement of overflowing contents, similar to how spreadsheets replace number too large to display in cells with "*****". The string to replace the overflow with is defined as the value of the extension element axf:overflow-replace.

overflow="condense" allows the text to be condensed according to the value of the axf:overflow-condense extension property.

These extended values only apply to block-container and inline-container elements.

overflow="none" (default)

rubber baby buggy bumpers

overflow="replace" axf:overflow-replace="#"

rubber baby buggy bumpers

overflow="condense" axf:overflow-condense="font-size"

rubber baby buggy bumpers

Download der Beispiele

Output:

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: