@SingleOutputAllowedExtensions public class MergeParameters extends AbstractPdfOutputParameters implements SingleOutputTaskParameters
| Constructor and Description |
|---|
MergeParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInput(PdfMergeInput input)
adds the given input to the list of inputs for the merge task.
|
boolean |
equals(Object other) |
List<PdfMergeInput> |
getInputList() |
OutlinePolicy |
getOutlinePolicy() |
SingleTaskOutput<?> |
getOutput() |
String |
getOutputName() |
int |
hashCode() |
boolean |
isBlankPageIfOdd() |
boolean |
isCopyFormFields() |
void |
setBlankPageIfOdd(boolean blankPageIfOdd)
Setting this true tells the task to add a blank page after each merged document if the number of pages is odd.
|
void |
setCopyFormFields(boolean copyFormFields)
Setting this true tells the task to try to merge form fields if any of the input document has forms.
|
void |
setOutlinePolicy(OutlinePolicy outlinePolicy)
The policy that the merge task should use when handling the outline tree (bookmarks)
|
void |
setOutput(SingleTaskOutput<?> output)
Sets the output destination
|
void |
setOutputName(String outputName) |
getMinRequiredPdfVersion, getVersion, isCompress, setCompress, setVersionisOverwrite, setOverwrite, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisOverwritepublic SingleTaskOutput<?> getOutput()
getOutput in interface TaskParameterspublic void setOutput(SingleTaskOutput<?> output)
SingleOutputTaskParameterssetOutput in interface SingleOutputTaskParameterspublic List<PdfMergeInput> getInputList()
public String getOutputName()
getOutputName in interface SingleOutputTaskParameterspublic void setOutputName(String outputName)
outputName - the outputName to be used when the output is not a file destinationpublic void addInput(PdfMergeInput input)
input - public boolean isCopyFormFields()
public boolean isBlankPageIfOdd()
public void setBlankPageIfOdd(boolean blankPageIfOdd)
blankPageIfOdd - public void setCopyFormFields(boolean copyFormFields)
copyFormFields - public OutlinePolicy getOutlinePolicy()
public void setOutlinePolicy(OutlinePolicy outlinePolicy)
outlinePolicy - public int hashCode()
hashCode in class AbstractPdfOutputParameterspublic boolean equals(Object other)
equals in class AbstractPdfOutputParametersCopyright © 2015. All Rights Reserved.