Package org.jpedal.manipulator
Class IsolatePage
java.lang.Object
org.jpedal.manipulator.IsolatePage
- All Implemented Interfaces:
Manipulation
Removes all pages, expect those specified, from a document
-
Constructor Summary
ConstructorsConstructorDescriptionIsolatePage
(PdfOptimizer pdfOptimizer, PageRanges pages) Removes all pages from the document except the pages in the specified page range. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.jpedal.io.annotation.utils.AnnotInfo info) Applies the manipulation to the current document
-
Constructor Details
-
IsolatePage
Removes all pages from the document except the pages in the specified page range.- Parameters:
pdfOptimizer
- the PdfOptimizer object for the currently loaded documentpages
- the pages to keep
-
-
Method Details
-
apply
Description copied from interface:Manipulation
Applies the manipulation to the current document- Specified by:
apply
in interfaceManipulation
- Parameters:
info
- theAnnotInfo
object for the currently loaded document- Throws:
IOException
- if the manipulation cannot be applied to the document
-