Technologies XML / XSL-FO / Référence / Extensions XSL de Compart / Attributs / display-hri
(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
Catégorie : Barcode-spezifisches Objet de mise en forme - cpfo:barcode
Description
Cet attribut affiche l’interprétation lisible par l’humain.
Valeurs : | yes, no |
Valeur initiale : | no |
Hérité : | no |
Exemple XSL-FO :
<fo:root>
<fo:layout-master-set>
<fo:simple-page-master master-name="DinA4" margin="10mm" page-width="100mm" page-height="70mm">
<fo:region-body region-name="xsl-region-body"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="DinA4">
<fo:flow flow-name="xsl-region-body" font-family="Arial" font-size="12pt">
<fo:block font-weight="bold" font-size="20pt" space-after="1cm" border-bottom="0.5pt solid black">
Code 128
</fo:block>
<fo:block>
<cpfo:barcode barcode-type="code128" check-digits="1" display-hri="yes" width="5cm" height="32pt">
0123456789
</cpfo:barcode>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>Dans la sortie :