59.23 DOWNLOAD_PRINT_DOCUMENT Procedure Signature 1
This procedure initiates the download of a print document using XML based report data (as a BLOB) and RTF or XSL-FO based report layout.
Syntax
APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT (
p_file_name IN VARCHAR,
p_content_disposition IN VARCHAR DEFAULT 'attachment',
p_report_data IN BLOB,
p_report_layout IN CLOB,
p_report_layout_type IN VARCHAR2 DEFAULT 'xsl-fo',
p_document_format IN VARCHAR2 DEFAULT 'pdf',
p_print_server IN VARCHAR2 DEFAULT NULL );
Parameters
Parameter | Description |
---|---|
p_file_name |
Defines the filename of the print document. |
p_content_disposition |
Specifies whether to download the print document or display inline ("attachment", "inline"). |
p_report_data |
XML based report data. |
p_report_layout |
Report layout in XSL-FO or RTF format. |
p_report_layout_type |
Defines the report layout type, that is "xsl-fo" or "rtf". |
p_document_format |
Defines the document format, that is "pdf", "rtf", "xls", "htm", or "xml". |
p_print_server |
URL of the print server. If not specified, the print server is derived from preferences. |
Parent topic: APEX_UTIL