Output Process Design - Raw Text Widget

Effective with Release 5.0.0, Raw Text widgets on output images have a defined behavior.

Overview

Prior to Release 5.0.0, Raw Text widgets and Label widgets on output images could be used interchangeably and would produce the same result.  Effective with Release 5.0.0, Raw Text widgets on output process images have their own distinct behavior which is different than the behavior of Label widgets.  Release 5.0.0 includes a utility which will automatically convert all Raw Text widgets on output images to be Label widgets. This conversion will allow existing output processes that were designed with Raw Text widgets to continue to produce the desired results.

RAW TEXT Widgets

RAW TEXT implies that the text should not be formated, i.e. the text should pretty much be printed in the form that it was stored in the field.

  1. A RAW TEXT widget should not format html tags.  It should simply print the contents of the data field as stored.
  2. A RAW TEXT widget should not apply any APPX "text" formating.  In other words, a RAW TEXT widget would provide a method to print the contents of an Alpha field or a text field as stored.

The table below summarizes the behaviors of various output process widget types for ALPHA and TEXT fields as of Release 5.0.0:  

Field Type / Widget Type No Widget RAW TEXT LABEL TEXT AREA
ALPHA
No change to current behavior:
Does not format embedded html
Does not word-wrap text
Wraps characters at end of each row of field
Truncates characters at end of last row of field
Prints underscores and APPX end-of-paragraph characters as data
New behavior:
Does not format embedded html
Does not word-wrap text
Wraps characters at end of each row of field
Prints underscore characters and APPX end-of-paragraph characters as data
Default text position is left top of widget area
Honors widget attributes
If no widget attributes are specified for a RAW TEXT widget, the result is the same as if no widget type was specified.
No change to current behavior:
Apply html formating.
Do not word-wrap text.
Print underscore and APPX end-of-paragraph characters as data
Default text position is left center
All spaces treated as required spaces

Apply html formating.
Word-wrap text based on widget width.
Print underscore and end-of-paragraph characters as data
Default text position is left top
All spaces treated as required spaces

TEXT
No change to current behavior:
Does not format embedded html
Word-wraps text based on row length of field
Truncates words at end of last row of field
Honors APPX end-of-paragraph characters
Substitutes spaces for underscore characters
New behavior: (same as ALPHA field)
Does not format embedded html
Does not word-wrap text (wraps characters)
Prints underscore characters and APPX end-of-paragraph characters as data
Default text position is left top of widget area
Honors widget attributes
If no widget attributes are specified for a RAW TEXT widget, the result is the same as if the TEXT field was an ALPHA field with no widget type specified.
No change to current behavior
Same as TEXT AREA widget except that the default text position is left center.
Apply html formating.
Word-wrap text based on widget width.
Honor APPX end-of-paragraph characters.
Substitute required spaces for underscore characters.
Default text position is left top

Comments:

Read what other users have said about this page or add your own comments.

-- SteveFrizzell - 30 Sep 2008

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2008-09-30 - SteveFrizzell
 
  • Edit
  • Attach
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