Package com.levigo.jadice.server.pdf
Class PDFMergeNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.pdf.PDFMergeNode
-
public class PDFMergeNode extends Node
ThisNode
merges a set of input PDF documents into a single output document containing all pages of the input document in order.Its worker respects
PageCountLimit
s.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Field Summary
Fields Modifier and Type Field Description static String
HIDE_FROM_OUTLINE
If this flag is set totrue
inStreamDescriptor.getProperties()
the appropriate part file is hidden in the outline of the resulting PDF file.
-
Constructor Summary
Constructors Constructor Description PDFMergeNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getWorkerClassName()
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name.boolean
isKeepOriginalPageLabels()
void
setKeepOriginalPageLabels(boolean keepOriginalPageLabels)
PDF documents may contain page labels (as defined in PDF 32000-1:2008, 12.4.2 Page Labels).-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Field Detail
-
HIDE_FROM_OUTLINE
public static final String HIDE_FROM_OUTLINE
If this flag is set totrue
inStreamDescriptor.getProperties()
the appropriate part file is hidden in the outline of the resulting PDF file.- See Also:
- Constant Field Values
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Description copied from class:Node
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name. By default, the worker class name is- The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
- The node class name with an appended "Worker" otherwise.
This behavior can be overridden in concrete subclasses.
- Overrides:
getWorkerClassName
in classNode
- Returns:
- the full qualified class name of the worker of this node.
-
isKeepOriginalPageLabels
public boolean isKeepOriginalPageLabels()
- Returns:
- if original PDF page labels shall be kept (default:
true
) - Since:
- jadice server 5.5.0.0
-
setKeepOriginalPageLabels
public void setKeepOriginalPageLabels(boolean keepOriginalPageLabels)
PDF documents may contain page labels (as defined in PDF 32000-1:2008, 12.4.2 Page Labels). With this property jadice server may keep or may ignore them when merging PDF documents.- Parameters:
keepOriginalPageLabels
- iftrue
the original page labels will be kept- Since:
- jadice server 5.5.0.0
-
-