Difference: HTMLTagsInPDF (20 vs. 21)

Revision 212012-04-05 - BredaHennessy

Line: 1 to 1
 
META TOPICPARENT name="APPX500Features"
Deleted:
<
<
 

HTML Elements in PDF Output

Changed:
<
<
Effective with Release 5.0.0, a variety of html elements are now available for use in formating text within individual data fields in PDF reports created by APPX output processes.
>
>
Effective with Release 5.0.0, a variety of html elements are now available for use in formatting text within individual data fields in PDF reports created by APPX output processes.
 
Changed:
<
<
When designing an APPX output process, the APPX image editor allows for the specification of GUI attributes for each field. These GUI attributes apply to the entire field. However, occassionally, it is desirable to provide a finer level of control over the formating of the contents of a field. For example, it might be desirable to print an individual word or phrase within a field with a bold typeface. HTML tags provide the capability to format individual words or phrases within a field.
>
>
When designing an APPX output process, the APPX image editor allows for the specification of GUI attributes for each field. These GUI attributes apply to the entire field. However, occasionally, it is desirable to provide a finer level of control over the formatting of the contents of a field. For example, it might be desirable to print an individual word or phrase within a field with a bold typeface. HTML tags provide the capability to format individual words or phrases within a field.
 
Changed:
<
<
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.
>
>
HTML tags may be embedded within an ALPHA field or a TEXT field to specify how the field value is to be formatted when printed.
  The field must be added to the image with a widget type of LABEL or TEXT AREA.
Line: 17 to 16
  HTML tags are not case sensitive. They may be entered as upper case or lower case.
Changed:
<
<
If no widget is specified or if a RAW TEXT widget type is specified, the contents of the field will be printed without formating. A RAW TEXT widget type can be used to print the unformated field value including any html tags.
>
>
If no widget is specified or if a RAW TEXT widget type is specified, the contents of the field will be printed without formatting. A RAW TEXT widget type can be used to print the unformatted field value including any html tags.
 
Changed:
<
<
The label value of a LABEL widget may contain HTML tags as a way of formating the label value when printed.
>
>
The label value of a LABEL widget may contain HTML tags as a way of formatting the label value when printed.
 
Changed:
<
<
Standard APPX text formating within a TEXT field is compatible with html formating as follows:
>
>
Standard APPX text formatting within a TEXT field is compatible with html formatting 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).
Changed:
<
<
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.
>
>
When an ALPHA field that contains end-of-paragraph characters ("¶") or underline characters ("_") is printed, these characters are not interpreted as text formatting characters and are instead printed like any other characters regardless of whether the field contains HTML elements.
 

Supported Elements:

Top Level Elements:

Line: 35 to 34
 ...
Changed:
<
<
The HTML element contains the entire html document. A field whose contents is to be formated by embedded html tags must begin with an HTML element starting in position 1. The end tag of an HTML element is optional.
>
>
The HTML element contains the entire html document. A field whose content is to be formatted by embedded html tags must begin with an HTML element starting in position 1. The end tag of an HTML element is optional.
 

Generic Block Level Elements:

Changed:
<
<
Block level elements print a leading line break before the block and and a trailing line break after the block. This results in double line spacing between block level elements. However, a block level element which is the first element after the HTML element does not print a leading line break. Another execption is that a CENTER element never prints a leading line break resulting in single line spacing between a CENTER element and the preceding block level element. A block level element may not be nested within another block level element. If a block level element is not terminated by an ending tag and another block level element is encountered, then the termination of the first block level element is implied and a trailing line break is printed.
>
>
Block level elements print a leading line break before the block and a trailing line break after the block. This results in double line spacing between block level elements. However, a block level element which is the first element after the HTML element does not print a leading line break. Another exception is that a CENTER element never prints a leading line break resulting in single line spacing between a CENTER element and the preceding block level element. A block level element may not be nested within another block level element. If a block level element is not terminated by an ending tag and another block level element is encountered, then the termination of the first block level element is implied and a trailing line break is printed.
 

CENTER - Centered block

<CENTER>...</CENTER> 
Changed:
<
<
Text within a CENTER block is formated and then centered horizontally within the width of the output widget. If the centered text block contains line breaks, then each line of text is centered within the width of the output widget.
>
>
Text within a CENTER block is formatted and then centered horizontally within the width of the output widget. If the centered text block contains line breaks, then each line of text is centered within the width of the output widget.
 

H1 - Level-one heading

<H1>...</H1>
Line: 86 to 85
 

The P element defines a paragraph. Extra white space is compressed out of the text and a word that does not fit on the end of a line is wrapped to the beginning of the next line.

Changed:
<
<

PRE - Preformated text

>
>

PRE - Preformatted text

 
<PRE>...</PRE>
Changed:
<
<
The PRE element is used to print preformated text. Preformated text is printed with a fixed space font. White space is not compressed out and long lines are not wrapped.
>
>
The PRE element is used to print preformatted text. Preformatted text is printed with a fixed space font. White space is not compressed out and long lines are not wrapped.
 

Special Inline Elements:

A - Anchor

 
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