Author: msahyoun
Date: Thu Mar 14 16:52:40 2019
New Revision: 1855538
URL: http://svn.apache.org/viewvc?rev=1855538&view=rev
Log:
PDFBOX-4487: add missing setter for DocumentMergeMode
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java?rev=1855538&r1=1855537&r2=1855538&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
Thu Mar 14 16:52:40 2019
@@ -149,7 +149,6 @@ public class PDFMergerUtility
sources = new ArrayList<Object>();
}
-
/**
* Get the merge mode to be used for merging AcroForms between documents
*
@@ -171,6 +170,26 @@ public class PDFMergerUtility
}
/**
+ * Set the merge mode to be used for merging documents
+ *
+ * {@link DocumentMergeMode}
+ */
+ public void setDocumentMergeMode(DocumentMergeMode theDocumentMergeMode)
+ {
+ this.documentMergeMode = theDocumentMergeMode;
+ }
+
+ /**
+ * Get the merge mode to be used for merging documents
+ *
+ * {@link DocumentMergeMode}
+ */
+ public DocumentMergeMode getDocumentMergeMode()
+ {
+ return documentMergeMode;
+ }
+
+ /**
* Get the name of the destination file.
*
* @return Returns the destination.
|