Uses of Class
com.realobjects.pdfreactor.Configuration
-
Uses of Configuration in com.realobjects.pdfreactor
Modifier and TypeMethodDescriptionfinal Configuration
Configuration.setAddAttachments
(Boolean value) Enables or disables attachments specified in style sheets.final Configuration
Configuration.setAddBookmarks
(Boolean value) Deprecated.final Configuration
Configuration.setAddComments
(Boolean value) Enables or disables comments in the PDF document.final Configuration
Configuration.setAddLinks
(Boolean value) Deprecated.final Configuration
Configuration.setAddOverprint
(Boolean value) Enables or disables overprinting.final Configuration
Configuration.setAddPreviewImages
(Boolean value) Enables or disables embedding of image previews per page in the PDF document.final Configuration
Configuration.setAddTags
(Boolean value) Enables or disables tagging of the PDF document.final Configuration
Configuration.setAllowAnnotations
(Boolean value) Deprecated.final Configuration
Configuration.setAllowAssembly
(Boolean value) Deprecated.final Configuration
Configuration.setAllowCopy
(Boolean value) Deprecated.final Configuration
Configuration.setAllowDegradedPrinting
(Boolean value) Deprecated.final Configuration
Configuration.setAllowFillIn
(Boolean value) Deprecated.final Configuration
Configuration.setAllowModifyContents
(Boolean value) Deprecated.final Configuration
Configuration.setAllowPrinting
(Boolean value) Deprecated.final Configuration
Configuration.setAllowScreenReaders
(Boolean value) Deprecated.final Configuration
Configuration.setAppendLog
(Boolean value) Specifies whether or not the log data should be added to the PDF document.final Configuration
Configuration.setAttachments
(Configuration.Attachment... values) Adds a file attachment to PDF document.final Configuration
Configuration.setAuthenticationCredentials
(Configuration.KeyValuePair value) Deprecated.final Configuration
Sets the value of the author field of the PDF document.final Configuration
Configuration.setBaseUrl
(String value) Sets the base URL of the document.final Configuration
Configuration.setBaseURL
(String value) Deprecated.final Configuration
Configuration.setBookletMode
(Configuration.BookletMode value) Convenience method to set pages-per-sheet properties and page order in one step to create a booklet.final Configuration
Configuration.setCacheFonts
(Boolean value) Enables or disables caching of font information.final Configuration
Configuration.setCleanupTool
(Configuration.Cleanup value) Sets the cleanup tool to use for documents with unparsable content.final Configuration
Configuration.setColorSpaceSettings
(Configuration.ColorSpaceSettings colorSpaceSettings) Specifies color space related settings.final Configuration
Configuration.setConformance
(Configuration.Conformance value) Sets the conformance of the PDF.final Configuration
Configuration.setContentObserver
(Configuration.ContentObserver value) Specifies parts of the document's content that should be observed and logged in greater detail.final Configuration
Configuration.setContinuousOutput
(Configuration.ContinuousOutput value) Enables the conversion of the input document into one image.final Configuration
Configuration.setConversionName
(String value) Sets a name for the conversion.final Configuration
Configuration.setConversionTimeout
(Integer value) Sets a timeout in seconds for the whole document conversion.final Configuration
Configuration.setCookies
(Configuration.KeyValuePair... values) Deprecated.final Configuration
Configuration.setCreator
(String value) Sets the value of creator field of the PDF document.final Configuration
Configuration.setCssSettings
(Configuration.CssSettings settings) Specifies the behavior of PDFreactor regarding the support and validation of CSS properties and their declaration.final Configuration
Configuration.setCustomDocumentProperties
(Configuration.KeyValuePair... values) Adds a custom property to the PDF document.final Configuration
Configuration.setCustomUrlStreamHandlers
(Configuration.CustomUrlStreamHandler... values) Adds aURLStreamHandler
for the specified protocol which will be used for all connections to retrieve the input document and resources.final Configuration
Configuration.setDebugSettings
(Configuration.DebugSettings value) Enables and configures debug settings, which add additional information to the output.final Configuration
Configuration.setDisableBookmarks
(Boolean value) Disables bookmarks in the PDF document.final Configuration
Configuration.setDisableFontEmbedding
(Boolean value) Sets whether fonts will not be embedded into the resulting PDF.final Configuration
Configuration.setDisableFontRegistration
(Boolean value) Enables or disables the font registration.final Configuration
Configuration.setDisableLinks
(Boolean value) Disables links in the PDF document.final Configuration
Configuration.setDisablePdfStructureOptimization
(Boolean value) Disables the automatic optimization and compression of the PDF structure.final Configuration
Configuration.setDisableSystemFonts
(Boolean value) Enables or disables the use of system fonts.final Configuration
Configuration.setDocument
(byte[] value) The input document as a byte array.final Configuration
Configuration.setDocument
(String value) The input document.final Configuration
Configuration.setDocument
(InputSource value) The document asInputSource
.final Configuration
Configuration.setDocumentDefaultLanguage
(String value) Sets the language used for documents having no explicit language attribute set.final Configuration
Configuration.setDocumentType
(Configuration.Doctype value) Sets the document type.final Configuration
Configuration.setEncoding
(String value) Sets the encoding of the document.final Configuration
Configuration.setEncryption
(Configuration.Encryption value) Deprecated.final Configuration
Configuration.setEncryptionSettings
(Configuration.EncryptionSettings encryptionSettings) Configures the PDF encryption settings.final Configuration
Configuration.setErrorPolicies
(Configuration.ErrorPolicy... values) Specifies error policies that will be used for the conversion.final Configuration
Configuration.setFontAliases
(Configuration.Font... values) Registers an alias font family for an existing font.final Configuration
Configuration.setFontCachePath
(String value) Sets the path of the font cache.final Configuration
Configuration.setFontDirectories
(String... values) Registers additional directories to load fonts from.final Configuration
Configuration.setFontFallback
(String... values) Sets a list of fallback font families to be tried when none of the fonts listed using the CSS propertyfont-family
can be found.final Configuration
Configuration.setFonts
(Configuration.Font... values) Loads a font from a URL which can be used via the CSS propertyfont-family
.final Configuration
Configuration.setForceGrayscaleImage
(Boolean value) If the output format is an image format, this setting controls whether a grayscale image should be returned.final Configuration
Configuration.setFullCompression
(Boolean value) Deprecated.final Configuration
Configuration.setHttpsMode
(Configuration.HttpsMode value) Deprecated.final Configuration
Configuration.setIgnoreAlpha
(Boolean value) Sets whether the alpha value of CSS RGBA colors is ignored.final Configuration
Configuration.setInspectableSettings
(Configuration.InspectableSettings value) When enabled, makes the converted document inspectable with the PDFreactor Development Tools.final Configuration
Configuration.setIntegrationStyleSheets
(Configuration.Resource... values) Adds an integration style sheet to the document.final Configuration
Configuration.setJavaScriptSettings
(Configuration.JavaScriptSettings value) Specifies JavaScript related settings.final Configuration
Configuration.setKeywords
(String value) Sets the value of the keywords field of the PDF document.final Configuration
Configuration.setLicenseKey
(String value) Sets the license key either as content or URL.final Configuration
Deprecated as of PDFreactor 11.final Configuration
Configuration.setLoggers
(Logger... values) SetsLogger
s to receive log messages.final Configuration
Configuration.setLogLevel
(Configuration.LogLevel value) Sets the log level for the conversion log.final Configuration
Configuration.setLogMaxLines
(Integer value) Sets the maximum amount of log entries that will be retained by the PDFreactor logs.final Configuration
Configuration.setMediaFeatureValues
(Configuration.MediaFeatureValue... values) Defines the value of a Media Feature which is used to resolve CSS3 media queries.final Configuration
Configuration.setMediaTypes
(String... values) Sets the media types that are used to resolve CSS3 media queries.final Configuration
Configuration.setMergeDocuments
(Configuration.Resource... documents) Deprecated.final Configuration
Configuration.setMergeMode
(Configuration.MergeMode value) Deprecated.final Configuration
Configuration.setMergeSettings
(Configuration.MergeSettings mergeSettings) Configures the PDF merge settings.final Configuration
Configuration.setNetworkSettings
(Configuration.NetworkSettings value) Specifies settings for URL connections that PDFreactor establishes during the conversion to load resources.final Configuration
Configuration.setOutputFormat
(Configuration.OutputFormat value) Sets theConfiguration.OutputFormat
.final Configuration
Configuration.setOutputIntent
(Configuration.OutputIntent value) Sets the output intent including the identifier and the ICC profile to be embedded into the PDF.final Configuration
Configuration.setOverlayRepeat
(Configuration.OverlayRepeat value) Deprecated.final Configuration
Configuration.setOwnerPassword
(String value) Deprecated.final Configuration
Configuration.setPageOrder
(Configuration.PageOrder value) Sets the page order of the direct result of the conversion.final Configuration
Configuration.setPageOrder
(String value) Sets the page order of the direct result of the conversion.final Configuration
Configuration.setPagesPerSheetProperties
(Configuration.PagesPerSheetProperties value) Sets the properties of a sheet on which multiple pages are being arranged.final Configuration
Configuration.setPdfScriptAction
(Configuration.PdfScriptAction... values) Sets a pair of trigger event and PDF script.final Configuration
Configuration.setPixelsPerInch
(Integer value) Sets the pixels per inch.final Configuration
Configuration.setPixelsPerInchShrinkToFit
(Boolean value) Whether the pixels per inch should be adapted automatically to avoid content exceeding pages.final Configuration
Configuration.setPostTransformationDocumentType
(Configuration.Doctype value) Sets the document type after the XSL-Transformations have been applied.final Configuration
Configuration.setPrintDialogPrompt
(Boolean value) Enables or disables a print dialog to be shown upon opening the generated PDF document by a PDF viewer.final Configuration
Configuration.setProcessingPreferences
(Configuration.ProcessingPreferences... values) Preferences that influence the conversion process without changing the output.final Configuration
Configuration.setProgressEventListeners
(ProgressEventListener... values) Adds aProgressEventListener
.final Configuration
Configuration.setQuirksSettings
(Configuration.QuirksSettings quirksSettings) Allows to enable or disable behaviors that are otherwise depend on the doctype of the input document.final Configuration
Configuration.setRawCookies
(Configuration.KeyValuePair... values) Deprecated.final Configuration
Configuration.setRequestHeaders
(Configuration.KeyValuePair... values) Deprecated.final Configuration
Configuration.setResourceConnectTimeout
(Integer value) Deprecated.final Configuration
Configuration.setResourceReadTimeout
(Integer value) Deprecated.final Configuration
Configuration.setSecuritySettings
(Configuration.SecuritySettings securitySettings) Specifies resource loading and document processing behavior with regards to security to protect against untrusted code or content.final Configuration
Configuration.setSegmentationSettings
(Configuration.SegmentationSettings segmentationSettings) This property configures segmentation of the conversion, which helps with very large documents.final Configuration
Configuration.setSignPDF
(Configuration.SignPDF value) Sets a digital certificate to sign the newly created PDF.final Configuration
Configuration.setSubject
(String value) Sets the value of the subject field of the PDF document.final Configuration
Sets the value of the title field of the PDF document.final Configuration
Configuration.setUrlRewriteSettings
(Configuration.UrlRewriteSettings value) Specifies settings for URL rewrites, which will transform URLs into others according to certain rules.final Configuration
Configuration.setUserAgent
(UserAgent value) Specifies a user agent that PDFreactor will use.final Configuration
Configuration.setUserPassword
(String value) Deprecated.final Configuration
Configuration.setUserScripts
(Configuration.Resource... values) Adds an user script to the document.final Configuration
Configuration.setUserStyleSheets
(Configuration.Resource... values) Adds a user style sheet to the document.final Configuration
Configuration.setValidateConformance
(Boolean value) Enables PDFreactor to validate the generated PDF against theConfiguration.Conformance
specified viasetConformance(Conformance)
.final Configuration
Configuration.setViewerPreferences
(Configuration.ViewerPreferences... values) Sets the page layout and page mode preferences of the PDF.final Configuration
Configuration.setXmp
(Configuration.Xmp value) Sets custom XMP to be embedded into the PDF document.final Configuration
Configuration.setXsltMode
(Boolean value) Enables or disables XSLT transformations.final Configuration
Configuration.setXsltStyleSheets
(Configuration.Resource... values) Adds an XSLT style sheet to the document.Modifier and TypeMethodDescriptionPDFreactor.convert
(Configuration configuration) Converts the specifiedConfiguration
into PDF or image.PDFreactor.convert
(Configuration configuration, OutputStreamProvider function) Converts the specifiedConfiguration
into PDF or image and writes it intoOutputStream
(s) created by the supplied function.PDFreactor.convert
(Configuration configuration, OutputStream outputStream) Converts the specifiedConfiguration
into PDF or image and writes it directly in the suppliedOutputStream
.byte[]
PDFreactor.convertAsBinary
(Configuration configuration) Converts the specifiedConfiguration
into PDF or image.void
PDFreactor.convertAsBinary
(Configuration configuration, OutputStream outputStream) Converts the specifiedConfiguration
into PDF or image and writes it directly in the suppliedOutputStream
. -
Uses of Configuration in com.realobjects.pdfreactor.util
Modifier and TypeMethodDescriptionstatic Configuration
JsonUtil.parseConfig
(boolean lenient, InputStream... inputStreams) Parses a PDFreactor configuration into JSON format.static Configuration
JsonUtil.parseConfig
(boolean lenient, String... inputs) Parses a PDFreactor configuration into JSON format.static Configuration
JsonUtil.parseConfig
(InputStream... inputStreams) Parses a PDFreactor configuration into JSON format.static Configuration
JsonUtil.parseConfig
(String... inputs) Parses a PDFreactor configuration into JSON format.Modifier and TypeMethodDescriptionstatic String
JsonUtil.serializeConfig
(Configuration config) Serializes a PDFreactorConfiguration
instance into a JSON representation.