Package com.aowagie.text.pdf
Class PdfReader.PageRefs
java.lang.Object
com.aowagie.text.pdf.PdfReader.PageRefs
- Enclosing class:
PdfReader
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivatePageRefs(PdfReader.PageRefs other, PdfReader reader) -
Method Summary
Modifier and TypeMethodDescriptiongetPageN(int pageNum) Gets the dictionary that represents a page.getPageNRelease(int pageNum) getPageOrigRef(int pageNum) Gets the page reference to this page.private PRIndirectReferencegetSinglePage(int n) (package private) voidinsertPage(int pageNum, PRIndirectReference ref) private voiditeratePages(PRIndirectReference rpage) private voidprivate voidprivate voidpushPageAttributes(PdfDictionary nodePages) (package private) voidvoidreleasePage(int pageNum) voidprivate voidselectPages(List pagesToKeep) private intsize()
-
Field Details
-
reader
-
refsp
-
refsn
-
pageInh
-
lastPageRead
private int lastPageRead -
sizep
private int sizep -
keepPages
private boolean keepPages
-
-
Constructor Details
-
PageRefs
- Throws:
IOException
-
PageRefs
-
-
Method Details
-
size
private int size() -
readPages
- Throws:
IOException
-
getPageN
Gets the dictionary that represents a page.- Parameters:
pageNum- the page number. 1 is the first- Returns:
- the page dictionary
-
getPageNRelease
- Parameters:
pageNum-- Returns:
- a dictionary object
-
getPageOrigRef
Gets the page reference to this page.- Parameters:
pageNum- the page number. 1 is the first- Returns:
- the page reference
-
keepPages
private void keepPages() -
releasePage
public void releasePage(int pageNum) - Parameters:
pageNum-
-
resetReleasePage
public void resetReleasePage() -
insertPage
-
pushPageAttributes
-
popPageAttributes
private void popPageAttributes() -
iteratePages
- Throws:
IOException
-
getSinglePage
-
selectPages
-