Package org.jpedal.manipulator
Class RemovePage
java.lang.Object
org.jpedal.manipulator.RemovePage
- All Implemented Interfaces:
Manipulation
Removes pages from a document
-
Constructor Summary
ConstructorsConstructorDescriptionRemovePage
(PdfOptimizer pdfOptimizer, PageRanges pages) Deletes the specified pages. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.jpedal.io.annotation.utils.AnnotInfo info) Applies the manipulation to the current document
-
Constructor Details
-
RemovePage
Deletes the specified pages.- Parameters:
pdfOptimizer
- the PdfOptimizer object for the currently loaded documentpages
- the pages to delete in the new file
-
-
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
-