Package com.lowagie.toolbox.arguments.filters

Examples of com.lowagie.toolbox.arguments.filters.PdfFilter


   */
  public RemoveLaunchApplication() {
    menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW;
    arguments.add(new FileArgument(this, "srcfile",
                                   "The file from which you want to remove Launch Application actions", false,
                                   new PdfFilter()));
    arguments.add(new FileArgument(this, "destfile",
                                   "The file to which the cleaned up version of the original PDF has to be written", true,
                                   new PdfFilter()));
  }
View Full Code Here


  /**
   * Constructs an HtmlBookmarks object.
   */
  public HtmlBookmarks() {
    arguments.add(new FileArgument(this, "srcfile", "The file you want to inspect", false, new PdfFilter()));
    arguments.add(new StringArgument(this, "ownerpassword", "The owner password if the file is encrypt"));
    arguments.add(new StringArgument(this, "css", "The path to a CSS file"));
  }
View Full Code Here

   */
  public KnitTiff() {
    menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW;
    arguments.add(new FileArgument(this, "odd", "The tiff file with the odd pages", false, new ImageFilter(false, false, false, false, false, true)));
    arguments.add(new FileArgument(this, "even", "The tiff file with the even pages", false, new ImageFilter(false, false, false, false, false, true)));
    arguments.add(new FileArgument(this, "destfile", "The file to which the converted TIFF has to be written", true, new PdfFilter()));
  }
View Full Code Here

  /**
   * Constructs a Handouts object.
   */
  public Handouts() {
    arguments.add(new FileArgument(this, "srcfile", "The file you want to convert", false, new PdfFilter()));
    arguments.add(new FileArgument(this, "destfile", "The file to which the Handout has to be written", true, new PdfFilter()));
    OptionArgument oa = new OptionArgument(this, "pages", "The number of pages you want on one handout page");
    oa.addOption("2 pages on 1", "2");
    oa.addOption("3 pages on 1", "3");
    oa.addOption("4 pages on 1", "4");
    oa.addOption("5 pages on 1", "5");
View Full Code Here

  /**
   * Constructs a SelectedPages object.
   */
  public SelectedPages() {
    menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW;
    arguments.add(new FileArgument(this, "srcfile", "The file you want to split", false, new PdfFilter()));
    arguments.add(new FileArgument(this, "destfile", "The file to which the first part of the original PDF has to be written", true, new PdfFilter()));
    arguments.add(new StringArgument(this, "selection", "A selection of pages (see Help for more info)"));
  }
View Full Code Here

        arguments.add(new FileArgument(this, "srcdir",
                "The directory containing the image files", false,
                                       new DirFilter()));
        arguments.add(new FileArgument(this, "destfile",
                "The file to which the converted TIFF has to be written", true,
                                       new PdfFilter()));
    }
View Full Code Here

        menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW;
        arguments.add(new FileArrayArgument(this, "srcfiles",
                                            "The list of PDF files"));
        arguments.add(new FileArgument(this, "destfile",
                "The file to which the concatenated PDF has to be written", true,
                                       new PdfFilter()));
    }
View Full Code Here

  /**
   * Constructs a Burst object.
   */
  public Burst() {
    FileArgument f = new FileArgument(this, "srcfile", "The file you want to split", false, new PdfFilter());
    f.setLabel(new PdfInformationPanel());
    arguments.add(f);
  }
View Full Code Here

  /**
   * Constructs an NUp object.
   */
  public NUp() {
    menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW;
    arguments.add(new FileArgument(this, "srcfile", "The file you want to N-up", false, new PdfFilter()));
    arguments.add(new FileArgument(this, "destfile", "The resulting PDF", true, new PdfFilter()));
    OptionArgument oa = new OptionArgument(this, "pow2", "The number of pages you want to copy to 1 page");
    oa.addOption("2", "1");
    oa.addOption("4", "2");
    oa.addOption("8", "3");
    oa.addOption("16", "4");
View Full Code Here

    public Add3D() {
        super();
        menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW;
        FileArgument inputfile = new FileArgument(this, "srcfile",
                                                  "The file you want to add the u3d File", false,
                                                  new PdfFilter());
        arguments.add(inputfile);
        FileArgument u3dinputfile = new FileArgument(this, "srcu3dfile",
                "The u3d file you want to add", false,
                new U3DFilter());
        arguments.add(u3dinputfile);
        StringArgument pagenumber = new StringArgument(this, "pagenumber",
                                   "The pagenumber where to add the u3d annotation");
                           pagenumber.setValue("1");
        arguments.add(pagenumber);
        destfile = new FileArgument(this, "destfile",
                                    "The file that contains the u3d annotation after processing",
                                    true, new PdfFilter());
        arguments.add(destfile);
        inputfile.addPropertyChangeListener(destfile);
    }
View Full Code Here

TOP

Related Classes of com.lowagie.toolbox.arguments.filters.PdfFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.