Package org.jpedal.manipulator
Class MovePage
java.lang.Object
org.jpedal.manipulator.ReorderPages
org.jpedal.manipulator.MovePage
- All Implemented Interfaces:
org.jpedal.manipulator.Manipulation
Move a page to the specified index.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMovePage(PdfOptimizer pdfOptimizer, int page, int index) Move a page to the specified index. -
Method Summary
-
Constructor Details
-
MovePage
Move a page to the specified index.- Parameters:
pdfOptimizer- the PdfOptimizer object for the currently loaded documentpage- the page to moveindex- the index to insert the page before, all following pages are shifted by 1. Page indexes start from 1. To append a page to the end of the file, supply 1 higher than the final page index.
-