public static class Configuration.Resource extends Object
A type containing data for external resources such as style sheets.
Constructor and Description |
---|
Resource() |
Resource(String content,
String uri)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Configuration.Resource |
setBeforeDocumentScripts(Boolean value)
Use
true to cause PDFreactor to run the
script before all scripts inside the document and false
to run it after. |
Configuration.Resource |
setContent(String value)
The content of the resource.
|
Configuration.Resource |
setData(byte[] value)
The binary data of the resource.
|
Configuration.Resource |
setInputSource(InputSource value)
The
InputSource of the resource. |
Configuration.Resource |
setUri(String value)
The URI of the resource.
|
public Resource()
@Deprecated public Resource(String content, String uri)
public Configuration.Resource setContent(String value)
The content of the resource. Only supported for Style Sheet- and Script-type resources.
Configuration.Resource
instance.Configuration.setUserStyleSheets(Resource...)
,
Configuration.setXsltStyleSheets(Resource...)
,
Configuration.setUserScripts(Resource...)
public Configuration.Resource setUri(String value)
The URI of the resource.
Configuration.Resource
instance.public Configuration.Resource setInputSource(InputSource value)
The InputSource
of the resource. Only supported for CSS-type resources.
Configuration.Resource
instance.Configuration.setUserStyleSheets(Resource...)
public Configuration.Resource setData(byte[] value)
The binary data of the resource.
Configuration.Resource
instance.Configuration.setMergeDocuments(Resource...)
public Configuration.Resource setBeforeDocumentScripts(Boolean value)
Use true
to cause PDFreactor to run the
script before all scripts inside the document and false
to run it after.
Only supported for JavaScript-type resources.
Configuration.Resource
instance.Configuration.setUserScripts(Resource...)
This doc was generated on 2024-06-12. Copyright © 2002-2024 RealObjects GmbH. All Rights Reserved.