@NoIntersections public class PdfMergeInput extends Object implements PageRangeSelection, PagesSelection, MergeInput
Constructor and Description |
---|
PdfMergeInput(PdfSource<?> source) |
PdfMergeInput(PdfSource<?> source,
Set<PageRange> pageSelection) |
Modifier and Type | Method and Description |
---|---|
void |
addAllPageRanges(Collection<PageRange> ranges) |
void |
addPageRange(PageRange range) |
boolean |
equals(Object other) |
Set<Integer> |
getPages(int totalNumberOfPage) |
Set<PageRange> |
getPageSelection() |
PdfSource<?> |
getSource() |
int |
hashCode() |
boolean |
isAllPages() |
String |
toString() |
public PdfMergeInput(PdfSource<?> source)
public PdfSource<?> getSource()
public Set<PageRange> getPageSelection()
getPageSelection
in interface PageRangeSelection
public void addPageRange(PageRange range)
public void addAllPageRanges(Collection<PageRange> ranges)
public boolean isAllPages()
public Set<Integer> getPages(int totalNumberOfPage)
getPages
in interface PagesSelection
totalNumberOfPage
- the number of pages of the document (upper limit).PageRange
set.PagesSelection.getPages(int)
Copyright © 2019 sejda. All rights reserved.