Internal setter, used by document load processors to record permissions parsed from the file.
LoadOptions()
public LoadOptions()
Initializes a new instance of LoadOptions class.
getPassword()
public final String getPassword()
Gets or sets password to open a protected document.
It will be also used to save signed document as protected.
Returns:
java.lang.String
setPassword(String value)
public final void setPassword(String value)
Gets or sets password to open a protected document.
It will be also used to save signed document as protected.
Parameters:
Parameter
Type
Description
value
java.lang.String
getLoadExternalResources()
public final boolean getLoadExternalResources()
Gets or sets options that specifies if external document resources should be loaded.
This option with disabled value (false) allows to save loading time for the documents with many or large external resource links.
By default value is enabled (true).
Returns:
boolean
setLoadExternalResources(boolean value)
public final void setLoadExternalResources(boolean value)
Gets or sets options that specifies if external document resources should be loaded.
This option with disabled value (false) allows to save loading time for the documents with many or large external resource links.
By default value is enabled (true).
Parameters:
Parameter
Type
Description
value
boolean
getPermissions()
public final Integer getPermissions()
The PDF document permissions such as printing, modification and data extraction.
Only for PDF documents. Read-only \u2014 populated automatically while loading the document.
The value is a flags combination from Permissions.
Returns:
java.lang.Integer
setPermissions(Integer value)
public final void setPermissions(Integer value)
Internal setter, used by document load processors to record permissions parsed from the file.
Parameters:
Parameter
Type
Description
value
java.lang.Integer
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.