You are on page 1of 6

P

tags
ortable DDocumentation
M L
ocument arkup anguage

a
author
b A word about size and dimension parameters:
body By default, all lengths and sizes are in points. You can override this by specifying a unit after the number.
br Currently recognized units are:
mm: millimeters
cell cm: centimeters
column in: inches
div pt: points. equivalent to not specifying a unit.
font %: percentage. For length, this is the percentage of the appropriate page dimension. For font size, this is
footer relative to the current font size.
head
header
i
img
keywords
line
multicell
page
pdml
rect
rotate
script
subject
title
u
entities
pagenumber
pagecount
title
author
subject
creator

PDML Reference Manual Page 1/6


See also: page,

P
cell ortable D ocument M L arkup anguage
tagsa single line of text that can have a border, background, position and alignment.<br> This is primarily used to build tables, by
Define
using the next parameter.<br> This element can be used anywhere within a body element, except insider a cell or a multicell
a
element.
author a
b Define a local anchor,
left: the distance between the
body container and the leftand/or
borderdefine
of theapage.
link.<br> This element
By default, can
use the be used
current anywhere
position in thewithin a body
document.
top: the distance between the element, except
container andinside
the topa border
multicellofelement.
the page. By default, use the current position in the document.
br the width of the container. By default, use the remainder of the space on the page.
width:
cell the height of the container. By default, use the remainder of the space on the page.
height: name: define a localthe
anchor
column
color: indicates a border is needed
href: and aspecify
define link color. Colors are encoded as 6 digits hexadecimal numbers such as "FC80C0" or
"#A03E8F"
div
fillcolor:
font specify a background color. By default, the background is transparent.
Example:
border: indicates the thickness <a of the border.
href="http://pdml.sf.net/">This is a URL link</a>
footer
next: right|bottom|break: define where the flow continuesisafter
<a href="#blah">This a the cell. link</a>
local
head
align: left|center|right <a name="blah" />This is a local anchor.
header
Example:
i See also:
hm. write me. See 3d example in the "examples" section.
img
keywords
See
line
also: div, multicell,
author
multicell Set an author for the document.<br> This element can be used directly under a head element.
column
page
pdmla multi-column layout.<br> This element can be used anywhere within a body element, except insider a cell or a multicell
Starts
element.
rect Example:
rotate <pdml>
<head>
script
left: the distance between the container and the
<author>John Q. left border of the page. By default, use the current position in the document.
Author</author>
top:subject
the distance between the container and the top border of the page. By default, use the current position in the document.
</head>
count:
title how many columns should ... show. By default, use 2 columns.
width:
u the width of one column. By default, use the remainder of the space on the page, divided by the number of columns
height: the height of each column. By default, use the remainder of the space on the page.
See also: subject, keywords,
entities
spacing: the vertical distance between 2 rows of columns. Only meaningful if break is set to 'line'.
break: page|line. if set to 'page', a new page starts everytime all columns are filled. if set to 'line', start a new row under the current
pagenumber
one.
pagecount b
title
Example: Renders text in bold.<br> This element can be used anywhere within a body element, except inside a
yes,
authoran example would be nice.
multicell See 3d example in the "examples" section.
element.
subject
See also:
creator
Example:
div Normal text, <b>Bold text, </b> More normal text.
Define a text container thatSee
canalso:
haveu,a i,border,
font, a background, a position and a size.<br> This element can be used anywhere within
a body element, except inside a multicell element.

