Class MovePage

java.lang.Object
org.jpedal.manipulator.ReorderPages
org.jpedal.manipulator.MovePage
All Implemented Interfaces:
org.jpedal.manipulator.Manipulation

public class MovePage extends ReorderPages
Move a page to the specified index.
See Also:
  • Constructor Details

    • MovePage

      public MovePage(PdfOptimizer pdfOptimizer, int page, int index)
      Move a page to the specified index.
      Parameters:
      pdfOptimizer - the PdfOptimizer object for the currently loaded document
      page - the page to move
      index - 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.