Download XMLPDF Manual

Transcript
XMLPDF 5.5.7 Programmers Guide
26.23
November 2006
26: Reference
<info>
Summary of attributes
Attribute
Description
field
The field to insert into the document. Current valid
values are 'version' to insert the current XMLPDF
version and 'date' to insert the date.
flags
When field='date', this can be used to specifiy the date
format. This can be any value specified for the
java.text.SimpleDateFormat class. See examples
below.
This element is replaced in the PDF file by the field specified.
Examples of date formatting are:
26.24
Field
Flags
Result
date
yyyy.MM.dd G 'at' hh:mm:ss z
2003.05.29 G at 11:44:20 +12
date
EEE, MMM d, ''yy
EEE, May 29, 03
date
h:mm a
11:44 a
date
hh 'o''clock' a, zzzz
11 oclock a, +12:00
date
K:mm a, z
K:44 a, +12
<link>
Summary of attributes
Attribute
Description
url
Specifies the URL this link points to. This can be
either a hyperlink such as 'http://www.xmlpdf.com' or a
mailto link such as 'mailto:[email protected]'
The link element is used to insert a hyperlink into the PDF document. When the
user clicks on the link their browser will be launched and will go to the specified
url.
Click on the www.xmlpdf.com link at the bottom left of this page to see how this
works.
The link element contains text which appears in the document. This text is
independent of the url attribute. For example the link at the bottom of this page
is created with the following XML:
<link url='http://www.xmlpdf.com'>
www.xmlpdf.com
</link>
26.25
<merge>
Summary of attributes
Attribute
Description
source-element-name
Specifies the name of the element to be merged from
the data XML.
This element is used to include an element from the data XML into the PDF
document.
The value of the source-element-name attribute must match the name of a
<source-element> element in the data XML.
www.xmlpdf.com
xmlpdf user manual page 89 of 101