Class RemovePage

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

public class RemovePage extends Object implements Manipulation
Removes pages from a document
  • Constructor Details

    • RemovePage

      public RemovePage(PdfOptimizer pdfOptimizer, PageRanges pages)
      Deletes the specified pages.
      Parameters:
      pdfOptimizer - the PdfOptimizer object for the currently loaded document
      pages - the pages to delete in the new file
  • Method Details

    • apply

      public void apply(org.jpedal.io.annotation.utils.AnnotInfo info) throws IOException
      Description copied from interface: Manipulation
      Applies the manipulation to the current document
      Specified by:
      apply in interface Manipulation
      Parameters:
      info - the AnnotInfo object for the currently loaded document
      Throws:
      IOException - if the manipulation cannot be applied to the document