@SingleOutputAllowedExtensions public class SetPagesLabelParameters extends SinglePdfSourceSingleOutputParameters
Ex. if the parameters contain two labels, "label1" for physical page 1 and "label2" for physical page 5, the resulting document will have pages 1 to 4 where "label1" is applied and pages 5 till the end of the document where "label2" is applied.
| Constructor and Description |
|---|
SetPagesLabelParameters() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<Integer,PdfPageLabel> |
getLabels() |
PdfSource<?> |
getSource() |
int |
hashCode() |
PdfPageLabel |
putLabel(Integer page,
PdfPageLabel label)
Associates the given label to the given page number.
|
void |
setSource(PdfSource<?> source)
Set the source for this parameter.
|
getOutput, getOutputName, setOutput, setOutputNamegetMinRequiredPdfVersion, getVersion, isCompress, setCompress, setVersionisOverwrite, setOverwrite, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisOverwritepublic PdfPageLabel putLabel(Integer page, PdfPageLabel label)
page - label - public Map<Integer,PdfPageLabel> getLabels()
public int hashCode()
hashCode in class SinglePdfSourceSingleOutputParameterspublic boolean equals(Object other)
equals in class SinglePdfSourceSingleOutputParameterspublic PdfSource<?> getSource()
getSource in interface SinglePdfSourceTaskParameterspublic void setSource(PdfSource<?> source)
SinglePdfSourceTaskParameterssetSource in interface SinglePdfSourceTaskParametersCopyright © 2015. All Rights Reserved.