@Deprecated public static class Configuration.ScriptResource extends Configuration.Resource
Deprecated as of PDFreactor 9. Use Configuration.Resource
instead.
Constructor and Description |
---|
ScriptResource()
Deprecated.
|
ScriptResource(String content,
String uri,
Boolean beforeDocumentScripts)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Configuration.ScriptResource |
setBeforeDocumentScripts(Boolean value)
Deprecated.
Use
true to cause PDFreactor to run the
script before all scripts inside the document and false
to run it after. |
Configuration.ScriptResource |
setContent(String value)
Deprecated.
The content of the resource.
|
Configuration.ScriptResource |
setUri(String value)
Deprecated.
The URI of the resource.
|
setData, setInputSource
public ScriptResource()
@Deprecated public ScriptResource(String content, String uri, Boolean beforeDocumentScripts)
public Configuration.ScriptResource setContent(String value)
The content of the resource. Only supported for Style Sheet- and Script-type resources.
setContent
in class Configuration.Resource
Configuration.Resource
instance.Configuration.setUserStyleSheets(Resource...)
,
Configuration.setXsltStyleSheets(Resource...)
,
Configuration.setUserScripts(Resource...)
public Configuration.ScriptResource setUri(String value)
The URI of the resource.
setUri
in class Configuration.Resource
Configuration.Resource
instance.public Configuration.ScriptResource 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.
setBeforeDocumentScripts
in class Configuration.Resource
Configuration.Resource
instance.Configuration.setUserScripts(Resource...)
This doc was generated on 2024-06-12. Copyright © 2002-2024 RealObjects GmbH. All Rights Reserved.