---+ 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._ %TOC% 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 &nbsp; (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: * <div class="TML">HTML - HTML document</div> ---+++ Generic Block Level Elements: * <div class="TML"> <div class="TML">CENTER - Centered block</div></div> * H1 - Level-one heading * H2 - Level-two heading * <div class="TML">H3 - Level-three heading </div> * H4 - Level-four heading * H5 - Level-five heading * H6 - Level-six heading * P - Paragraph * <div class="TML">PRE - Preformated text</div> <div></div> ---+++ Special Inline Elements: * <div class="TML"> <div class="TML">A - Anchor</div></div> * <div class="TML"> <div class="TML"> <div class="TML">BR - Line break</div></div></div> * <div class="TML"> <div class="TML"> <div class="TML">FONT - Font change</div></div></div> * <div class="TML">SUB - Subscript</div> * <div class="TML">SUP - Superscript</div> ---+++ Phrase Elements: * <div class="TML"> <div class="TML">EM - Emphasis</div></div> * <div class="TML"> <div class="TML">STRONG - Strong emphasis</div></div> ---+++ Font Style Elements: * B - Bold text * BIG - Big text * I - Italic text * SMALL - Small text * TT - Teletype text * U - Underlined text BIG - The enclosed text should be printed one size larger than the current font size. <BIG>...</BIG> is the same as <FONT SIZE="+1">...</FONT>. BIG tags can be nested in which case the inner text is one size larger than the outer text. SMALL - The enclosed text should be printed one size smaller than the current font size. <SMALL>...</SMALL> is the same as <FONT SIZE="-1">...</FONT>. SMALL tags can be nested in which case the intter text is one size smaller than the outer 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 ---++ Bugs: 1 Field with no widget defined attempts to print formated html text. Fields with no widget should not print formated html text. 1 Field with Raw Text widget attempts to print formated html text. Raw Text widgets should not print formated html text. 1 SMALL does not work. There is no noticeable difference in the size of the enclosed text. ---++ Comments: _Read what other users have said about this page or add your own comments._ --- %COMMENT% -- AlKalter - 04 Apr 2008
This topic: Main
>
APPX43Features
>
HTMLTagsInPDF
Topic revision: r7 - 2008-04-08 - SteveFrizzell
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback