Output justification is the process of aligning the data within a presentation space based on the size of the data and the presentation space. CA Gen supports five justification modes. Not all are honored for all data types.
The five different supported justification modes are detailed in the following table.
|
Field Type |
Left |
Right |
Centered |
Word Wrap |
ASIS |
|---|---|---|---|---|---|
|
Numeric |
Yes |
Yes |
Yes |
|
|
|
Text |
Yes |
Yes |
Yes |
Yes |
Yes |
|
Picture |
Yes |
Yes |
Yes |
|
|
|
Date |
Yes |
Yes |
Yes |
|
|
|
Time |
Yes |
Yes |
Yes |
|
|
|
Timestamp |
Yes |
Yes |
Yes |
|
|
When data is justified, the internal data is converted and edited to produce an intermediate text-like string. This intermediate string is justified within the presentation space. Every character of the intermediate data is considered significant.
The intermediate string is converted from the application codepage to the terminal codepage, if necessary. This intermediate result is then compared to the length of the presentation area. The significant portion of the resulting string may be longer, shorter, or the same size as the presentation space.
Fill and space characters are inserted into the string based on the selected justification.
|
Copyright © 2013 CA.
All rights reserved.
|
|