Annotations

Top Previous Topic Next Topic  Print this topic

Annotations in XF Rendering Server 2013 are used to perform certain PDF specific tasks. They are specified as children of the fo:root node and are referenced by objects in XSL-FO using annotation references.

 

Annotations are declared using the xf:annotation tag. An annotation can be identified by its id trait, which is an integer number. Elements in XSL-FO can reference it by using the xf:annotation-reference attribute. When an element references an annotation, the properties specified in the annotation will be applied to the element.

 

One or more properties may be specified on an annotation as child elements:

 

·xf:optional-content - specifies content that should be skipped when printing the PDF document
·xf:signature - specifies which content represents the PDF document signature
·xf:javascript - add JavaScript code to execute when opening the PDF document