body
left: the distance between the container and the left border of the page. By default, use the current position in the document.
top: the distance between the Indicates
containertheand
beginning
the top of the actual
border of thedocument rendering
page. By default, tags.<br>
use Thisposition
the current element in must be used once
the document.
under By
width: the width of the container. thedefault,
pdml element.
use the remainder of the space on the page.
height: the height of the container. By default, use the remainder of the space on the page.
color: indicates a border is needed and specify the color. Colors are encoded as 6 digits hexadecimal numbers such as "FC80C0" or
"#A03E8F" Example:
fillcolor: specify a background color. By default, the background is transparent.
<pdml>
border: indicates the thickness of the border.
<body>
Example: Text to render goes here.
<div top=30% left=30% </body>
width=40% height=40% color=#00FF00 border=2mm>
This is <b>right</b></pdml> in the <u>middle</u> of the page.<br>
Neat. See also: head,
</div>
See also: multicell,
br
font Insert a line break in the document.<br> This element can be used anywhere within a body element,
except inside a multicell element.
Specify a change of font family, color and/or size.<br> This element can be used anywhere within a body element, except inside a
multicell element. height: the length of the line break. By default, the size of the current font.
Example:
color: set the color of the font, using a 6 digit hexadecimal number.
Some text.<br />more details.]
face: set the family of the font [XXX: Thison
needs
More text the next line.
size: set the font size. <br height="3cm" />
Example: Some more text, 3 centimeters below.
default size. <font size=%200>This is twice as big.</font>

PDML Reference Manual Page 2/6


P ortable D ocument
tagssize=8pt>This is
<font
M L
arkup anguage
8pt. <font size=4cm>This is a 4cm-tall font.
</font>This is a 8pt font again.</font>
a <font face=Courier>This is courier<font face=Arial>
author This is arial</font> courier again</font>
b <font color="#ff0000">red, </font>
<font color="#00ff00">green, </font>
body <font color="#0000ff">blue.</font>
br
cell See also: b, u, i,
column
div
font footer
footer This element, like <a href=#header>header</a>, is processed unusually. Instead of being rendered
head directly, the content of this element is kept until the bottom of a page is reached. At this point, anything
within the footer element gets rendered.
header
i
img
Example:
keywords <body>
line <footer>
multicell <multicell top=98% align=right>
page Page &pagenumber;/6</multicell>
pdml </footer>
<page />
rect <page />
rotate <page />
script <footer>
subject <div top=98% left=40%>I am the last footer.</div>
title </footer>
</body>
u
entities See also: header, page,
pagenumber
pagecount
title
head
Indicates a section of the document that doesn't directly impact its rendering.<br> This element can be
author used once under the pdml element.
subject
creator
Example:
<pdml>
<head>
<author>John Q. T. Author.</author>
<title>PDML Considered Harmful</title>
</head>
<body>
...
</body>
</pdml>
See also: body,

header
This element, like <a href=#footer>footer</a>, is processed unusually. Instead of being rendered directly,
the content of this element is kept until a new page starts. At this point, anything within the header
element gets rendered.

Example:
<body>
<header>
<font face=Courier size=25pt color="#00ff5c">
<multicell align=center>Header Thingy.</multicell>
</font>
</header>
<page />
<page />
<page />
</body>
See also: footer, page,

PDML Reference Manual Page 3/6


P
tags
i
ortable D ocument M L arkup anguage

a Renders text in italic.<br> This element can be used anywhere within a body element, except inside a
author multicell element.
b
body
br Example:
cell Normal text ,<i>Italic text, </b>More normal text.
column
See also: b, u,
div
font
footer
head
img
write me
header
i
img
Example:
keywords
line
multicell See also:
page
pdml
rect keywords
rotate write me
script
subject
title Example:
u
entities See also:
pagenumber
pagecount
title
line
author write me
subject
creator
Example:

See also:

multicell
write me

Example:

See also:

page
write me

Example:

See also:

pdml
write me

Example:

PDML Reference Manual Page 4/6


P
See
ortable
also:
tags
D ocument M L arkup anguage

a
author rect
b write me
body
br
cell Example:
column
div
font See also:
footer
head
header
rotate
i write me
img
keywords
line Example:
multicell
page See also:
pdml
rect
rotate script
script write me
subject
title
u Example:
entities
pagenumber See also:
pagecount
title
author subject
subject write me
creator
Example:

See also:

title
write me

Example:

See also:

u
Renders text with an underline.<br> This element can be used anywhere within a body element, except
inside a multicell element.

Example:
Normal text ,<u>Underlined text, </u>More normal text.
See also: b, i,

pagenumber
write me

PDML Reference Manual Page 5/6


P ortable
Example:
tags
D ocument M L arkup anguage

a
author See also:
b
body
br
pagecount
cell write me
column
div
font Example:
footer
head See also:
header
i
img title
keywords Expands into the document title as specified in the <TITLE> tag. This element can be used anywhere
line within a body element.
multicell
page
pdml Example:
rect <header><multicell align="center">&title;</multicell></header>
rotate See also: title,
script
subject
title author
u Expands into the document author as specified in the <AUTHOR> tag. This element can be used
entities anywhere within a body element.
pagenumber
pagecount
Example:
title <header><multicell align="center">&author;</multicell></header>
author
subject See also: author,
creator
subject
Expands into the document subject as specified in the <SUBJECT> tag. This element can be used
anywhere within a body element.

Example:
<header><multicell align="center">&subject;</multicell></header>
See also: subject,

creator
Expands into the document creator as specified in the <CREATOR> tag. This element can be used
anywhere within a body element.

Example:
<header><multicell align="center">&creator;</multicell></header>
See also: creator,

PDML Reference Manual Page 6/6