Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Export.PDF.Method – PB Docs 2021 – PowerBuilder Library

Export.PDF.Method – PB Docs 2021

Export.PDF.Method

property (DataWindow object)

Description

Setting that determines whether data is exported to PDF from a
DataWindow object by printing to a PostScript file and distilling to
PDF, by saving to PDF via PDFlib, or by saving in XSL Formatting Objects
(XSL-FO) format and processing to PDF.

Applies to

DataWindow objects

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

value

A string specifying a value of the PDFMethod
enumerated datatype

Usage

This property can be set to specify the method used to export data
to PDF before you call the SaveAs method with PDF! as the SaveAsType or
select File>Save Rows As with the file type PDF in the DataWindow
painter. If this property is not set, the distill method is used by
default.

PDFMethod is an enumerated datatype that can hold the following
values:

Enumerated value

Numeric value

Meaning

Distill!

0

Data is printed to a PostScript file and distilled
to PDF (default).

XSLFOP!

1

Data is saved as XSL-FO and processed to
PDF.

NativePDF!

2

Data is saved to PDF using PDFlib.

The distill method and the PDFlib method provides a robust
solution that can save all types of DataWindow objects on the Windows
platform. The XSL-FO method uses a platform-independent Java process,
and is particularly useful for printing DataWindow objects in the server
on a UNIX operating system.

Saving as XSL-FO

You can also save the data in a DataWindow object in XSL-FO
format and customize the filters used to convert it to PDF and other
output formats. To do so, use XSLFO! as the SaveAsType parameter when
you call SaveAs, or select XSL-FO as the file type when you save rows
in the DataWindow painter.

Deployment requirements

If your application uses the distill method, you must distribute
the GNU Ghostscript files and default PostScript printer driver and
related files (if using the default printer) with your application. If
your application uses the XSL-FO method, you must distribute Apache FOP
files and the Java Runtime Environment (JRE) with your application. For
more information, see the section called “Deploying Applications and Components” in Application Techniques.

In the painter

On the Data Export page in the Properties view for the DataWindow
object, select “PDF” from the Format to
Configure
list and “Distill!”, “NativePDF!”, or “XSLFOP!”
from the Method list.

Examples

This statement specifies that data is exported to PDF using
XSL-FO:

See also

Export.PDF.Distill.CustomPostScript

Export.PDF.XSLFOP.Print

Export.PDF.NativePDF.Author

Export.PDF.NativePDF.CustomOrientation

Export.PDF.NativePDF.CustomSize

Export.PDF.NativePDF.ImageFormat

Export.PDF.NativePDF.Keywords

Export.PDF.NativePDF.MasterPassword

Export.PDF.NativePDF.PDFStandard

Export.PDF.NativePDF.Restrictions

Export.PDF.NativePDF.Subject

Export.PDF.NativePDF.UserPassword

Export.PDF.NativePDF.UsePrintSpec

the section called “Saving the data as PDF” in Users Guide


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x