XML-Technologien / XSL-FO / Referenz / Attribute in XSL-FO / provisional-label-separation
(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.30.11
Kategorie: 7.30 Miscellaneous Properties
Beschreibung
Im Element <fo:list-block> lässt sich hier ein Abstand angeben, der zwischen dem Ende des Labels und dem Beginn des Rumpfes eines Listenelements eingehalten werden soll.
Werte
Längenangabe | Eine Längenangabe bestehend aus einer Zahl und der Maßeinheit. Übliche Maßeinheiten sind mm, pt, px, cm und pc. |
Vererbt: | ja |
Standardwert: 6.0pt
XSL-FO Version: 1.0
Erlaubt in:
Dieses Element erzeugt einen Bereich zur Darstellung einer Liste bzw. Aufzählung. |
Unterstützung:
Conformance Level | Antenna House | FOP | RenderX XEP | Altsoft XML2PDF | Compart DocBridge |
Basic | J | J | J | J | J |
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:layout-master-set>
<fo:simple-page-master master-name="Inhalt-Seiten" margin="0mm 0mm 0mm
0mm" page-height="150mm" page-width="148mm">
<fo:region-body margin="10mm 15mm 10mm
25mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="Inhalt-Seiten" font-size="10pt">
<fo:flow flow-name="xsl-region-body">
<fo:list-block provisional-label-separation="10pt" provisional-distance-between-starts="40pt">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block background-color="#FFFFAF">
Label
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block background-color="#DDDDDD">
Bodytext
Bodytext Bodytext Bodytext Bodytext Bodytext Bodytext Bodytext Bodytext Bodytext
Bodytext Bodytext Bodytext Bodytext Bodytext Bodytext Bodytext Bodytext
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:flow>
</fo:page-sequence>
</fo:root>In der Ausgabe:
Auszug aus der W3C recommendation: