public class

PDFUAOptions

extends OptionsBase
java.lang.Object
   ↳ com.pdftron.pdf.OptionsBase
     ↳ com.pdftron.pdf.pdfua.PDFUAOptions

Summary

Public Constructors
PDFUAOptions()
Constructor.
PDFUAOptions(String json_string)
Constructor.
Public Methods
int getConformanceLevel()
Gets the value ConformanceLevel from the options object.
boolean getFirstStop()
Gets the value FirstStop from the options object.
int getMaxRefObjs()
Gets the value MaxRefObjs from the options object.
String getPassword()
Gets the value Password from the options object.
boolean getSaveLinearized()
Gets the value SaveLinearized from the options object.
PDFUAOptions setConformanceLevel(int value)
Sets the value for ConformanceLevel in the options object.
PDFUAOptions setFirstStop(boolean value)
Sets the value for FirstStop in the options object.
PDFUAOptions setMaxRefObjs(int value)
Sets the value for MaxRefObjs in the options object.
PDFUAOptions setPassword(String value)
Sets the value for Password in the options object.
PDFUAOptions setSaveLinearized(boolean value)
Sets the value for SaveLinearized in the options object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PDFUAOptions ()

Constructor.

public PDFUAOptions (String json_string)

Constructor.

Public Methods

public int getConformanceLevel ()

Gets the value ConformanceLevel from the options object. The PDF/UA conformance level. By default the conformance level is PDF/UA-1.

Returns
  • The PDF/UA conformance level. By default the conformance level is PDF/UA-1.

public boolean getFirstStop ()

Gets the value FirstStop from the options object. Whether to stop processing after the first PDF/UA error is detected. By default, processing continues.

Returns
  • Whether to stop processing after the first PDF/UA error is detected. By default, processing continues.

public int getMaxRefObjs ()

Gets the value MaxRefObjs from the options object. The maximum number of object references per error condition. This is 10 by default.

Returns
  • The maximum number of object references per error condition. This is 10 by default.

public String getPassword ()

Gets the value Password from the options object. The password to be used for encrypted PDF documents. By default, no password is used.

Returns
  • The password to be used for encrypted PDF documents. By default, no password is used.

public boolean getSaveLinearized ()

Gets the value SaveLinearized from the options object. Whether to linearize when saving converted output. By default, the output is not linearized.

Returns
  • Whether to linearize when saving converted output. By default, the output is not linearized.

public PDFUAOptions setConformanceLevel (int value)

Sets the value for ConformanceLevel in the options object. The PDF/UA conformance level. By default the conformance level is PDF/UA-1.

Parameters
value The PDF/UA conformance level. By default the conformance level is PDF/UA-1.
Returns
  • This object, for call chaining.

public PDFUAOptions setFirstStop (boolean value)

Sets the value for FirstStop in the options object. Whether to stop processing after the first PDF/UA error is detected. By default, processing continues.

Parameters
value Whether to stop processing after the first PDF/UA error is detected. By default, processing continues.
Returns
  • This object, for call chaining.

public PDFUAOptions setMaxRefObjs (int value)

Sets the value for MaxRefObjs in the options object. The maximum number of object references per error condition. This is 10 by default.

Parameters
value The maximum number of object references per error condition. This is 10 by default.
Returns
  • This object, for call chaining.

public PDFUAOptions setPassword (String value)

Sets the value for Password in the options object. The password to be used for encrypted PDF documents. By default, no password is used.

Parameters
value The password to be used for encrypted PDF documents. By default, no password is used.
Returns
  • This object, for call chaining.

public PDFUAOptions setSaveLinearized (boolean value)

Sets the value for SaveLinearized in the options object. Whether to linearize when saving converted output. By default, the output is not linearized.

Parameters
value Whether to linearize when saving converted output. By default, the output is not linearized.
Returns
  • This object, for call chaining.