HTML Elements in PDF Output
A variety of html elements are now available for use in formating data in PDF reports created by APPX output processes.
HTML tags may be embedded within an ALPHA field or a TEXT field to specify how the field value is to be formated when printed.
The field must be added to the image with a widget type of LABEL or TEXT AREA.
The field value must begin with "<html>". The entire contents of the field will then be considered to be HTML text.
If no widget is specified or if a RAW TEXT widget type is specified, the contents of the field will be printed without formating.
The label value of a LABEL widget may contain HTML tags as a way of formating the label value when printed.
Standard APPX text formating within a TEXT field is compatible with html formating as follows:
- An APPX end-of-paragraph character ("¶" - xB6/182) has the same effect as a <br> element.
- An APPX required space character ("_" - x5F/95) has the same effect as a (no break space).
When an ALPHA field that contains end-of-paragraph characters ("¶") or underline characters ("_") is printed, these characters are not interpreted as text formating characters and are instead printed like any other characters regardless of whether the field contains HTML elements.
Supported Elements:
Top Level Elements:
Generic Block Level Elements:
-
- H1 - Level-one heading
- H2 - Level-two heading
-
H3 - Level-three heading
- H4 - Level-four heading
- H5 - Level-five heading
- H6 - Level-six heading
- P - Paragraph
-
PRE - Preformated text
Special Inline Elements:
-
-
-
-
SUB - Subscript
-
SUP - Superscript
Phrase Elements:
Font Style Elements:
- B - Bold text
- BIG - Big text
- I - Italic text
- SMALL - Small text
- TT - Teletype text
- U - Underlined text
font size="+n" where n = +1 thru +7
font color=#nnnnnn where #nnnnnn is a RGB hex value.
font color=name is not supported.
font size=1 thru 7
Comments:
Read what other users have said about this page or add your own comments.
--
AlKalter - 04 Apr 2008