Class SwapPages

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

public class SwapPages extends ReorderPages
Swaps two pages in the document.
See Also:
  • Constructor Details

    • SwapPages

      public SwapPages(PdfOptimizer pdfOptimizer, int page1, int page2)
      Swaps two pages in the document.
      Parameters:
      pdfOptimizer - the PdfOptimizer object for the currently loaded document
      page1 - the 1st page to swap
      page2 - the 2nd page to swap