XML-Technologien / XSL-FO / Referenz / Attribute in XSL-FO / border-after-width.conditionality
(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.8.12
Kategorie: 7.8 Common Border, Padding and Background Properties
Beschreibung
Mit diesem Attribut wird festgelegt, ob beim Umbrechen auf eine neue Seite ein unterer Rahmenteil erzeugt werden soll oder nicht. Der after-Bereich richtet sich nach der vorherrschenden Schreibrichtung. Bezogen auf die westliche Schreibrichtung (oben nach unten, links nach rechts) ist dieser unten. Falls eine andere Schreibrichtung vorliegt, könnte dies auch oben sein.
Werte
discard | Beim Umbrechen auf eine neue Seite wird an der Umbruchstelle kein unterer Rahmenteil erzeugt. |
retain | Beim Umbrechen auf eine neue Seite wird an der Umbruchstelle ein unterer Rahmenteil erzeugt. |
Standardwert: discard
XSL-FO Version: 1.0
Erlaubt in:
<fo:basic-link> , <fo:block> , <fo:block-container> , <fo:character> , <fo:external-graphic> , <fo:initial-property-set> , <fo:inline> , <fo:inline-container> , <fo:instream-foreign-object> , <fo:leader> , <fo:list-block> , <fo:list-item> , <fo:page-number> , <fo:page-number-citation> , <fo:page-number-citation-last> , <fo:region-after> , <fo:region-before> , <fo:region-body> , <fo:region-end> , <fo:region-start> , <fo:scaling-value-citation> , <fo:table> , <fo:table-and-caption> , <fo:table-body> , <fo:table-caption> , <fo:table-cell> , <fo:table-column> , <fo:table-footer> , <fo:table-header> , <fo:table-row> und <fo:title>
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="12pt" 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="100mm" page-width="80mm">
<fo:region-body margin="26mm 20mm 41mm
20mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="Inhalt-Seiten">
<fo:flow flow-name="xsl-region-body">
<fo:block border="solid 2pt
#F38222" width="100mm" text-align="center" border-after-color="green" border-after-style="dashed" border-after-width.conditionality="retain">
border-after-width.conditionality="retain"
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
</fo:block>
<fo:block border="solid 2pt
#F38222" width="100mm" text-align="center" border-after-color="green" border-after-style="dashed" border-after-width.conditionality="discard">
border-after-width.conditionality="discard"
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
<fo:block>
neue Zeile
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>In der Ausgabe:
Seite 2
Seite 3
Auszug aus der W3C recommendation: