XML-Technologien / XSL-FO / Referenz / Compart XSL Extensions / Attribute / annotation-type

(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

Kategorie: Erweiterte Eigenschaften für FO-Elemente - cpfo:annotation-type

Beschreibung

Attribut gibt den Typ der Annotation an, die für das Objekt erstellt wurde.

Werte:

none

text

Text-Annotation

freetext

Freitext-Annotation

stamp

Stempel-Annotation

file-attachment

Annotation als Dateianhang

Initial:

none

Vererbt:

no

Element:

fo:block

XSL-FO Beispiel:

<fo:root>
<fo:layout-master-set>
<fo:simple-page-master page-width="148.0mm" page-height="210.0mm" master-name="even-page">
<fo:region-body margin-top="10.0mm" margin-right="20.0mm" margin-bottom="10.0mm" margin-left="25.0mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="even-page">
<fo:flow flow-name="xsl-region-body">
<fo:block cpfo:annotation-position-horizontal="0mm" cpfo:annotation-position-vertical="0mm" cpfo:annotation-type="text" cpfo:annotation-title="note" cpfo:annotation-icon-name="note" cpfo:annotation-color="#ffff00" cpfo:annotation-contents="Kommentar">
eirmod tempor invidunt
</fo:block>
<fo:block cpfo:annotation-position-horizontal="0mm" cpfo:annotation-position-vertical="0mm" cpfo:annotation-type="text" cpfo:annotation-title="comment" cpfo:annotation-icon-name="comment" cpfo:annotation-color="#ffff00" cpfo:annotation-contents="Kommentar">
eirmod tempor invidunt
</fo:block>
<fo:block cpfo:annotation-position-horizontal="0mm" cpfo:annotation-position-vertical="0mm" cpfo:annotation-type="text" cpfo:annotation-title="key" cpfo:annotation-icon-name="key" cpfo:annotation-color="#ffff00" cpfo:annotation-contents="Kommentar">
eirmod tempor invidunt
</fo:block>
<fo:block cpfo:annotation-position-horizontal="0mm" cpfo:annotation-position-vertical="0mm" cpfo:annotation-type="text" cpfo:annotation-title="help" cpfo:annotation-icon-name="help" cpfo:annotation-color="#ffff00" cpfo:annotation-contents="Kommentar">
eirmod tempor invidunt
</fo:block>
<fo:block cpfo:annotation-position-horizontal="0mm" cpfo:annotation-position-vertical="0mm" cpfo:annotation-type="text" cpfo:annotation-title="paragraph" cpfo:annotation-icon-name="paragraph" cpfo:annotation-color="#ffff00" cpfo:annotation-contents="Kommentar">
eirmod tempor invidunt
</fo:block>
<fo:block cpfo:annotation-position-horizontal="0mm" cpfo:annotation-position-vertical="0mm" cpfo:annotation-type="text" cpfo:annotation-title="new-paragraph" cpfo:annotation-icon-name="new-paragraph" cpfo:annotation-color="#ffff00" cpfo:annotation-contents="Kommentar">
eirmod tempor invidunt
</fo:block>
<fo:block cpfo:annotation-position-horizontal="0mm" cpfo:annotation-position-vertical="0mm" cpfo:annotation-type="text" cpfo:annotation-title="insert" cpfo:annotation-icon-name="insert" cpfo:annotation-color="#ffff00" cpfo:annotation-contents="Kommentar">
eirmod tempor invidunt
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>

Download der Beispiele

In der Ausgabe:

nach oben