Difference: HTMLTagsInPDF (5 vs. 6)

Revision 62008-04-08 - SteveFrizzell

Line: 1 to 1
 
META TOPICPARENT name="APPX43Features"
Changed:
<
<

HTML Tags in PDF Output

>
>

HTML Elements in PDF Output

 
Changed:
<
<
A variety of html tags are now available for use in APPX PDF output processes.
>
>
A variety of html elements are now available for use in formating data in PDF reports created by APPX output processes.
 
Line: 11 to 11
  The field must be added to the image with a widget type of LABEL or TEXT AREA.
Changed:
<
<
The field must begin with "<html>".  The entire contents of the field will then be considered to be HTML text.
>
>
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.

Changed:
<
<

Supported Tags:

  • <html>...</html>
  • <b>...</b> Bold text
  • <em>...</em> Emphasis
    <strong>...</strong> Strong emphasis
  • <i>...</i> Italic text
  • <u>...</u> Underlined text
  • <p>...</p> Paragraph
  • <br> Line break
  • <pre>...</pre> Preformated text
  • <center>...</center> Centered block
  • <tt>...</tt> Teletype text
  • <h1>...</h1>   Level-one heading
  • <h2>...</h2>   Level-two heading
  • <h3>...</h3>   Level-three heading
  • <h4>...</h4>   Level-four heading
  • <h5>...</h5>   Level-five heading
  • <h6>...</h6>   Level-six heading
  • <font size=nn color=xxx>...</font> Font change
  • <big>...</big> Large text
  • <small>...</small> Small text
  • <sub>...</sub> Subscript
  • <sup>...</sup> Superscript
  • <a href=url>text</a> Anchor
>
>
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:

  • HTML - HTML document

Generic Block Level Elements:

  • CENTER - Centered block
  • 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:

  • A - Anchor
  • BR - Line break
  • FONT - Font change
  • SUB - Subscript
  • SUP - Superscript

Phrase Elements:

  • EM - Emphasis
  • STRONG - Strong emphasis

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
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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