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
ConstructorsModifierConstructorDescriptionprivate
private
PageRefs
(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 PRIndirectReference
getSinglePage
(int n) (package private) void
insertPage
(int pageNum, PRIndirectReference ref) private void
iteratePages
(PRIndirectReference rpage) private void
private void
private void
pushPageAttributes
(PdfDictionary nodePages) (package private) void
void
releasePage
(int pageNum) void
private void
selectPages
(List pagesToKeep) private int
size()
-
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
-