treat-as-word-space
(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
Recommendationnummer: 7.17.7
Kategorie: 7.17 Character Properties
Beschreibung
Dieses Attribut legt in <fo:character> fest, ob das eingefügte Zeichen als Wortzwischenraum oder als normaler Buchstabe behandelt werden soll.
Werte
auto | Abhängig vom in Unicode bestimmten Verhalten wird das Zeichen als Wortabstand behandelt oder auch nicht. |
true | Die inline-progression-dimension (vorgegebene Breite eines inzeiligen Bereichs) des Zeichens wird, wie beim "word-spacing"-Attribut beschrieben, angepasst. |
false | Bei dem Zeichen ist keine Wortzwischenraum-Anpassung anzuwenden. |
Vererbt: | ja |
Standardwert: auto
XSL-FO Version: 1.0
Erlaubt in:
Dieses Element erzeugt die gesonderte Darstellung einzelner Zeichen. |
Unterstützung:
Conformance Level | Antenna House | FOP | RenderX XEP | Altsoft XML2PDF | Compart DocBridge |
Extended | N | N | N | J | N |
XSL-FO Beispiel:
|
<fo:root font-family="Arial" font-size="10pt" line-height="1.2em" 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"> |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
<fo:block> |
|
|
Text mit |
|
|
||
|
kleinem Zwischenraum als Wortabstand. |
|
|
</fo:block> |
|
|
<fo:block> |
|
|
Text mit |
|
|
||
|
n-Zwischenraum als Wortabstand. |
|
|
</fo:block> |
|
|
<fo:block> |
|
|
Text mit |
|
|
||
|
kleinem Zwischenraum als Wortabstand. |
|
|
</fo:block> |
|
|
<fo:block> |
|
|
Text mit |
|
|
||
|
n-Zwischenraum als Wortabstand. |
|
|
</fo:block> |
|
|
</fo:flow> |
|
|
||
|
</fo:root> |
In der Ausgabe:
Auszug aus der W3C recommendation:
Weitere Informationen online zu
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |