Form.FlattenSettings

Inheritance: java.lang.Object

public static class Form.FlattenSettings

Class which describes settings for Form flattening procedure.

Constructors

ConstructorDescription
FlattenSettings()

Methods

MethodDescription
getUpdateAppearances()If set, all field appearances will be regenerated before flattening.
setUpdateAppearances(boolean value)If set, all field appearances will be regenerated before flattening.
getCallEvents()If set, formatting and other JavaScript events will be called.
setCallEvents(boolean value)If set, formatting and other JavaScript events will be called.
isHideButtons()If set, buttons will be removed from flattened document.
setHideButtons(boolean value)If set, buttons will be removed from flattened document.
getApplyRedactions()If true, redaction specified Redaction annotation will be applied
setApplyRedactions(boolean value)If true, redaction specified Redaction annotation will be applied

FlattenSettings()

public FlattenSettings()

getUpdateAppearances()

public boolean getUpdateAppearances()

If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance. By default set to false.

Returns: boolean - boolean value

setUpdateAppearances(boolean value)

public void setUpdateAppearances(boolean value)

If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance. By default set to false.

Parameters:

ParameterTypeDescription
valuebooleanboolean value

getCallEvents()

public boolean getCallEvents()

If set, formatting and other JavaScript events will be called. True by default.

Returns: boolean - boolean value

setCallEvents(boolean value)

public void setCallEvents(boolean value)

If set, formatting and other JavaScript events will be called. True by default.

Parameters:

ParameterTypeDescription
valuebooleanboolean value

isHideButtons()

public boolean isHideButtons()

If set, buttons will be removed from flattened document. False by default.

Returns: boolean - boolean value

setHideButtons(boolean value)

public void setHideButtons(boolean value)

If set, buttons will be removed from flattened document. False by default.

Parameters:

ParameterTypeDescription
valuebooleanboolean value

getApplyRedactions()

public final boolean getApplyRedactions()

If true, redaction specified Redaction annotation will be applied

Returns: boolean - boolean value

setApplyRedactions(boolean value)

public final void setApplyRedactions(boolean value)

If true, redaction specified Redaction annotation will be applied

Parameters:

ParameterTypeDescription
valuebooleanboolean value