Technologies XML / XSL-FO / Référence / Attributs de XSL-FO / border-style
(Extrait de « XSL-FO ― Die Referenz » de 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
Section de la recommandation : 7.31.8
Catégorie : 7.31 Propriétés raccourcies
Description
Cet attribut définit un style uniforme pour les quatre bordures d’une zone (haut, gauche, bas et droite).
Valeurs
Aucun style n’est défini pour la bordure de la zone. | |
hidden | Cette valeur ne s’applique que si border-collapse vaut collapse. Elle remplace les styles des bordures des cellules fusionnées et ne trace aucune bordure à leur jonction. |
dotted | La bordure est affichée en pointillés. |
dashed | La bordure est affichée en tirets. |
double | La bordure est affichée par deux lignes continues. |
groove | La bordure est une ligne ombrée donnant l’impression d’une rainure. |
inset | La bordure est une ligne continue donnant l’impression que la zone délimitée est en creux. |
outset | La bordure est une ligne continue donnant l’impression que la zone délimitée est en relief. |
ridge | La bordure est une ligne ombrée donnant l’impression d’une saillie. |
solid | La bordure est affichée par une ligne continue. |
Valeur par défaut : Der Standardwert richtet sich nach den entsprechenden Voreinstellungen der jeweiligen Einzelattribute.
Version XSL-FO : 1.0
Autorisé dans :
<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> et <fo:title>
Prise en charge :
Niveau de conformité | Antenna House | FOP | RenderX XEP | Altsoft XML2PDF | Compart DocBridge |
Complet | O | O | O | O | O |
Exemple XSL-FO :
<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="297mm" page-width="210mm">
<fo:region-body margin="26mm 55mm 41mm
55mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="Inhalt-Seiten">
<fo:flow flow-name="xsl-region-body">
<fo:block width="100mm" text-align="center" border-color="#F38222" border-style="none" border-width="5pt">
border-style="none"
<fo:block text-align="center">
border-color="#F38222" border-width="5pt"
</fo:block>
</fo:block>
<fo:block width="100mm" text-align="center" border-color="#F38222" border-style="dotted" border-width="5pt" space-before="10pt">
border-style="dotted"
<fo:block text-align="center">
border-color="#F38222" border-width="5pt"
</fo:block>
</fo:block>
<fo:block width="100mm" text-align="center" border-color="#F38222" border-style="dashed" border-width="5pt" space-before="10pt">
border-style="dashed"
<fo:block text-align="center">
border-color="#F38222" border-width="5pt"
</fo:block>
</fo:block>
<fo:block width="100mm" text-align="center" border-color="#F38222" border-style="double" border-width="5pt" space-before="10pt">
border-style="double"
<fo:block text-align="center">
border-color="#F38222" border-width="5pt"
</fo:block>
</fo:block>
<fo:block width="100mm" text-align="center" border-color="#F38222" border-style="groove" border-width="5pt" space-before="10pt">
border-style="groove"
<fo:block text-align="center">
border-color="#F38222" border-width="5pt"
</fo:block>
</fo:block>
<fo:block width="100mm" text-align="center" border-color="#F38222" border-style="inset" border-width="5pt" space-before="10pt">
border-style="inset"
<fo:block text-align="center">
border-color="#F38222" border-width="5pt"
</fo:block>
</fo:block>
<fo:block width="100mm" text-align="center" border-color="#F38222" border-style="outset" border-width="5pt" space-before="10pt">
border-style="outset"
<fo:block text-align="center">
border-color="#F38222" border-width="5pt"
</fo:block>
</fo:block>
<fo:block width="100mm" text-align="center" border-color="#F38222" border-style="ridge" border-width="5pt" space-before="10pt">
border-style="ridge"
<fo:block text-align="center">
border-color="#F38222" border-width="5pt"
</fo:block>
</fo:block>
<fo:block width="100mm" text-align="center" border-color="#F38222" border-style="solid" border-width="5pt" space-before="10pt">
border-style="solid"
<fo:block text-align="center">
border-color="#F38222" border-width="5pt"
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>Dans la sortie :
Extrait de la recommandation du W3C :
Informations complémentaires en ligne sur
Description de la propriété dans la référence CSS « border-style »