DynamicPDF by ceTe Software

com.cete.dynamicpdf.merger
Class MergeOptions

java.lang.Object
  extended by com.cete.dynamicpdf.merger.MergeOptions

public class MergeOptions
extends java.lang.Object

Currently the only merge option is whether or not to preserve the form fields on the PDF being merged in. Specifying true will keep the form fields on the merged PDF where specifying false will remove the form fields from the PDF.

Licensing:
This class is a DynamicPDF Merger Standard Edition feature. One of the following licenses is required for non-evaluation usage:

View Example


Constructor Summary
MergeOptions()
          Initializes a new instance of the MergeOptions class.
MergeOptions(boolean mergeFormFields)
          Initializes a new instance of the MergeOptions class.
MergeOptions(boolean mergeFormFields, java.lang.String rootFormField)
          Initializes a new instance of the MergeOptions class.
 
Method Summary
static MergeOptions getAll()
          Gets a MergeOptions object with all options set to true.
 boolean getAllOtherData()
          Gets a value indicating if all other document data should be imported.
static MergeOptions getAppend()
          Gets a MergeOptions object that you would typically use when appending documents.
 boolean getDocumentInfo()
          Gets a value indicating if document information should be imported.
 boolean getDocumentJavaScript()
          Gets a value indicating if document level JavaScript should be imported.
 boolean getDocumentProperties()
          Gets a value indicating if document properties should be imported.
 boolean getEmbeddedFiles()
          Gets a value indicating if the Embeddedfiles should be imported.
 boolean getFormFields()
          Gets a value indicating if form fields should be imported.
 boolean getFormsXfaData()
          Gets a value indicating if form XFA data should be imported.
 boolean getLogicalStructure()
          Gets the value indicating if logical structure should be imported.
static MergeOptions getNone()
          Gets a MergeOptions object with all options set to false.
 boolean getOpenAction()
          Gets a value indicating if the documents openning action (initial page and zoom settings) should be imported.
 boolean getOptionalContentInfo()
          Gets a value indicating if OptionalContent should be imported.
 boolean getOutlines()
          Gets a value indicating if outlines and bookmarks should be imported.
 boolean getOutputIntent()
          Gets a value indicating if OutputIntent should be imported.
 boolean getPageAnnotations()
          Gets a value indicating if annotations should be imported.
 boolean getPageLabelsAndSections()
          Gets a value indicating if page labels and sections should be imported.
 java.lang.String getRootFormField()
          Gets the root form field.
 Outline getRootOutline()
          Gets the root outline for imported outlines.
 boolean getXmpMetadata()
          Gets a value indicating if Xmp Metadata should be imported.
 void setAllOtherData(boolean value)
          Sets a value indicating if all other document data should be imported.
 void setDocumentInfo(boolean value)
          Sets a value indicating if document information should be imported.
 void setDocumentJavaScript(boolean value)
          Sets a value indicating if document level JavaScript should be imported.
 void setDocumentProperties(boolean value)
          Sets a value indicating if document properties should be imported.
 void setEmbeddedFiles(boolean value)
          Sets a value indicating if the Embeddedfiles should be imported.
 void setFormFields(boolean value)
          Sets a value indicating if form fields should be imported.
 void setFormsXfaData(boolean value)
          Sets a value indicating if form XFA data should be imported.
 void setLogicalStructure(boolean logicalStructure)
          Sets the value indicating if logical structure should be imported.
 void setOpenAction(boolean value)
          Sets a value indicating if the documents openning action (initial page and zoom settings) should be imported.
 void setOptionalContentInfo(boolean value)
          Sets a value indicating if OptionalContent should be imported.
 void setOutLines(boolean value)
          Sets a value indicating if outlines and bookmarks should be imported.
 void setOutputIntent(boolean value)
          Sets a value indicating if OutputIntent should be imported.
 void setPageAnnotations(boolean value)
          Sets a value indicating if annotations should be imported.
 void setPageLabelsAndSections(boolean value)
          Sets a value indicating if page labels and sections should be imported.
 void setRootFormField(java.lang.String rootFormField)
          Sets the root form field.
 void setRootOutLine(Outline value)
          Sets the root outline for imported outlines.
 void setXmpMetaData(boolean value)
          Sets a value indicating if Xmp Metadata should be imported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeOptions

public MergeOptions(boolean mergeFormFields)
Initializes a new instance of the MergeOptions class.

Parameters:
mergeFormFields - A value indicating if form fields should be merged.

MergeOptions

public MergeOptions(boolean mergeFormFields,
                    java.lang.String rootFormField)
Initializes a new instance of the MergeOptions class.

Parameters:
mergeFormFields - A value indicating if form fields should be merged.
rootFormField - The root form field that all merged form fields will be placed under.

MergeOptions

public MergeOptions()
Initializes a new instance of the MergeOptions class.

Method Detail

getFormFields

public boolean getFormFields()
Gets a value indicating if form fields should be imported.

Returns:
boolean value indicating if form fields should be imported.

setFormFields

public void setFormFields(boolean value)
Sets a value indicating if form fields should be imported.

Parameters:
value - indicating if form fields should be imported.

getFormsXfaData

public boolean getFormsXfaData()
Gets a value indicating if form XFA data should be imported.

Returns:
boolean value indicating if form XFA data should be imported.

setFormsXfaData

public void setFormsXfaData(boolean value)
Sets a value indicating if form XFA data should be imported.

Parameters:
value - indicating if form XFA data should be imported.

getPageAnnotations

public boolean getPageAnnotations()
Gets a value indicating if annotations should be imported.

