Examples of PdfFilter


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

  /**
   * Constructs an XML2Bookmarks object.
   */
  public XML2Bookmarks() {
    arguments.add(new FileArgument(this, "xmlfile", "the bookmarks in XML", false));
    arguments.add(new FileArgument(this, "pdffile", "the PDF to which you want to add bookmarks", false, new PdfFilter()));
    arguments.add(new FileArgument(this, "destfile", "the resulting PDF", true, new PdfFilter()));
  }
View Full Code Here

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

     */
    public Watermarker() {
        super();
        FileArgument inputfile = new FileArgument(this, "srcfile",
                                                  "The file you want to watermark", false,
                                                  new PdfFilter());
        arguments.add(inputfile);
        arguments.add(new StringArgument(this, "watermark",
                                         "The text that can be used as watermark"));
        arguments.add(new IntegerArgument(this, "fontsize",
                                         "The fontsize of the watermark text"));
        arguments.add(new FloatArgument(this, "opacity",
                                         "The opacity of the watermark text"));
        destfile = new FileArgument(this, "destfile",
                                    "The file to which the watermarked PDF has to be written",
                                    true, new PdfFilter());
        arguments.add(destfile);
        inputfile.addPropertyChangeListener(destfile);
    }
View Full Code Here

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

  /**
   * 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

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

  /**
   * 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

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

        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

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

  }
  /**
   * Constructs an Split object.
   */
  public Split() {
    FileArgument f = new FileArgument(this, "srcfile", "The file you want to split", false, new PdfFilter());
    f.setLabel(new PdfInformationPanel());
    arguments.add(f);
    arguments.add(new FileArgument(this, "destfile1", "The file to which the first part of the original PDF has to be written", true, new PdfFilter()));
    arguments.add(new FileArgument(this, "destfile2", "The file to which the second part of the original PDF has to be written", true, new PdfFilter()));
    arguments.add(new IntegerArgument(this, "pagenumber", "The pagenumber where you want to split"));
  }
View Full Code Here

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

    * Constructs a Concat object.
    */
   public Concat()
   {
      menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW;
      arguments.add(new FileArgument(this, "srcfile1", "The first PDF file", false, new PdfFilter()));
      arguments.add(new FileArgument(this, "srcfile2", "The second PDF file", false, new PdfFilter()));
      arguments.add(new FileArgument(this, "destfile", "The file to which the concatenated PDF has to be written", true, new PdfFilter()));
   }
View Full Code Here

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

  /**
   * Constructs an Bookmarks2XML object.
   */
  public Bookmarks2XML() {
    arguments.add(new FileArgument(this, "pdffile", "the PDF from which you want to extract bookmarks", false, new PdfFilter()));
    arguments.add(new FileArgument(this, "xmlfile", "the resulting bookmarks file in XML", true));
  }
View Full Code Here

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

   * Constructs a Tiff2Pdf object.
   */
  public Tiff2Pdf() {
    menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW;
    arguments.add(new FileArgument(this, "srcfile", "The file you want to convert", 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()));
    OptionArgument oa = new OptionArgument(this, "pagesize", "Pagesize");
    oa.addOption("A4", "A4");
    oa.addOption("Letter", "LETTER");
    oa.addOption("Original format", "ORIGINAL");
    arguments.add(oa);
View Full Code Here

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

  /**
   * Creates a ViewImageXObjects object.
   */
  public ImageXRefViewer() {
    arguments.add(new FileArgument(this, "srcfile",
        "The file you want to inspect", false, new PdfFilter()));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.