@NoIntersections @SingleOutputAllowedExtensions @HasSelectedPages public class ExtractPagesParameters extends SinglePdfSourceSingleOutputParameters implements PageRangeSelection, PagesSelection
| Constructor and Description |
|---|
ExtractPagesParameters()
Creates and empty instance where page selection can be set
|
ExtractPagesParameters(PredefinedSetOfPages predefinedSetOfPages)
Creates an instance using a predefined set of pages to extract.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAllPageRanges(Collection<PageRange> ranges) |
void |
addPageRange(PageRange range) |
boolean |
equals(Object other) |
Set<Integer> |
getPages(int upperLimit) |
Set<PageRange> |
getPageSelection() |
PredefinedSetOfPages |
getPredefinedSetOfPages() |
PdfSource<?> |
getSource() |
int |
hashCode() |
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 ExtractPagesParameters()
public ExtractPagesParameters(PredefinedSetOfPages predefinedSetOfPages)
predefinedSetOfPages - public void addPageRange(PageRange range)
public void addAllPageRanges(Collection<PageRange> ranges)
public PredefinedSetOfPages getPredefinedSetOfPages()
public Set<PageRange> getPageSelection()
getPageSelection in interface PageRangeSelectionpublic Set<Integer> getPages(int upperLimit)
getPages in interface PagesSelectionupperLimit - the number of pages of the document (upper limit).PageRange set or the natural order in
case of PredefinedSetOfPages.PagesSelection.getPages(int)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.