public class PageRanges extends Object
Constructor and Description |
---|
PageRanges()
Constructs a new PageRanges instance with no pages added.
|
Modifier and Type | Method and Description |
---|---|
void |
addAll()
Adds a page range representing all pages.
|
void |
addAllFrom(int start)
Adds a page range from
start page index to the last page. |
void |
addRange(int start,
int end)
Adds a page range.
|
void |
addSinglePage(int page)
Adds a single page.
|
List<com.adobe.pdfservices.operation.internal.options.PageRange> |
getRanges()
Used internally by this SDK, not intended to be called by clients.
|
boolean |
isEmpty()
Used internally by this SDK, not intended to be called by clients.
|
String |
toString()
Used internally by this SDK, not intended to be called by clients.
|
void |
validate()
Used internally by this SDK, not intended to be called by clients.
|
public PageRanges()
public void addSinglePage(int page)
page
- single page indexpublic void addRange(int start, int end)
start
- start page index, inclusiveend
- end page index, inclusivepublic void addAllFrom(int start)
start
page index to the last page. Page index starts from 1.start
- start page indexpublic void addAll()
public String toString()
public void validate()
public boolean isEmpty()
public List<com.adobe.pdfservices.operation.internal.options.PageRange> getRanges()
Copyright © 2022 Adobe. All rights reserved.