Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class

# MergeXFDFOptions

extends OptionsBase

java.lang.Object
↳ | com.pdftron.pdf.OptionsBase
| ↳ | com.pdftron.pdf.MergeXFDFOptions

## Summary

Public Constructors
| MergeXFDFOptions() Constructor.
| MergeXFDFOptions(String json_string) Constructor.

Public Methods
boolean | getForce() Gets the value Force from the options object.
boolean | getUseNonStandardRotation() Gets the value UseNonStandardRotation from the options object.
MergeXFDFOptions | setForce(boolean value) Sets the value for Force in the options object.
MergeXFDFOptions | setUseNonStandardRotation(boolean value) Sets the value for UseNonStandardRotation in the options object.

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Constructors

#### public MergeXFDFOptions ()

Constructor.

##### Throws

PDFNetException |

#### public MergeXFDFOptions (String json_string)

Constructor.

##### Throws

PDFNetException |

## Public Methods

#### public boolean getForce ()

Gets the value Force from the options object. If true, merge will be performed even if the conditions below are true. If false, the MergeXFDF operation will be aborted with exception if one of these conditions is true: 1)xfdf contains annotations with no 'name' attribute 2)annotations in pdf or xfdf have names that are not unique, i.e. multiple annotations in the same document have the same name. In order for the merge operation to work correctly, all the annotations in xfdf need to have a unique 'name' attribute. If pdf document has unnamed annotatations (no 'NM' attribute), xfdf files generated using Apryse SDK will still have names that will allow the MergeXFDF algorithm to work.

##### Returns

- If true, merge will be performed even if the conditions below are true. If false, the MergeXFDF operation will be aborted with exception if one of these conditions is true: 1)xfdf contains annotations with no 'name' attribute 2)annotations in pdf or xfdf have names that are not unique, i.e. multiple annotations in the same document have the same name. In order for the merge operation to work correctly, all the annotations in xfdf need to have a unique 'name' attribute. If pdf document has unnamed annotatations (no 'NM' attribute), xfdf files generated using Apryse SDK will still have names that will allow the MergeXFDF algorithm to work.

##### Throws

PDFNetException |

#### public boolean getUseNonStandardRotation ()

Gets the value UseNonStandardRotation from the options object. Whether we should use rotation in the annotation even if it is not a multiple of 90. Off by default.

##### Returns

- Whether we should use rotation in the annotation even if it is not a multiple of 90. Off by default.

##### Throws

PDFNetException |

#### public MergeXFDFOptions setForce (boolean value)

Sets the value for Force in the options object. If true, merge will be performed even if the conditions below are true. If false, the MergeXFDF operation will be aborted with exception if one of these conditions is true: 1)xfdf contains annotations with no 'name' attribute 2)annotations in pdf or xfdf have names that are not unique, i.e. multiple annotations in the same document have the same name. In order for the merge operation to work correctly, all the annotations in xfdf need to have a unique 'name' attribute. If pdf document has unnamed annotatations (no 'NM' attribute), xfdf files generated using Apryse SDK will still have names that will allow the MergeXFDF algorithm to work.

##### Parameters

value | If true, merge will be performed even if the conditions below are true. If false, the MergeXFDF operation will be aborted with exception if one of these conditions is true: 1)xfdf contains annotations with no 'name' attribute 2)annotations in pdf or xfdf have names that are not unique, i.e. multiple annotations in the same document have the same name. In order for the merge operation to work correctly, all the annotations in xfdf need to have a unique 'name' attribute. If pdf document has unnamed annotatations (no 'NM' attribute), xfdf files generated using Apryse SDK will still have names that will allow the MergeXFDF algorithm to work.

##### Returns

- This object, for call chaining.

##### Throws

PDFNetException |

#### public MergeXFDFOptions setUseNonStandardRotation (boolean value)

Sets the value for UseNonStandardRotation in the options object. Whether we should use rotation in the annotation even if it is not a multiple of 90. Off by default.

##### Parameters

value | Whether we should use rotation in the annotation even if it is not a multiple of 90. Off by default.

##### Returns

- This object, for call chaining.

##### Throws

PDFNetException |