Returns:
boolean value indicating if annotations should be imported.

setPageAnnotations

public void setPageAnnotations(boolean value)
Sets a value indicating if annotations should be imported.

Parameters:
value - indicating if annotations should be imported.

getOutlines

public boolean getOutlines()
Gets a value indicating if outlines and bookmarks should be imported.

Returns:
boolean value indicating if outlines and bookmarks should be imported.

setOutLines

public void setOutLines(boolean value)
Sets a value indicating if outlines and bookmarks should be imported.

Parameters:
value - indicating if outlines and bookmarks should be imported.

getDocumentInfo

public boolean getDocumentInfo()
Gets a value indicating if document information should be imported.

Returns:
boolean value indicating if document information should be imported.

setDocumentInfo

public void setDocumentInfo(boolean value)
Sets a value indicating if document information should be imported.

Parameters:
value - indicating if document information should be imported.

getDocumentProperties

public boolean getDocumentProperties()
Gets a value indicating if document properties should be imported.

Returns:
boolean value indicating if document properties should be imported.

setDocumentProperties

public void setDocumentProperties(boolean value)
Sets a value indicating if document properties should be imported.

Parameters:
value - indicating if document properties should be imported.

getOpenAction

public boolean getOpenAction()
Gets a value indicating if the documents openning action (initial page and zoom settings) should be imported.

Returns:
boolean value indicating if the documents openning action (initial page and zoom settings) should be imported.

setOpenAction

public void setOpenAction(boolean value)
Sets a value indicating if the documents openning action (initial page and zoom settings) should be imported.

Parameters:
value - indicating if the documents openning action (initial page and zoom settings) should be imported.

getAllOtherData

public boolean getAllOtherData()
Gets a value indicating if all other document data should be imported.

Returns:
boolean value indicating if all other document data should be imported.

setAllOtherData

public void setAllOtherData(boolean value)
Sets a value indicating if all other document data should be imported.

Parameters:
value - indicating if all other document data should be imported.

getDocumentJavaScript

public boolean getDocumentJavaScript()
Gets a value indicating if document level JavaScript should be imported.

Returns:
boolean value indicating if document level JavaScript should be imported.

setDocumentJavaScript

public void setDocumentJavaScript(boolean value)
Sets a value indicating if document level JavaScript should be imported.

Parameters:
value - A boolean valueindicating if document level JavaScript should be imported.

getEmbeddedFiles

public boolean getEmbeddedFiles()
Gets a value indicating if the Embeddedfiles should be imported.

Returns:
a boolean value indicating if the Embeddedfiles should be imported.

setEmbeddedFiles

public void setEmbeddedFiles(boolean value)
Sets a value indicating if the Embeddedfiles should be imported.

Parameters:
value - A boolean value indicating if the Embeddedfiles should be imported.

getPageLabelsAndSections

public boolean getPageLabelsAndSections()
Gets a value indicating if page labels and sections should be imported.

Returns:
boolean value indicating if page labels and sections should be imported.

setPageLabelsAndSections

public void setPageLabelsAndSections(boolean value)
Sets a value indicating if page labels and sections should be imported.

Parameters:
value - indicating if page labels and sections should be imported.

getXmpMetadata

public boolean getXmpMetadata()
Gets a value indicating if Xmp Metadata should be imported.

Returns:
boolean value indicating if Xmp Metadata should be imported.

setXmpMetaData

public void setXmpMetaData(boolean value)
Sets a value indicating if Xmp Metadata should be imported.

Parameters:
value - indicating if Xmp Metadata should be imported.

getLogicalStructure

public boolean getLogicalStructure()
Gets the value indicating if logical structure should be imported.

Returns:
boolean value indicating if logical structure should be imported.

setLogicalStructure

public void setLogicalStructure(boolean logicalStructure)
Sets the value indicating if logical structure should be imported.

Parameters:
logicalStructure - indicating if logical structure should be imported.

getOutputIntent

public boolean getOutputIntent()
Gets a value indicating if OutputIntent should be imported.

Returns:
boolean value indicating if OutputIntent data should be imported.

setOutputIntent

public void setOutputIntent(boolean value)
Sets a value indicating if OutputIntent should be imported.

Parameters:
value - indication if OutputIntent should be imported

getRootOutline

public Outline getRootOutline()
Gets the root outline for imported outlines.

Returns:
Outline the root outline for imported outlines.

setRootOutLine

public void setRootOutLine(Outline value)
Sets the root outline for imported outlines.

Parameters:
value - the root outline for imported outlines.

setRootFormField

public void setRootFormField(java.lang.String rootFormField)
Sets the root form field.

Parameters:
rootFormField - The root form field.

getRootFormField

public java.lang.String getRootFormField()
Gets the root form field.

Returns:
The root form field.

getOptionalContentInfo

public boolean getOptionalContentInfo()
Gets a value indicating if OptionalContent should be imported.

Returns:
optional content

setOptionalContentInfo

public void setOptionalContentInfo(boolean value)
Sets a value indicating if OptionalContent should be imported.

Parameters:
value - the Output Content to be imported.

getAll

public static MergeOptions getAll()
Gets a MergeOptions object with all options set to true.

Returns:
MergeOptions object with all options set to true.

getAppend

public static MergeOptions getAppend()
Gets a MergeOptions object that you would typically use when appending documents.

Returns:
MergeOptions object that you would typically use when appending documents.

getNone

public static MergeOptions getNone()
Gets a MergeOptions object with all options set to false.

Returns:
MergeOptions object with all options set to false.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software