4.
Available methods accessible directly from the
sferyx.administration.pdfgenerator.PDFGeneratorOracleBean - you should use the same
rules for accessing those methods as described above in the OracleForms
PL/SQL script examples:
public void
generatePDF(java.lang.String sourceURL, java.lang.String
destinationFile) -Generates a pdf file from given URL and saves
it to a given filename using default paper size and orientation
publiv void
generatePDFFromContent(java.lang.String content, java.lang.String
destinationFile, java.lang.String standardPageFormat,
java.lang.String orinetation) - Generates a pdf file from given
html/text content and saves it to a given filename, using paper size
and paper orientation such as LANDSCAPE or PORTRAIT
public void
generatePDFFromReport(java.lang.String sourceURL, java.lang.String
standardPageFormat, java.lang.String orinetation) - Generates a
pdf file from given URL and saves it to temporary file showing the
ready PDF document into the available PDF viewer
public void
generatePDFFromURL(java.lang.String sourceURL, java.lang.String
destinationFile, java.lang.String standardPageFormat,
java.lang.String orinetation) - Generates a pdf file from given
URL and saves it to a given filename using paper size and
orientation
public void
addReportParameter(java.lang.String name, java.lang.String value)
- Adds parameters to be used for generation of the report - this
method can be used multiple times to add multiple parameters. Please
note that this is persistent and once added the parameters will be
used until cleared. See clearReportParameters method.
public void
clearReportParameters() - Clears all the report parameters set previously using
addReportParameter.
5. Screen illustrating the setting of the
properties inside the Oracle Forms builder
You can note on the screenshot
below the bean implementation property of the Bean Area is set to
sferyx.administration.pdfgenerator.PDFGeneratorOracleBean: