Alters report-specific functionality.
ALTER-REPORT [HEADING={heading_name_txt_lit|_var|_col] [HEADING-SIZE={heading_size_int_lit|_var|_col] [FOOTING={footing_name_txt_lit|_var|_col] [FOOTING-SIZE={footing_size_int_lit|_var|_col}] [PDF-APPEARANCE=(appearance_lit|_var|_col)] [PDF-INFORMATION=(information_lit|_var|_col, value_lit|_var|_col[,information_lit|_var|_col, value_lit|_var|_col]...)] [PDF-OPEN-ACTION=(openaction_lit|_var|_col, [,name_lit|_var|_col,value_lit|_var|_col]...)] [PDF-PAGE-TRANSITION=(transition_lit|_var|_col, duration_lit|_var|_col)] [PDF-SECURITY=(security_lit|_var|_col, value_lit|_var|_col[,security_lit|_var|_col, value_lit|_var|_col]...)] [PDF-VIEWER-PREFERENCE=(preference_lit|_var|_col, value_lit|_var|_col[,preference_lit|_var|_col, value_lit|_var|_col]...)]
HEADING
Name of the BEGIN-HEADING section.
HEADING-SIZE
Amount of space occupied by the BEGIN-HEADING section.
FOOTING
Name of the BEGIN-FOOTING section.
FOOTING-SIZE
Amount of space occupied by the BEGIN-FOOTING section.
PDF-APPEARANCE
Appearance of the document when opened.
Table 7. Appearance Values
PDF-INFORMATION
The information name to address and the data to apply to the information parameter. You can specify any of the standard information names shown in Table 8, or you can specify any user-defined name with the exception of the following names which are reserved by the PDFlib: CreationDate, Producer, ModDate, or Trapped.
Table 8. Standard PDF Information Names
Document title. (The default is the product name and version string.) | |
PDF-OPEN-ACTION
Action the PDF viewer takes when opening a file, name of the additional value, and value to apply.
Table 9. Open Actions
Table 10. Additional Values
Column number of the page to position at the left edge of the window. (default = 1) | |
Line number of the page that will be positioned at the top edge of the window. (default = 1) | |
PDF-PAGE-TRANSITION
Page transition for current and future pages and the duration (in seconds) for the transition.
PDF-SECURITY
Security parameter to address and value to apply to the security parameter.
Table 12. Security Parameters
ALTER-REPORT PDF-SECURITY=('User-Password', $User_Password, 'Master-Password', &Master_Password, 'Permissions', 'NoPrint NoCopy')
PDF-VIEWER-PREFERENCE
Viewer preference to address and value to apply to the preference.
Table 13. Viewer Preferences
ALTER-REPORT dynamically changes how much space active heading and/or footing sections occupy for the current report. For PDF reports, you can add information about the report, control the display and appearance of the report, and control security settings.
If HEADING or FOOTING = ‘NONE’, the section is disabled for the current report.
If HEADING or FOOTING = ‘DEFAULT’, the section reverts to whatever was in effect when the report was initiated.
If no HEADING or FOOTING value is set HEADING-SIZE and/or FOOTING-SIZE values affect the HEADING/FOOTING currently used.
When HEADING, HEADING-SIZE, FOOTING, or FOOTING-SIZE is defined: the command is not invoked in a BEGIN-HEADING and/or BEGIN-FOOTING section, the page is not written to, and the assignment takes effect immediately. Otherwise, it takes effect for the next page.
begin-footing 2 name=confidental print 'Company Confidential' (1,1,0) center page-number (2,37,0) end-footing
begin-footing 2 name=proprietary print 'Company Proprietary' (1,1,0) center page-number (2,37,0) end-footing