<axf:space-after-punctuation>
(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 Extension for European Rule
Specifies the amount of space after the punctuation.
XSL-FO sample:
| <fo:root 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"> | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| Formatter has extensions to customize the spacing around punctuation. These are used mostly for documents in European languages. | |
| </fo:block> | |
| ||
| The following code has been added as a child of the fo:declarations element: <axf:space-after-punctuation code="." space="2in" language="en"/> | |
| </fo:block> | |
| ||
| This block has the property language="en". This will cause the spacing extension to be applied and there will be 2 inches of space after the periods. The first block does not have language property so the extension isn't applied. | |
| </fo:block> | |
| </fo:flow> | |
| ||
| </fo:root> |
Output:
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |