Writer Directives
The directives that are processed by the PDF writer are listed below. The suffixes shown are prefixed by the current <WriterKeyword>_ in a mapping file. By default, the <WriterKeyword> for the PDF writer is PDF.
DEF
Required/Optional: Required
The PDF writer uses PDF_DEF lines to define feature types. A typical mapping file fragment specifying a feature type looks like:
PDF_DEF <featureName> \ [<attributeName> <attributeType>]*
The configuration parameters present on the definition line are described in the following table:
Parameter |
Contents |
featureName |
This declares the name of the feature type. |
attributeName |
This declares the name of an attribute. The maximum length of attribute names is 200 characters. |
attributeType |
This declares the type of the attribute. The only valid attribute type is |
CENTER_COORDINATES
Required/Optional: Optional
Values: YES | NO
Default Value When Directive Not Specified: YES
Default for New Workspaces/Mapping Files: YES
Workbench Parameter: Center coordinates at the origin
BACKGROUND_COLOR
Required/Optional: Optional
Values: <0.0 ... 1.0>,<0.0 ... 1.0>,<0.0 ... 1.0>
Default Value When Directive Not Specified: 0.2,0.2,0.2
Default for New Workspaces/Mapping Files: 0.2,0.2,0.2
Workbench Parameter: Background color
ROOT_NODE_NAME
Required/Optional: Optional
Values: <string>
Default Value When Directive Not Specified: <empty string>
Default for New Workspaces/Mapping Files: <empty string>
Workbench Parameter: Root Node Name
PAGE_SIZE
Required/Optional: Optional
Values: <0.0 ...> <0.0 ...>
Default Value When Directive Not Specified: 600 600
Default for New Workspaces/Mapping Files: 600 600
Workbench Parameter: Page size
DISPLAY_NAV_UI
Required/Optional: Optional
Values: YES | NO
Default Value When Directive Not Specified: NO
Default for New Workspaces/Mapping Files: NO
Workbench Parameter: Display Navigation UI