public class XfoObj
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
S_EST_NONE
No error outpue
|
static int |
S_EST_STDERR
Error output is stderr
|
static int |
S_EST_STDOUT
Error output is stdout
|
static int |
S_FORMATTERTYPE_AUTO
Formatter Type AUTO
|
static int |
S_FORMATTERTYPE_HTML
Formatter Type HTML
|
static int |
S_FORMATTERTYPE_XHTML
Formatter Type XHTML
|
static int |
S_FORMATTERTYPE_XMLCSS
Formatter Type XML+CSS
|
static int |
S_FORMATTERTYPE_XSLFO
Formatter Type XSL-FO
|
static int |
S_PDF_EMBALLFONT_ALL
Embed all fonts without Base14 font
|
static int |
S_PDF_EMBALLFONT_BASE14
Embed all fonts
|
static int |
S_PDF_EMBALLFONT_PART
Embed specified font
|
static int |
S_PDF_ENCLEVEL_128
Same as S_PDF_ENCLEVEL_128RC4
|
static int |
S_PDF_ENCLEVEL_128AES
PDF encrypt level 128-bit AES
|
static int |
S_PDF_ENCLEVEL_128RC4
PDF encrypt level 128-bit RC4
|
static int |
S_PDF_ENCLEVEL_256AES
PDF encrypt level 256-bit AES
|
static int |
S_PDF_ENCLEVEL_40
Same as S_PDF_ENCLEVEL_40RC4
|
static int |
S_PDF_ENCLEVEL_40RC4
PDF encrypt level 40-bit RC4
|
static int |
S_PDF_IMGCMPR_AUTO
ImageCompression JPEG or ZLIB compression
|
static int |
S_PDF_IMGCMPR_AUTO2K
ImageCompression JPEG 2000 or JPEG or ZLIB compression (PDF1.5 or later)
|
static int |
S_PDF_IMGCMPR_JPEG
ImageCompression JPEG compression
|
static int |
S_PDF_IMGCMPR_JPEG2K
ImageCompression JPEG 2000 compression (PDF1.5 or later)
|
static int |
S_PDF_IMGCMPR_KEEPLZW
ImageCompression LZW or JPEG or ZLIB compression
|
static int |
S_PDF_IMGCMPR_KEEPLZW2K
ImageCompression LZW or JPEG 2000 or JPEG or ZLIB compression (PDF1.5 or later)
|
static int |
S_PDF_IMGCMPR_ZLIB
ImageCompression ZLIB compression
|
static int |
S_PDF_IMGDOWNSAMPLING_AVERAGE
Downsampling biliner
|
static int |
S_PDF_IMGDOWNSAMPLING_BICUBIC
Downsampling bicubic
|
static int |
S_PDF_IMGDOWNSAMPLING_NONE
Downsampling none
|
static int |
S_PDF_IMGDOWNSAMPLING_SUBSAMPLING
Downsampling nearest neighbor
|
static int |
S_PDF_MONOCMPR_CCITT3
Monochrome-compression
CCITTFaxDecode group 3 filter
|
static int |
S_PDF_MONOCMPR_CCITT4
Monochrome-compression
CCITTFaxDecode group 4 filter
|
static int |
S_PDF_MONOCMPR_OFF
Monochrome-compression
no filter
|
static int |
S_PDF_MONOCMPR_RUNLENGTH
Monochrome-compression
RunLengthDecode filter
|
static int |
S_PDF_MONOCMPR_ZLIB
Monochrome-compression
FlateDecode filter
|
static int |
S_PDF_PRALLOW_HIGH
High Resolution Printing
|
static int |
S_PDF_PRALLOW_LOW
Low Resolution Printing
|
static int |
S_PDF_PRALLOW_NONE
Printing Not Allowed
|
static int |
S_PDF_RGBCONV_ALL
All RGB to DeviceGray
|
static int |
S_PDF_RGBCONV_BLACK
Black to DeviceGray
|
static int |
S_PDF_RGBCONV_GRAY
Gray to DeviceGray
|
static int |
S_PDF_RGBCONV_NONE
No Conversion
|
static int |
S_PDF_VERSION_13
PDF version 1.3
|
static int |
S_PDF_VERSION_14
PDF version 1.4
|
static int |
S_PDF_VERSION_15
PDF version 1.5
|
static int |
S_PDF_VERSION_16
PDF version 1.6
|
static int |
S_PDF_VERSION_17
PDF version 1.7
|
static int |
S_PDF_VERSION_20
PDF version 2.0 (ISO 32000-2:2017)
|
static int |
S_PDF_VERSION_A_1a_2005
ISO 19005-1:2005 (based on PDF1.4)
|
static int |
S_PDF_VERSION_A_1b_2005
ISO 19005-1:2005 (based on PDF1.4)
|
static int |
S_PDF_VERSION_A_2a_2011_14
ISO 19005-2:2011 (based on PDF1.4)
|
static int |
S_PDF_VERSION_A_2a_2011_15
ISO 19005-2:2011 (based on PDF1.5)
|
static int |
S_PDF_VERSION_A_2a_2011_16
ISO 19005-2:2011 (based on PDF1.6)
|
static int |
S_PDF_VERSION_A_2a_2011_17
ISO 19005-2:2011 (based on PDF1.7)
|
static int |
S_PDF_VERSION_A_2b_2011_14
ISO 19005-2:2011 (based on PDF1.4)
|
static int |
S_PDF_VERSION_A_2b_2011_15
ISO 19005-2:2011 (based on PDF1.5)
|
static int |
S_PDF_VERSION_A_2b_2011_16
ISO 19005-2:2011 (based on PDF1.6)
|
static int |
S_PDF_VERSION_A_2b_2011_17
ISO 19005-2:2011 (based on PDF1.7)
|
static int |
S_PDF_VERSION_A_2u_2011_14
ISO 19005-2:2011 (based on PDF1.4)
|
static int |
S_PDF_VERSION_A_2u_2011_15
ISO 19005-2:2011 (based on PDF1.5)
|
static int |
S_PDF_VERSION_A_2u_2011_16
ISO 19005-2:2011 (based on PDF1.6)
|
static int |
S_PDF_VERSION_A_2u_2011_17
ISO 19005-2:2011 (based on PDF1.7)
|
static int |
S_PDF_VERSION_A_3a_2012_14
ISO 19005-3:2012 (based on PDF1.4)
|
static int |
S_PDF_VERSION_A_3a_2012_15
ISO 19005-3:2012 (based on PDF1.5)
|
static int |
S_PDF_VERSION_A_3a_2012_16
ISO 19005-3:2012 (based on PDF1.6)
|
static int |
S_PDF_VERSION_A_3a_2012_17
ISO 19005-3:2012 (based on PDF1.7)
|
static int |
S_PDF_VERSION_A_3b_2012_14
ISO 19005-3:2012 (based on PDF1.4)
|
static int |
S_PDF_VERSION_A_3b_2012_15
ISO 19005-3:2012 (based on PDF1.5)
|
static int |
S_PDF_VERSION_A_3b_2012_16
ISO 19005-3:2012 (based on PDF1.6)
|
static int |
S_PDF_VERSION_A_3b_2012_17
ISO 19005-3:2012 (based on PDF1.7)
|
static int |
S_PDF_VERSION_A_3u_2012_14
ISO 19005-3:2012 (based on PDF1.4)
|
static int |
S_PDF_VERSION_A_3u_2012_15
ISO 19005-3:2012 (based on PDF1.5)
|
static int |
S_PDF_VERSION_A_3u_2012_16
ISO 19005-3:2012 (based on PDF1.6)
|
static int |
S_PDF_VERSION_A_3u_2012_17
ISO 19005-3:2012 (based on PDF1.7)
|
static int |
S_PDF_VERSION_UA1_15
ISO 14289-1:2014 (based on PDF1.5)
|
static int |
S_PDF_VERSION_UA1_16
ISO 14289-1:2014 (based on PDF1.6)
|
static int |
S_PDF_VERSION_UA1_17
ISO 14289-1:2014 (based on PDF1.7)
|
static int |
S_PDF_VERSION_X_1a_2001
ISO 15930-1:2001 PDF/X-1a-2001 (based on PDF1.3)
|
static int |
S_PDF_VERSION_X_1a_2003
ISO 15930-4:2003 PDF/X-1a-2003 (based on PDF1.4)
|
static int |
S_PDF_VERSION_X_2_2003
ISO 15930-5:2003 PDF/X-2-2003 (based on PDF1.4)
|
static int |
S_PDF_VERSION_X_3_2002
ISO 15930-3:2002 PDF/X-3-2002 (based on PDF1.3)
|
static int |
S_PDF_VERSION_X_3_2003
ISO 15930-6:2003 PDF/X-3-2003 (based on PDF1.4)
|
static int |
S_PDF_VERSION_X_4_2010
ISO 15930-7:2010 PDF/X-4-2010 (based on PDF1.6)
|
static int |
S_PDF_VERSION_X_4p_2010
ISO 15930-7:2010 PDF/X-4p-2010 (based on PDF1.6)
|
static int |
S_SVG_IMGCNV_AUTO
Image-conversion Auto
|
static int |
S_SVG_IMGCNV_JPEG
Image-conversion JPEG
|
static int |
S_SVG_IMGCNV_PNG
Image-conversion PNG
|
static int |
S_SVG_IMGDOWNSAMPLING_AVERAGE
Downsampling biliner
|
static int |
S_SVG_IMGDOWNSAMPLING_BICUBIC
Downsampling bicubic
|
static int |
S_SVG_IMGDOWNSAMPLING_SUBSAMPLING
Downsampling nearest neighbor
|
static int |
S_SVG_IMGPT_COPY
Image-processing copy linked image
|
static int |
S_SVG_IMGPT_COPY_ALL
Image-processing copy all images
|
static int |
S_SVG_IMGPT_EMBED_ALL
Image-processing embed all images
|
static int |
S_SVG_IMGPT_LINK
Image-processing link linked images
|
static int |
S_SVG_VERSION_11
SVG version 1.1
|
static int |
S_SVG_VERSION_20
SVG 2.0
|
static int |
S_SVG_VERSION_BASIC
SVG Basic
|
static int |
S_SVG_VERSION_TINY
SVG Tiny
|
Constructor and Description |
---|
XfoObj()
Create the instance of XfoObj, and initialize it.
|
Modifier and Type | Method and Description |
---|---|
void |
addOptionFileURI(java.lang.String path)
Set the path name of option setting URI.
|
void |
addUserStylesheetURI(java.lang.String uri)
Add the URI of user stylesheet that is used when formatting.
|
void |
clear()
Cleanup (initialize) Antenna House Formatter engine.
|
void |
clearFontAlias()
Clear all substitutions of font name.
|
void |
clearXSLTParam()
Clear all parameter names and values of xsl:param.
|
void |
eraseFontAlias(java.lang.String src)
Erase the substitution of font name.
|
void |
execute()
Execute formatting and outputs to a PDF.
|
java.lang.String |
getBaseURI()
Get the default base URI.
|
boolean |
getBatchPrint()
Get the setting of whether print dialog box is displayed or not when printing.
|
java.lang.String |
getDocumentURI()
Get the URI of XML document to be formatted.
|
int |
getEndPage()
Get the end page number of document to output.
|
int |
getEndVolume()
Get the end volume of document to output.
|
int |
getErrorCode()
Get the error code of the error that occurred during the formatting process.
|
int |
getErrorLevel()
Get the error level to abort formatting process.
|
java.lang.String |
getErrorMessage()
Get the error message of the error that occurred during the formatting process.
|
int |
getErrorStreamType()
Get the error output.
|
int |
getExitLevel()
Get the error level to abort formatting process.
|
java.lang.String |
getExternalXSLT()
Get command-line string for external XSLT processor.
|
int |
getFormattedPages()
Get formatted total pages.
|
int |
getFormatterType()
Get formatter type.
|
boolean |
getGdiImageSmoothing()
Acquires the setting of the smoothing processing to images.
|
boolean |
getGdiLineartSmoothing()
Acquires the setting of the smoothing processing to borders.
|
boolean |
getGdiTextAntialias()
Acquires the setting of the smoothing processing to text.
|
java.lang.String |
getHtmlDefaultCharset()
Get html default charset.
|
int |
getInitialPageNumber()
Gets the initial page number.
|
int |
getInitialVolumeNumber()
Gets the initial volume number.
|
boolean |
getMultiVolume()
Get multiple volume of PDF output.
|
int |
getOptionFileCount()
Counts the number of Option Setting File you specified.
|
java.lang.String |
getOptionFileURI()
Get the path name of option setting file.
|
java.lang.String |
getOptionFileURI(int n)
Get the path name of option setting file.
|
java.lang.String |
getOutputFilePath()
Get the path name of the output file that is the result of formatting.
|
java.lang.String |
getOutputFOPath()
Get the path name of output FO file as the result of XSLT.
|
int |
getOutputVolumeCount()
Gets the number of the actual separate volumes when outputting PDF to multiple separate volumes.
|
int |
getPageNumberFromID(java.lang.String id)
Gets the page number from ID.
|
boolean |
getPartialVolume()
Gets the partial volume mode.
|
java.lang.String |
getPdfCertificateName()
Gets the value of a certificate information name.
|
boolean |
getPdfCompressContentStream()
Gets the value of whether the text and the line art in PDF are compressed in order to make the size of PDF smaller or not.
|
boolean |
getPdfEmbedAllFonts()
Gets the value of whether to embed all embeddable fonts in PDF.
|
int |
getPdfEmbedAllFontsEx()
Gets the value of whether to embed all embeddable fonts.
|
java.lang.String |
getPdfEmbedFonts()
Gets the font specified to be embedded in PDF.
|
int |
getPdfEmbedSubsetFontPercentage()
Gets the value of percentage to embed subset fonts.
|
int |
getPdfEncryptLevel()
Get the key length when encrypting the PDF file during outputting.
|
boolean |
getPdfErrorOnEmbedFault()
Gets the value of whether to issues the error when failing to embed fonts.
|
boolean |
getPdfErrorOnMissingGlyph()
Gets the value of whether to issues the error when missing glyph.
|
boolean |
getPdfErrorOnPDFXFault()
Gets the value of whether to issue error or not when PDF/X is generating.
|
int |
getPdfGrayscaleImageCompression()
Gets the value of how to compress the grayscale images embedded in PDF.
|
int |
getPdfGrayscaleImageDownSampling()
Gets the value of method to downsample the grayscale image.
|
int |
getPdfGrayscaleImageDownSamplingDPI()
Gets resolution of the grayscale image which performs a downsampling.
|
int |
getPdfGrayscaleImageDownSamplingTarget()
Gets resolution when the grayscale image is downsampled.
|
int |
getPdfGrayscaleJPEGQuality()
Gets the value of the quality of JPEG format that is specified by setPdfGrayscaleImageCompression stored in PDF.
|
int |
getPdfImageCompression()
Gets the value of how to compress the color images embedded in PDF.
|
int |
getPdfImageDownSampling()
Gets the value of method to downsample the color image.
|
int |
getPdfImageDownSamplingDPI()
Gets resolution of the grayscale image which performs a downsampling.
|
int |
getPdfImageDownSamplingTarget()
Gets resolution when the color image is downsampled.
|
boolean |
getPdfImport3DAnnotation()
Gets the value of whether to import 3D annotations or not.
|
int |
getPdfJPEGQuality()
Gets the value of the quality of JPEG format that is specified by setPdfImageCompression() stored in PDF.
|
boolean |
getPdfLinearize()
Gets the value of whether to output linearize PDF or not.
|
int |
getPdfMonochromeImageCompression()
Gets the value of how to compress the monochrome images embedded in PDF.
|
int |
getPdfMonochromeImageDownSampling()
Gets the value of method to downsample the monochrome image.
|
int |
getPdfMonochromeImageDownSamplingDPI()
Gets resolution of the monochrome image which performs a downsampling.
|
int |
getPdfMonochromeImageDownSamplingTarget()
Gets resolution when the monochrome image is downsampled.
|
boolean |
getPdfNoAccessibility()
Get the specification that disables text access for screen reader devices of the PDF file.
|
boolean |
getPdfNoAddingOrChangingComments()
Get the specification that disables adding comments and form fields to the PDF file.
|
boolean |
getPdfNoAssembleDoc()
Get the specification that disables inserting, deleting and rotating the PDF pages.
|
boolean |
getPdfNoChanging()
Get the specification that disables making changes of the PDF file.
|
boolean |
getPdfNoContentCopying()
Get the specification that disables copying the content of the PDF file.
|
boolean |
getPdfNoFillForm()
Get the specification that disables adding comments and form fields to the PDF file.
|
boolean |
getPdfNoPrinting()
Get the specification that disables printing the PDF file.
|
java.lang.String |
getPdfOutputHeight()
Gets the height of PDF to output.
|
java.lang.String |
getPdfOutputWidth()
Gets the width of PDF to output.
|
int |
getPdfPrintingAllowed()
Gets the value of whether to print the resulting PDF file or not.
|
boolean |
getPdfPutImageColorProfile()
Gets specification whether to embed to PDF the color profile of the color image that will be embedded to PDF.
|
int |
getPdfRasterizeResolution()
Gets the value of the rasterised-resolution of the transformed raster images.
|
boolean |
getPdfReversePage()
Gets the value of whether to output reverse page or not.
|
int |
getPdfRGBConversion()
Gets the value of how to convert the RGB color space (DebiceRGB) to DeviceGray.
|
boolean |
getPdfSignature()
Gets the value of whether to sign a signature to PDF or not.
|
java.lang.String |
getPdfSignatureName()
Gets the value of a signature information name.
|
boolean |
getPdfTag()
Gets the value of whether to output Tagged PDF or not.
|
boolean |
getPdfUseLaunchForRelativeURI()
Gets the value of how to transform external link specified by the relative address in the PDF link.
|
int |
getPdfVersion()
Get the version of PDF.
|
java.lang.String |
getPrinterName()
Get the printer name where the formatted result is outputted.
|
java.lang.String |
getPrinterSettingURI()
Get the printer setting URI.
|
boolean |
getPrnCollate()
Get the collation of multiple copies.
|
int |
getPrnCopies()
Get the number of copies.
|
int |
getSplitPages()
Gets the split-by-pages setting.
|
int |
getStartPage()
Get the start page number of document to output.
|
int |
getStartVolume()
Get the start volume of document to output.
|
java.lang.String |
getStylesheetTitle()
Get prior Stylesheet PI title.
|
java.lang.String |
getStylesheetURI()
Get the URI of XSL stylesheet that is used when formatting.
|
boolean |
getSvgEmbedAllFonts()
Gets the setting indicating whether to embed fonts in the outputted SVG.
|
java.lang.String |
getSvgEmbedFonts()
Gets the font specified to be embedded in SVG.
|
boolean |
getSvgErrorOnEmbedFault()
Gets the value of whether to issues the error when failing to embed fonts.
|
java.lang.String |
getSvgFormat()
Gets the format for naming files when the outputted SVG becomes multiple.
|
boolean |
getSvgGzipCompression()
Gets the setting indicating whether to compress the outputted SVG into gzip format or not.
|
int |
getSvgImageConversion()
Gets the value of how to convert the images embedded in SVG.
|
java.lang.String |
getSvgImageCopyPath()
Gets the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by setSvgImageProcessingType.
|
java.lang.String |
getSvgImagePrefix()
Gets the prefix of the file name when images are copied to the directory specified by setSvgImageCopyPath and processed.
|
int |
getSvgImageProcessingType()
Gets specification how to treat the referred image.
|
boolean |
getSvgImageRename()
Gets specification whether to rename all file name to prefix specified by setSvgImagePrefix, or use original name.
|
int |
getSvgJPEGQuality()
Gets the value of the quality of JPEG format that is specified by setSvgImageConversion() stored in SVG.
|
int |
getSvgRasterizeResolution()
Gets the value of the rasterised-resolution of the transformed raster images.
|
boolean |
getSvgSingleFile()
Gets Specification whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages.
|
boolean |
getSvgSinglePageNumber()
Gets specification whether to add sequential number to the output SVG even if it has only one-page.
|
int |
getSvgVersion()
Get the version of SVG..
|
int |
getTotalVolumeCount()
Gets the number of all the separate volumes when outputting PDF to multiple separate volumes.
|
boolean |
getTwoPassFormatting()
Get the specification of two pass format.
|
java.lang.String |
getVersion()
Get the version string of Antenna House Formatter.
|
java.lang.String |
getWatermarkFontFamily()
Acquires the font family to the character string which you set to watermark-text.
|
java.lang.String |
getWatermarkFontStyle()
Acuires the font style to the character string which you set to watermark-text.
|
java.lang.String |
getWatermarkFontWeight()
Acquires the font weight to the character string which you set to watermark-text.
|
java.lang.String |
getWatermarkOpacity()
Acquires the opacity of the character string which you set to watermark-text.
|
java.lang.String |
getWatermarkText()
Acquires the watermark text specified for each page.
|
java.lang.String |
getXSLTParamFormat()
Get the parameter format of xsl:param when using External XSLT Processor.
|
void |
releaseObject()
Release the instance of XfoObj.
|
void |
releaseObjectEx()
Release the instance of XfoObj.
|
void |
render(java.io.InputStream xmlSrc,
java.io.InputStream xslSrc,
java.io.OutputStream dst,
java.lang.String outDevice)
Transforms an XML document specified to xmlSrc using an XSL stylesheet specified to xslSrc.
|
void |
render(java.io.InputStream src,
java.io.OutputStream dst,
java.lang.String outDevice)
Executes the formatting of XSL-FO document specified for src, and outputs it to dst in the output form specified for dst.
|
void |
setBaseURI(java.lang.String uri)
Set the default base URI.
|
void |
setBatchPrint(boolean bat)
Set whether the print dialog box is displayed or not when printing.
|
void |
setDocumentURI(java.lang.String uri)
Set the URI of XML document to be formatted.
|
void |
setEndPage(int num)
Set the end page number of document to output.
|
void |
setEndVolume(int num)
Set the end volume of document to output.
|
void |
setErrorStreamType(int type)
Set the error output.
|
void |
setExitLevel(int level)
Set the error level to abort formatting process.
|
void |
setExternalXSLT(java.lang.String cmd)
Set the command-line string for external XSLT processor.
|
void |
setFontAlias(java.lang.String src,
java.lang.String dst)
Sets the substitution of font name.
|
void |
setFormatPageListener(XfoFormatPageListener listener)
Register the XfoFormatPageListener interface to the instance of implemented class.
|
void |
setFormatterType(int formatterType)
Set formatter type.
|
void |
setGdiImageSmoothing(boolean newVal)
Performs the smoothing processing to images.
|
void |
setGdiLineartSmoothing(boolean newVal)
Performs the smoothing processing to borders.
|
void |
setGdiTextAntialias(boolean newVal)
Performs the smoothing processing to text.
|
void |
setHtmlDefaultCharset(java.lang.String charset)
Set html default charset.
|
void |
setInitialPageNumber(int newVal)
Sets the initial page number.
|
void |
setInitialVolumeNumber(int newVal)
Sets the initial volume number.
|
static void |
setMaxFileDescriptor(int newVal)
Specifies the maximum limit of file descriptor .
|
void |
setMessageListener(MessageListener listener)
Register the MessageListener interface to the instance of implemented class.
|
void |
setMultiVolume(boolean newVal)
Specifies multiple volume of PDF output.
|
void |
setOptionFileURI(java.lang.String path)
Set the path name of option setting URI.
|
void |
setOutputFilePath(java.lang.String path)
Specifies the output file path of the formatted result.
|
void |
setOutputFOPath(java.lang.String path)
Set the path name of output FO file as the result of XSLT.
|
void |
setPartialVolume(boolean newVal)
Sets the partial volume mode.
|
void |
setPdfCertificateName(java.lang.String name)
Sets a certificate information name.
|
void |
setPdfCompressContentStream(boolean newVal)
Specifies whether the text and the line art in PDF are compressed in order to make the size of PDF smaller or not.
|
void |
setPdfEmbedAllFonts(boolean newVal)
Embeds all embeddable fonts in PDF to create.
|
void |
setPdfEmbedAllFontsEx(int newVal)
Specifies whether to embed the all outline data of fonts in PDF or not, which are True type fonts and Type1 Fonts and are embeddable in the formatted result.
|
void |
setPdfEmbedFonts(java.lang.String newVal)
Embeds the specified font in PDF to create.
|
void |
setPdfEmbedSubsetFontPercentage(int newVal)
Set percentage to embed subset fonts.
|
void |
setPdfEncryptLevel(int newVal)
Specifies the key length when encrypting the PDF file during outputting.
|
void |
setPdfErrorOnEmbedFault(boolean newVal)
an error is issued in case of failing to embed fonts.
|
void |
setPdfErrorOnMissingGlyph(boolean newVal)
an error is issued in case of missing glyph.
|
void |
setPdfErrorOnPDFXFault(boolean newVal)
An error is not issued when PDF/X is generating.
|
void |
setPdfGrayscaleImageCompression(int newVal)
Specifies how to compress the grayscale images embedded in PDF.
|
void |
setPdfGrayscaleImageDownSampling(int newVal)
Specifies the following either of method to downsample the grayscale image that is put into PDF.
|
void |
setPdfGrayscaleImageDownSamplingDPI(int newVal)
Set resolution of the grayscale image which performs a downsampling.
|
void |
setPdfGrayscaleImageDownSamplingTarget(int newVal)
Set resolution when the grayscale image is downsampled.
|
void |
setPdfGrayscaleJPEGQuality(int newVal)
For the grayscale image format that can not be stored directly in PDF, specifies the image quality by the numerical value within the range of 1-100 when IMGCMPR_JPEG is specified by setPdfGrayscaleImageCompression.
|
void |
setPdfImageCompression(int newVal)
Specifies how to compress the color images embedded in PDF.
|
void |
setPdfImageDownSampling(int newVal)
Specifies the following either of method to downsample the color image that is put into PDF.
|
void |
setPdfImageDownSamplingDPI(int newVal)
Set resolution of the grayscale image which performs a downsampling.
|
void |
setPdfImageDownSamplingTarget(int newVal)
Set resolution when the color image is downsampled.
|
void |
setPdfImport3DAnnotation(boolean newVal)
Sets the value of whether to import 3D annotations or not.
|
void |
setPdfJPEGQuality(int newVal)
For the color image format that can not be stored directly in PDF, specifies the image quality by the numerical value within the range of 1-100 when IMGCMPR_JPEG is specified by setPdfImageCompression.
|
void |
setPdfLinearize(boolean newVal)
Specifies whether to output linearize PDF or not.
|
void |
setPdfMonochromeImageCompression(int newVal)
Specifies how to compress the monochrome images embedded in PDF.
|
void |
setPdfMonochromeImageDownSampling(int newVal)
monochrom.
|
void |
setPdfMonochromeImageDownSamplingDPI(int newVal)
Set resolution of the monochrome image which performs a downsampling.
|
void |
setPdfMonochromeImageDownSamplingTarget(int newVal)
Set resolution when the monochrome image is downsampled.
|
void |
setPdfNoAccessibility(boolean newVal)
Disables text access for screen reader devices of the PDF file.
|
void |
setPdfNoAddingOrChangingComments(boolean newVal)
Disables adding comments and form fields to the PDF file.
|
void |
setPdfNoAssembleDoc(boolean newVal)
Disables inserting, deleting and rotating the PDF pages.
|
void |
setPdfNoChanging(boolean newVal)
Disables making changes of the PDF file.
|
void |
setPdfNoContentCopying(boolean newVal)
Disables copying the content of the PDF file.
|
void |
setPdfNoFillForm(boolean newVal)
Disables adding comments and form fields to the PDF file.
|
void |
setPdfNoPrinting(boolean newVal)
Disables printing the PDF file.
|
void |
setPdfOutputHeight(java.lang.String newVal)
Scales the height of PDF to output.
|
void |
setPdfOutputScale(java.lang.String newVal)
Specifies the scaling ratio of the PDF to output.
|
void |
setPdfOutputWidth(java.lang.String newVal)
Scales the width of PDF to output.
|
void |
setPdfOwnerPassword(java.lang.String newVal)
Specifies the owner password for PDF.
|
void |
setPdfPrintingAllowed(int newVal)
Spesifies whether to permit printing PDF to create.
|
void |
setPdfPutImageColorProfile(boolean newVal)
Specifies whether to embed to PDF the color profile of the color image that will be embedded to PDF.
|
void |
setPdfRasterizeResolution(int newVal)
Specifies the value of the rasterised-resolution of the transformed raster images in the range from 70 to 500(dpi).
|
void |
setPdfReversePage(boolean newVal)
Sets the value of whether to output reverse page or not.
|
void |
setPdfRGBConversion(int newVal)
Specifies how to convert the RGB color space (DeviceRGB) to DeviceGray.
|
void |
setPdfSignature(boolean newVal)
Specifies whether to sign a signature to PDF or not.
|
void |
setPdfSignatureName(java.lang.String name)
Sets a signature information name.
|
void |
setPdfTag(boolean newVal)
Generates Tagged PDF.
|
void |
setPdfUseLaunchForRelativeURI(boolean newVal)
Specifies whether the external link specified by the relative address is transformed into 'Open the file' or into 'World Wide Web link' in the PDF link properties.
|
void |
setPdfUserPassword(java.lang.String newVal)
Specifies the user password for PDF.
|
void |
setPdfVersion(int newVal)
Enables specifying whether the version of PDF.
|
void |
setPrinterName(java.lang.String prn)
Specifies the output format or the printer name to output.
|
void |
setPrinterSettingURI(java.lang.String prn)
Set the printer setting URI.
|
void |
setPrnCollate(boolean col)
Set collation of multiple copies.
|
void |
setPrnCopies(int num)
Set the number of copies.
|
void |
setSplitPages(int newVal)
Set the split-by-pages setting.
|
void |
setStartPage(int num)
Set the start page number of document to output.
|
void |
setStartVolume(int num)
Set the start volume of document to output.
|
void |
setStylesheetTitle(java.lang.String title)
Set prior Stylesheet PI title.
|
void |
setStylesheetURI(java.lang.String uri)
Set the URI of XSL stylesheet that is used when formatting.
|
void |
setSvgEmbedAllFonts(boolean newVal)
Specifies whether to embed fonts in the outputted SVG.
|
void |
setSvgEmbedFonts(java.lang.String newVal)
Embeds the specified font in SVG to create.
|
void |
setSvgErrorOnEmbedFault(boolean newVal)
an error is issued in case of failing to embed fonts.
|
void |
setSvgFormat(java.lang.String newVal)
Specifies the format for naming files when the outputted SVG becomes multiple.
|
void |
setSvgGzipCompression(boolean newVal)
Specifies whether to compress the outputted SVG into gzip format or not.
|
void |
setSvgImageConversion(int newVal)
Specifies how to convert the images embedded in SVG to create.
|
void |
setSvgImageCopyPath(java.lang.String newVal)
Specifies the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by setSvgImageProcessingType.
|
void |
setSvgImagePrefix(java.lang.String newVal)
When images are copied to the directory specified by setSvgImageCopyPath and processed, specifies the prefix of the file name.
|
void |
setSvgImageProcessingType(int newVal)
Specifies how to treat the referred image.
|
void |
setSvgImageRename(boolean newVal)
When images are copied to the directory specified by setSvgImageCopyPath etc. and processed, specifies whether to rename all file name to prefix specified by setSvgImagePrefix, or use original name.
|
void |
setSvgJPEGQuality(int newVal)
Specifies the quality of the Raster graphics when stored in JPEG format using the range of 1-100.
|
void |
setSvgRasterizeResolution(int newVal)
Specifies the value of the rasterised-resolution of the transformed raster images in the range from 70 to 500(dpi).
|
void |
setSvgSingleFile(boolean newVal)
Specifies whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages.
|
void |
setSvgSinglePageNumber(boolean newVal)
When setSvgSingleFile = 0 is specified, specifies whether to add sequential number to the output SVG even if it has only one-page.
|
void |
setSvgVersion(int newVal)
Enables specifying whether the version of SVG.
|
void |
setTwoPassFormatting(boolean val)
Specifies the two pass format.
|
void |
setWatermarkFontFamily(java.lang.String newVal)
Specifies the font family to the character string which you set to watermark-text.
|
void |
setWatermarkFontStyle(java.lang.String newVal)
Specifies the font style to the character string which you set to watermark-text.
|
void |
setWatermarkFontWeight(java.lang.String newVal)
Specifies the font weight to the character string which you set to watermark-text.
|
void |
setWatermarkOpacity(java.lang.String newVal)
Specifies the opacity to the character string which you set to watermark-text.
|
void |
setWatermarkText(java.lang.String newVal)
Displays the specified watermark text on each page.
|
void |
setXSLTParam(java.lang.String paramName,
java.lang.String value)
Set the parameter name and value for xsl:param.
|
void |
setXSLTParamFormat(java.lang.String form)
Set the parameter format of xsl:param when using External XSLT Processor.
|
public static final int S_EST_NONE
public static final int S_EST_STDERR
public static final int S_EST_STDOUT
public static final int S_FORMATTERTYPE_AUTO
public static final int S_FORMATTERTYPE_HTML
public static final int S_FORMATTERTYPE_XHTML
public static final int S_FORMATTERTYPE_XMLCSS
public static final int S_FORMATTERTYPE_XSLFO
public static final int S_PDF_EMBALLFONT_ALL
public static final int S_PDF_EMBALLFONT_BASE14
public static final int S_PDF_EMBALLFONT_PART
public static final int S_PDF_ENCLEVEL_128
public static final int S_PDF_ENCLEVEL_128AES
public static final int S_PDF_ENCLEVEL_128RC4
public static final int S_PDF_ENCLEVEL_256AES
public static final int S_PDF_ENCLEVEL_40
public static final int S_PDF_ENCLEVEL_40RC4
public static final int S_PDF_IMGCMPR_AUTO
public static final int S_PDF_IMGCMPR_AUTO2K
public static final int S_PDF_IMGCMPR_JPEG
public static final int S_PDF_IMGCMPR_JPEG2K
public static final int S_PDF_IMGCMPR_KEEPLZW
public static final int S_PDF_IMGCMPR_KEEPLZW2K
public static final int S_PDF_IMGCMPR_ZLIB
public static final int S_PDF_IMGDOWNSAMPLING_AVERAGE
public static final int S_PDF_IMGDOWNSAMPLING_BICUBIC
public static final int S_PDF_IMGDOWNSAMPLING_NONE
public static final int S_PDF_IMGDOWNSAMPLING_SUBSAMPLING
public static final int S_PDF_MONOCMPR_CCITT3
public static final int S_PDF_MONOCMPR_CCITT4
public static final int S_PDF_MONOCMPR_OFF
public static final int S_PDF_MONOCMPR_RUNLENGTH
public static final int S_PDF_MONOCMPR_ZLIB
public static final int S_PDF_PRALLOW_HIGH
public static final int S_PDF_PRALLOW_LOW
public static final int S_PDF_PRALLOW_NONE
public static final int S_PDF_RGBCONV_ALL
public static final int S_PDF_RGBCONV_BLACK
public static final int S_PDF_RGBCONV_GRAY
public static final int S_PDF_RGBCONV_NONE
public static final int S_PDF_VERSION_13
public static final int S_PDF_VERSION_14
public static final int S_PDF_VERSION_15
public static final int S_PDF_VERSION_16
public static final int S_PDF_VERSION_17
public static final int S_PDF_VERSION_20
public static final int S_PDF_VERSION_A_1a_2005
public static final int S_PDF_VERSION_A_1b_2005
public static final int S_PDF_VERSION_A_2a_2011_14
public static final int S_PDF_VERSION_A_2a_2011_15
public static final int S_PDF_VERSION_A_2a_2011_16
public static final int S_PDF_VERSION_A_2a_2011_17
public static final int S_PDF_VERSION_A_2b_2011_14
public static final int S_PDF_VERSION_A_2b_2011_15
public static final int S_PDF_VERSION_A_2b_2011_16
public static final int S_PDF_VERSION_A_2b_2011_17
public static final int S_PDF_VERSION_A_2u_2011_14
public static final int S_PDF_VERSION_A_2u_2011_15
public static final int S_PDF_VERSION_A_2u_2011_16
public static final int S_PDF_VERSION_A_2u_2011_17
public static final int S_PDF_VERSION_A_3a_2012_14
public static final int S_PDF_VERSION_A_3a_2012_15
public static final int S_PDF_VERSION_A_3a_2012_16
public static final int S_PDF_VERSION_A_3a_2012_17
public static final int S_PDF_VERSION_A_3b_2012_14
public static final int S_PDF_VERSION_A_3b_2012_15
public static final int S_PDF_VERSION_A_3b_2012_16
public static final int S_PDF_VERSION_A_3b_2012_17
public static final int S_PDF_VERSION_A_3u_2012_14
public static final int S_PDF_VERSION_A_3u_2012_15
public static final int S_PDF_VERSION_A_3u_2012_16
public static final int S_PDF_VERSION_A_3u_2012_17
public static final int S_PDF_VERSION_UA1_15
public static final int S_PDF_VERSION_UA1_16
public static final int S_PDF_VERSION_UA1_17
public static final int S_PDF_VERSION_X_1a_2001
public static final int S_PDF_VERSION_X_1a_2003
public static final int S_PDF_VERSION_X_2_2003
public static final int S_PDF_VERSION_X_3_2002
public static final int S_PDF_VERSION_X_3_2003
public static final int S_PDF_VERSION_X_4_2010
public static final int S_PDF_VERSION_X_4p_2010
public static final int S_SVG_IMGCNV_AUTO
public static final int S_SVG_IMGCNV_JPEG
public static final int S_SVG_IMGCNV_PNG
public static final int S_SVG_IMGDOWNSAMPLING_AVERAGE
public static final int S_SVG_IMGDOWNSAMPLING_BICUBIC
public static final int S_SVG_IMGDOWNSAMPLING_SUBSAMPLING
public static final int S_SVG_IMGPT_COPY
public static final int S_SVG_IMGPT_COPY_ALL
public static final int S_SVG_IMGPT_EMBED_ALL
public static final int S_SVG_IMGPT_LINK
public static final int S_SVG_VERSION_11
public static final int S_SVG_VERSION_20
public static final int S_SVG_VERSION_BASIC
public static final int S_SVG_VERSION_TINY
public XfoObj() throws XfoException
XfoException
- Thrown exceptionpublic void addOptionFileURI(java.lang.String path) throws XfoException
path
- Path name of option setting fileXfoException
- Thrown exceptionpublic void addUserStylesheetURI(java.lang.String uri) throws XfoException
uri
- URI of user stylesheetXfoException
- Thrown exceptionpublic void clear() throws XfoException
XfoException
- Thrown exceptionpublic void clearFontAlias() throws XfoException
XfoException
- Thrown exceptionpublic void clearXSLTParam() throws XfoException
XfoException
- Thrown exceptionpublic void eraseFontAlias(java.lang.String src) throws XfoException
src
- The font name of originalXfoException
- Thrown exceptionpublic void execute() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getBaseURI() throws XfoException
XfoException
- Thrown exceptionpublic boolean getBatchPrint() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getDocumentURI() throws XfoException
XfoException
- Thrown exceptionpublic int getEndPage() throws XfoException
XfoException
- Thrown exceptionpublic int getEndVolume() throws XfoException
XfoException
- Thrown exceptionpublic int getErrorCode() throws XfoException
XfoException
- Thrown exceptionpublic int getErrorLevel() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getErrorMessage() throws XfoException
XfoException
- Thrown exceptionpublic int getErrorStreamType() throws XfoException
XfoException
- Thrown exceptionpublic int getExitLevel() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getExternalXSLT() throws XfoException
XfoException
- Thrown exceptionpublic int getFormattedPages() throws XfoException
XfoException
- Thrown exceptionpublic int getFormatterType() throws XfoException
XfoException
- Thrown exceptionpublic boolean getGdiImageSmoothing() throws XfoException
XfoException
- Thrown exceptionpublic boolean getGdiLineartSmoothing() throws XfoException
XfoException
- Thrown exceptionpublic boolean getGdiTextAntialias() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getHtmlDefaultCharset() throws XfoException
XfoException
- Thrown exceptionpublic int getInitialPageNumber() throws XfoException
XfoException
- Thrown exceptionpublic int getInitialVolumeNumber() throws XfoException
XfoException
- Thrown exceptionpublic boolean getMultiVolume() throws XfoException
XfoException
- Thrown exceptionpublic int getOptionFileCount() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getOptionFileURI() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getOptionFileURI(int n) throws XfoException
n
- argXfoException
- Thrown exceptionpublic java.lang.String getOutputFilePath() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getOutputFOPath() throws XfoException
XfoException
- Thrown exceptionpublic int getOutputVolumeCount() throws XfoException
XfoException
- Thrown exceptionpublic int getPageNumberFromID(java.lang.String id) throws XfoException
id
- IDXfoException
- Thrown exceptionpublic boolean getPartialVolume() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getPdfCertificateName() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfCompressContentStream() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfEmbedAllFonts() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfEmbedAllFontsEx() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getPdfEmbedFonts() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfEmbedSubsetFontPercentage() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfEncryptLevel() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfErrorOnEmbedFault() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfErrorOnMissingGlyph() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfErrorOnPDFXFault()
public int getPdfGrayscaleImageCompression() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfGrayscaleImageDownSampling() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfGrayscaleImageDownSamplingDPI() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfGrayscaleImageDownSamplingTarget() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfGrayscaleJPEGQuality() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfImageCompression() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfImageDownSampling() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfImageDownSamplingDPI() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfImageDownSamplingTarget() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfImport3DAnnotation() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfJPEGQuality() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfLinearize() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfMonochromeImageCompression() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfMonochromeImageDownSampling() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfMonochromeImageDownSamplingDPI() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfMonochromeImageDownSamplingTarget() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfNoAccessibility() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfNoAddingOrChangingComments() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfNoAssembleDoc() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfNoChanging() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfNoContentCopying() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfNoFillForm() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfNoPrinting() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getPdfOutputHeight() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getPdfOutputWidth() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfPrintingAllowed() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfPutImageColorProfile() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfRasterizeResolution() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfReversePage() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfRGBConversion() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfSignature() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getPdfSignatureName() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfTag() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPdfUseLaunchForRelativeURI() throws XfoException
XfoException
- Thrown exceptionpublic int getPdfVersion() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getPrinterName() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getPrinterSettingURI() throws XfoException
XfoException
- Thrown exceptionpublic boolean getPrnCollate() throws XfoException
XfoException
- Thrown exceptionpublic int getPrnCopies() throws XfoException
XfoException
- Thrown exceptionpublic int getSplitPages() throws XfoException
XfoException
- Thrown exceptionpublic int getStartPage() throws XfoException
XfoException
- Thrown exceptionpublic int getStartVolume() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getStylesheetTitle() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getStylesheetURI() throws XfoException
XfoException
- Thrown exceptionpublic boolean getSvgEmbedAllFonts() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getSvgEmbedFonts() throws XfoException
XfoException
- Thrown exceptionpublic boolean getSvgErrorOnEmbedFault() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getSvgFormat() throws XfoException
XfoException
- Thrown exceptionpublic boolean getSvgGzipCompression() throws XfoException
XfoException
- Thrown exceptionpublic int getSvgImageConversion() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getSvgImageCopyPath() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getSvgImagePrefix() throws XfoException
XfoException
- Thrown exceptionpublic int getSvgImageProcessingType() throws XfoException
XfoException
- Thrown exceptionpublic boolean getSvgImageRename() throws XfoException
XfoException
- Thrown exceptionpublic int getSvgJPEGQuality() throws XfoException
XfoException
- Thrown exceptionpublic int getSvgRasterizeResolution() throws XfoException
XfoException
- Thrown exceptionpublic boolean getSvgSingleFile() throws XfoException
XfoException
- Thrown exceptionpublic boolean getSvgSinglePageNumber() throws XfoException
XfoException
- Thrown exceptionpublic int getSvgVersion() throws XfoException
XfoException
- Thrown exceptionpublic int getTotalVolumeCount() throws XfoException
XfoException
- Thrown exceptionpublic boolean getTwoPassFormatting() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getVersion() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getWatermarkFontFamily() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getWatermarkFontStyle() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getWatermarkFontWeight() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getWatermarkOpacity() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getWatermarkText() throws XfoException
XfoException
- Thrown exceptionpublic java.lang.String getXSLTParamFormat() throws XfoException
XfoException
- Thrown exceptionpublic void releaseObject()
public void releaseObjectEx() throws XfoException
XfoException
- Thrown exceptionpublic void render(java.io.InputStream xmlSrc, java.io.InputStream xslSrc, java.io.OutputStream dst, java.lang.String outDevice) throws XfoException
xmlSrc
- XML DocumentxslSrc
- XSL Stylesheetdst
- output streamoutDevice
- output device. Please refer to a setPrinterName method about the character string to specify.XfoException
- Thrown exceptionpublic void render(java.io.InputStream src, java.io.OutputStream dst, java.lang.String outDevice) throws XfoException
src
- XSL-FO Documentdst
- output streamoutDevice
- output device. Please refer to a setPrinterName method about the character string to specify.XfoException
- Thrown exceptionpublic void setBaseURI(java.lang.String uri) throws XfoException
uri
- Base URIXfoException
- Thrown exceptionpublic void setBatchPrint(boolean bat) throws XfoException
bat
- If "false", the print dialog box is displayed. If "true", the print dialog box is not displayed.XfoException
- Thrown exceptionpublic void setDocumentURI(java.lang.String uri) throws XfoException
uri
- URI of XML documentXfoException
- Thrown exceptionpublic void setEndPage(int num) throws XfoException
num
- End page numberXfoException
- Thrown exceptionpublic void setEndVolume(int num) throws XfoException
num
- End volumeXfoException
- Thrown exceptionpublic void setErrorStreamType(int type) throws XfoException
type
- Error output
XfoException
- Thrown exceptionpublic void setExitLevel(int level) throws XfoException
level
- Error level to abortXfoException
- Thrown exceptionpublic void setExternalXSLT(java.lang.String cmd) throws XfoException
cmd
- Command-line string for external XSLT processorXfoException
- Thrown exceptionpublic void setFontAlias(java.lang.String src, java.lang.String dst) throws XfoException
src
- The font name of originaldst
- The alias font nameXfoException
- Thrown exceptionpublic void setFormatPageListener(XfoFormatPageListener listener)
listener
- The instance of implemented classpublic void setFormatterType(int formatterType) throws XfoException
formatterType
- type of formatterXfoException
- Thrown exceptionpublic void setGdiImageSmoothing(boolean newVal) throws XfoException
newVal
-
Performs the smoothing processing when true is specified.XfoException
- Thrown exceptionpublic void setGdiLineartSmoothing(boolean newVal) throws XfoException
newVal
-
Performs the smoothing processing when true is specified.XfoException
- Thrown exceptionpublic void setGdiTextAntialias(boolean newVal) throws XfoException
newVal
-
Performs the smoothing processing when true is specified.XfoException
- Thrown exceptionpublic void setHtmlDefaultCharset(java.lang.String charset) throws XfoException
charset
- html default charsetXfoException
- Thrown exceptionpublic void setInitialPageNumber(int newVal) throws XfoException
newVal
- initial page numberXfoException
- Thrown exceptionpublic void setInitialVolumeNumber(int newVal) throws XfoException
newVal
- initial volume numberXfoException
- Thrown exceptionpublic static void setMaxFileDescriptor(int newVal)
newVal
-
Maximum limit of file descriptor .public void setMessageListener(MessageListener listener)
listener
- The instance of implemented classpublic void setMultiVolume(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, output PDF byt multiple volumeXfoException
- Thrown exceptionpublic void setOptionFileURI(java.lang.String path) throws XfoException
path
- Path name of option setting fileXfoException
- Thrown exceptionpublic void setOutputFilePath(java.lang.String path) throws XfoException
path
- Path name of output fileXfoException
- Thrown exceptionpublic void setOutputFOPath(java.lang.String path) throws XfoException
path
- Path name of output FO fileXfoException
- Thrown exceptionpublic void setPartialVolume(boolean newVal) throws XfoException
newVal
- partial volume modeXfoException
- Thrown exceptionpublic void setPdfCertificateName(java.lang.String name) throws XfoException
name
- the value of a certificate information nameXfoException
- Thrown exceptionpublic void setPdfCompressContentStream(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, make the PDF compressXfoException
- Thrown exceptionpublic void setPdfEmbedAllFonts(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, Embeds all embeddable fontsXfoException
- Thrown exceptionpublic void setPdfEmbedAllFontsEx(int newVal) throws XfoException
newVal
- the value of whether to embed fonts
XfoException
- Thrown exceptionpublic void setPdfEmbedFonts(java.lang.String newVal) throws XfoException
newVal
- fonts specified to embedXfoException
- Thrown exceptionpublic void setPdfEmbedSubsetFontPercentage(int newVal) throws XfoException
newVal
- the percentage of when subset embedded fonts.XfoException
- Thrown exceptionpublic void setPdfEncryptLevel(int newVal) throws XfoException
newVal
- key length when encrypting the PDF file during outputting
XfoException
- Thrown exceptionpublic void setPdfErrorOnEmbedFault(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, an error is issued.XfoException
- Thrown exceptionpublic void setPdfErrorOnMissingGlyph(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, an error is issued.XfoException
- Thrown exceptionpublic void setPdfErrorOnPDFXFault(boolean newVal)
newVal
- If the value is 'true' is specified, no error is issued.public void setPdfGrayscaleImageCompression(int newVal) throws XfoException
newVal
- the value of how raster graphics are compressed and stored
XfoException
- Thrown exceptionpublic void setPdfGrayscaleImageDownSampling(int newVal) throws XfoException
newVal
- the value of method to downsample the grayscale image
XfoException
- Thrown exceptionpublic void setPdfGrayscaleImageDownSamplingDPI(int newVal) throws XfoException
newVal
- resolutionXfoException
- Thrown exceptionpublic void setPdfGrayscaleImageDownSamplingTarget(int newVal) throws XfoException
newVal
- resolutionXfoException
- Thrown exceptionpublic void setPdfGrayscaleJPEGQuality(int newVal) throws XfoException
newVal
- the value of the quality of JPEG format (1 to 100)XfoException
- Thrown exceptionpublic void setPdfImageCompression(int newVal) throws XfoException
newVal
- the value of how raster graphics are compressed and stored
XfoException
- Thrown exceptionpublic void setPdfImageDownSampling(int newVal) throws XfoException
newVal
- the value of method to downsample the color image
XfoException
- Thrown exceptionpublic void setPdfImageDownSamplingDPI(int newVal) throws XfoException
newVal
- resolutionXfoException
- Thrown exceptionpublic void setPdfImageDownSamplingTarget(int newVal) throws XfoException
newVal
- resolutionXfoException
- Thrown exceptionpublic void setPdfImport3DAnnotation(boolean newVal) throws XfoException
newVal
- the value of whether to import 3D annotations.XfoException
- Thrown exceptionpublic void setPdfJPEGQuality(int newVal) throws XfoException
newVal
- the value of the quality of JPEG format (1 to 100)XfoException
- Thrown exceptionpublic void setPdfLinearize(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, output linearlize PDFXfoException
- Thrown exceptionpublic void setPdfMonochromeImageCompression(int newVal) throws XfoException
newVal
- the value of how raster graphics are compressed and stored
XfoException
- Thrown exceptionpublic void setPdfMonochromeImageDownSampling(int newVal) throws XfoException
newVal
- the value of method to downsample the monochrome image
XfoException
- Thrown exceptionpublic void setPdfMonochromeImageDownSamplingDPI(int newVal) throws XfoException
newVal
- resolutionXfoException
- Thrown exceptionpublic void setPdfMonochromeImageDownSamplingTarget(int newVal) throws XfoException
newVal
- resolutionXfoException
- Thrown exceptionpublic void setPdfNoAccessibility(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, disables text access for screen reader devices of the PDF fileXfoException
- Thrown exceptionpublic void setPdfNoAddingOrChangingComments(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, disables adding comments and form fields to the PDF fileXfoException
- Thrown exceptionpublic void setPdfNoAssembleDoc(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, disables inserting, deleting and rotating the PDF pagesXfoException
- Thrown exceptionpublic void setPdfNoChanging(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, disables making changes of the PDF fileXfoException
- Thrown exceptionpublic void setPdfNoContentCopying(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, disables copying the content of the PDF fileXfoException
- Thrown exceptionpublic void setPdfNoFillForm(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, disables adding comments and form fields to the PDF fileXfoException
- Thrown exceptionpublic void setPdfNoPrinting(boolean newVal) throws XfoException
newVal
-
If the value is 'true' is specified, disables printing the PDF fileXfoException
- Thrown exceptionpublic void setPdfOutputHeight(java.lang.String newVal) throws XfoException
newVal
- the height of PDFXfoException
- Thrown exceptionpublic void setPdfOutputScale(java.lang.String newVal) throws XfoException
newVal
- the scaling ratio of the PDFXfoException
- Thrown exceptionpublic void setPdfOutputWidth(java.lang.String newVal) throws XfoException
newVal
- the width of PDFXfoException
- Thrown exceptionpublic void setPdfOwnerPassword(java.lang.String newVal) throws XfoException
newVal
- Owner passwordXfoException
- Thrown exceptionpublic void setPdfPrintingAllowed(int newVal) throws XfoException
newVal
- the value of printing allowed
XfoException
- Thrown exceptionpublic void setPdfPutImageColorProfile(boolean newVal) throws XfoException
newVal
- If the value is true it is embedded. If the value is false it is not embedded.XfoException
- Thrown exceptionpublic void setPdfRasterizeResolution(int newVal) throws XfoException
newVal
- Rasterised-resolution (70 to 500)XfoException
- Thrown exceptionpublic void setPdfReversePage(boolean newVal) throws XfoException
newVal
- the value of whether to output reverse page.XfoException
- Thrown exceptionpublic void setPdfRGBConversion(int newVal) throws XfoException
newVal
- the value of how to convert
XfoException
- Thrown exceptionpublic void setPdfSignature(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, sign a signature to PDFXfoException
- Thrown exceptionpublic void setPdfSignatureName(java.lang.String name) throws XfoException
name
- the value of a signature information nameXfoException
- Thrown exceptionpublic void setPdfTag(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, output Tagged PDFXfoException
- Thrown exceptionpublic void setPdfUseLaunchForRelativeURI(boolean newVal) throws XfoException
newVal
- If the value is 'true', it is transformed to 'Open the file'. If the value is 'false', it is transformed to 'World Wide Web link'XfoException
- Thrown exceptionpublic void setPdfUserPassword(java.lang.String newVal) throws XfoException
newVal
- user passwordXfoException
- Thrown exceptionpublic void setPdfVersion(int newVal) throws XfoException
newVal
- PDF version
XfoException
- Thrown exceptionpublic void setPrinterName(java.lang.String prn) throws XfoException
prn
- Printer name or output formatXfoException
- Thrown exceptionpublic void setPrinterSettingURI(java.lang.String prn) throws XfoException
prn
- Printer setting URIXfoException
- Thrown exceptionpublic void setPrnCollate(boolean col) throws XfoException
col
- If the value 'false' is specified, the same page is multi-copied continuously. If 'true' is specified, the pages specified from start to end are printed repeatedly.XfoException
- Thrown exceptionpublic void setPrnCopies(int num) throws XfoException
num
- Number of copiesXfoException
- Thrown exceptionpublic void setSplitPages(int newVal) throws XfoException
newVal
- split-by-pages setting (0:No split 1:Split by each page)XfoException
- Thrown exceptionpublic void setStartPage(int num) throws XfoException
num
- Start page numberXfoException
- Thrown exceptionpublic void setStartVolume(int num) throws XfoException
num
- Start volumeXfoException
- Thrown exceptionpublic void setStylesheetTitle(java.lang.String title) throws XfoException
title
- Stylesheet PI titleXfoException
- Thrown exceptionpublic void setStylesheetURI(java.lang.String uri) throws XfoException
uri
- URI of XSL stylesheetXfoException
- Thrown exceptionpublic void setSvgEmbedAllFonts(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, embeds fonts.XfoException
- Thrown exceptionpublic void setSvgEmbedFonts(java.lang.String newVal) throws XfoException
newVal
- fonts specified to embedXfoException
- Thrown exceptionpublic void setSvgErrorOnEmbedFault(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, an error is issued.XfoException
- Thrown exceptionpublic void setSvgFormat(java.lang.String newVal) throws XfoException
newVal
- format for naming filesXfoException
- Thrown exceptionpublic void setSvgGzipCompression(boolean newVal) throws XfoException
newVal
- If the value is 'true' is specified, enables to compress data into gzip format.XfoException
- Thrown exceptionpublic void setSvgImageConversion(int newVal) throws XfoException
newVal
- the value of how raster graphics are converted and stored
XfoException
- Thrown exceptionpublic void setSvgImageCopyPath(java.lang.String newVal) throws XfoException
newVal
- the copy destination of imageXfoException
- Thrown exceptionpublic void setSvgImagePrefix(java.lang.String newVal) throws XfoException
newVal
- the prefix of the file name.XfoException
- Thrown exceptionpublic void setSvgImageProcessingType(int newVal) throws XfoException
newVal
- specification how to treat the referred image.
XfoException
- Thrown exceptionpublic void setSvgImageRename(boolean newVal) throws XfoException
newVal
- specification whether to rename all file name to prefix specified by setSvgImagePrefix, or use original name.XfoException
- Thrown exceptionpublic void setSvgJPEGQuality(int newVal) throws XfoException
newVal
- JPEG quality (1 to 100)XfoException
- Thrown exceptionpublic void setSvgRasterizeResolution(int newVal) throws XfoException
newVal
- Rasterised-resolution (70 to 500)XfoException
- Thrown exceptionpublic void setSvgSingleFile(boolean newVal) throws XfoException
newVal
- Specification whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages.XfoException
- Thrown exceptionpublic void setSvgSinglePageNumber(boolean newVal) throws XfoException
newVal
- specification whether to add sequential number to the output SVG even if it has only one-page.XfoException
- Thrown exceptionpublic void setSvgVersion(int newVal) throws XfoException
newVal
- SVG version
XfoException
- Thrown exceptionpublic void setTwoPassFormatting(boolean val) throws XfoException
val
- specification of two pass format.XfoException
- Thrown exceptionpublic void setWatermarkFontFamily(java.lang.String newVal) throws XfoException
newVal
-
The font family of the character string which you set to watermark-text.XfoException
- Thrown exceptionpublic void setWatermarkFontStyle(java.lang.String newVal) throws XfoException
newVal
-
The font style of the character string which you set to watermark-text.XfoException
- Thrown exceptionpublic void setWatermarkFontWeight(java.lang.String newVal) throws XfoException
newVal
-
The font weight of the character string which you set to watermark-text.XfoException
- Thrown exceptionpublic void setWatermarkOpacity(java.lang.String newVal) throws XfoException
newVal
-
The opacity to the character string which you set to watermark-text.XfoException
- Thrown exceptionpublic void setWatermarkText(java.lang.String newVal) throws XfoException
newVal
-
The watermark text specified for each page.XfoException
- Thrown exceptionpublic void setXSLTParam(java.lang.String paramName, java.lang.String value) throws XfoException
paramName
- Parametervalue
- ValueXfoException
- Thrown exceptionpublic void setXSLTParamFormat(java.lang.String form) throws XfoException
form
- Parameter format of xsl:paramXfoException
- Thrown exception