LoadOptions

Inheritance: java.lang.Object

public class LoadOptions

Options used to load a document.

Constructors

ConstructorDescription
LoadOptions()Initializes a new instance of the LoadOptions class.

Methods

MethodDescription
getDocumentPassword()Gets or sets a password for the encrypted document content.
getLoadHistory()Gets or sets a value indicating whether a document loader should ignore the history.
setDocumentPassword(String value)Gets or sets a password for the encrypted document content.
setLoadHistory(boolean value)Gets or sets a value indicating whether a document loader should ignore the history.

LoadOptions()

public LoadOptions()

Initializes a new instance of the LoadOptions class.

getDocumentPassword()

public String getDocumentPassword()

Gets or sets a password for the encrypted document content. Value is ignored in case the document is not password protected.

Returns: java.lang.String

getLoadHistory()

public boolean getLoadHistory()

Gets or sets a value indicating whether a document loader should ignore the history. Use this option to decrease memory and CPU usage. Default value is true.

Returns: boolean

setDocumentPassword(String value)

public void setDocumentPassword(String value)

Gets or sets a password for the encrypted document content. Value is ignored in case the document is not password protected.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setLoadHistory(boolean value)

public void setLoadHistory(boolean value)

Gets or sets a value indicating whether a document loader should ignore the history. Use this option to decrease memory and CPU usage. Default value is true.

Parameters:

ParameterTypeDescription
valueboolean