public class

PDFAOptions

extends OptionsBase
java.lang.Object
   ↳ com.pdftron.pdf.OptionsBase
     ↳ com.pdftron.pdf.pdfa.PDFAOptions

Summary

Public Constructors
PDFAOptions(int level)
Constructor.
PDFAOptions(String json_string)
Constructor.
Public Methods
int getConformance()
Gets the value Conformance from the options object The PDF/A conformance level.
int getDPI()
Gets the value DPI from the options object DPI used for flattening.
boolean getFirstStop()
Gets the value FirstStop from the options object Whether to stop processing after the first PDF/A error is detected.
boolean getFlattenTransparency()
Gets the value FlattenTransparency from the options object Whether to flatten transparency in PDF/A-1 mode.
int getMaxRefObjs()
Gets the value MaxRefObjs from the options object The maximum number of object references per error condition.
String getPassword()
Gets the value Password from the options object The password to be used for encrypted PDF documents.
PDFAOptions setConformance(int value)
Sets the value for Conformance in the options object The PDF/A conformance level.
PDFAOptions setDPI(int value)
Sets the value for DPI in the options object DPI used for flattening.
PDFAOptions setFirstStop(boolean value)
Sets the value for FirstStop in the options object Whether to stop processing after the first PDF/A error is detected.
PDFAOptions setFlattenTransparency(boolean value)
Sets the value for FlattenTransparency in the options object Whether to flatten transparency in PDF/A-1 mode.
PDFAOptions setMaxRefObjs(int value)
Sets the value for MaxRefObjs in the options object The maximum number of object references per error condition.
PDFAOptions setPassword(String value)
Sets the value for Password in the options object The password to be used for encrypted PDF documents.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PDFAOptions (int level)

Constructor.

Parameters
level The PDF/A conformance level.

public PDFAOptions (String json_string)

Constructor.

Public Methods

public int getConformance ()

Gets the value Conformance from the options object The PDF/A conformance level.

Returns
  • a int, The PDF/A conformance level.

public int getDPI ()

Gets the value DPI from the options object DPI used for flattening.

Returns
  • a int, DPI used for flattening..

public boolean getFirstStop ()

Gets the value FirstStop from the options object Whether to stop processing after the first PDF/A error is detected.

Returns
  • a boolean, Whether to stop processing after the first PDF/A error is detected..

public boolean getFlattenTransparency ()

Gets the value FlattenTransparency from the options object Whether to flatten transparency in PDF/A-1 mode.

Returns
  • a boolean, Whether to flatten transparency in PDF/A-1 mode..

public int getMaxRefObjs ()

Gets the value MaxRefObjs from the options object The maximum number of object references per error condition.

Returns
  • a int, The maximum number of object references per error condition..

public String getPassword ()

Gets the value Password from the options object The password to be used for encrypted PDF documents.

Returns
  • a String, The password to be used for encrypted PDF documents..

public PDFAOptions setConformance (int value)

Sets the value for Conformance in the options object The PDF/A conformance level.

Returns
  • this object, for call chaining

public PDFAOptions setDPI (int value)

Sets the value for DPI in the options object DPI used for flattening.

Returns
  • this object, for call chaining

public PDFAOptions setFirstStop (boolean value)

Sets the value for FirstStop in the options object Whether to stop processing after the first PDF/A error is detected.

Returns
  • this object, for call chaining

public PDFAOptions setFlattenTransparency (boolean value)

Sets the value for FlattenTransparency in the options object Whether to flatten transparency in PDF/A-1 mode.

Returns
  • this object, for call chaining

public PDFAOptions setMaxRefObjs (int value)

Sets the value for MaxRefObjs in the options object The maximum number of object references per error condition.

Returns
  • this object, for call chaining

public PDFAOptions setPassword (String value)

Sets the value for Password in the options object The password to be used for encrypted PDF documents.

Returns
  • this object, for call chaining