Templates

PPresenter
Manual
Templates

options

The Template style-elements describe where the text is place in the screen. Portable Presenter currently has only one set of templates: the default set.

General Template Options

A percentage is a value between 0 and 1 or a string between '0%' and '100%'.
-place => [ [ left, top, width, height, string ], ... ] or
-place => [ left, top, width, height, string ]
-place is a list of regions where to put text in. The values for left, top, width, height are percentages relative to the actual screen-width or -height.

The percentages are relative to the area which is determined by the -defaultBounds defined by the selected decoration.

-footer => text
The text to be displayed as footer. If there is no footer-text defined, some decorations may still reserve screen-space for it. The text will be shown using the specifial directive that the formatter has defined for it. The Markup Formatter uses tag <FOOTER> (which can easily be redefined). You should not specify that tag yourself: it is automatically added for you.

-showTemplateOutlines => pixels
Mostly used for debugging template layouts. The size given is used as line-width.


Portable Presenter is written and maintained by Mark Overmeer. Copyright (C) 2000-2002, Free Software Foundation FSF.