Package com.lowagie.tools.arguments.filters

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


  /**
   * 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 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", String.class.getName()));
    arguments.add(new StringArgument(this, "css", "The path to a CSS file", String.class.getName()));
  }
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 an Encrypt object.
   */
  public Encrypt() {
    arguments.add(new FileArgument(this, "srcfile", "The file you want to encrypt", false, new PdfFilter()));
    arguments.add(new FileArgument(this, "destfile", "The file to which the encrypted PDF has to be written", true, new PdfFilter()));
    arguments.add(new StringArgument(this, "ownerpassword", "The ownerpassword you want to add to the PDF file", String.class.getName()));
    arguments.add(new StringArgument(this, "userpassword", "The userpassword you want to add to the PDF file", String.class.getName()));
    arguments.add(new BitsetArgument(this, "permissions", "Permissions on the file", PERMISSION_OPTIONS));
    OptionArgument oa = new OptionArgument(this, "strength", "Strength of the encryption");
    oa.addOption("40 bit encryption", "40");
View Full Code Here

  }
  /**
   * 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 StringArgument(this, "pagenumber", "The pagenumber where you want to split", String.class.getName()));
  }
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();
        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);
        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

  /**
   * Constructs a DvdCover object.
   */
  public DvdCover() {
    menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW | MENU_EXECUTE_PRINT;
    arguments.add(new FileArgument(this, "destfile", "The file to which the PDF has to be written", true, new PdfFilter()));
    arguments.add(new StringArgument(this, "title", "The title of the DVD", String.class.getName()));
    arguments.add(new StringArgument(this, "backgroundcolor", "The backgroundcolor of the DVD Cover (for instance 0xFFFFFF)", Color.class.getName()));
    arguments.add(new ImageArgument(this, "front", "The front image of the DVD Cover"));
    arguments.add(new ImageArgument(this, "back", "The back image of the DVD Cover"));
    arguments.add(new ImageArgument(this, "side", "The side image of the DVD Cover"));
View Full Code Here

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

   * Constructs an Divide object.
   */
  public Divide() {
    menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW;
    arguments.add(new FileArgument(this, "srcfile",
        "The file you want to divide", false, new PdfFilter()));
    arguments.add(new FileArgument(this, "destfile", "The resulting PDF",
        true, new PdfFilter()));
  }
View Full Code Here

TOP

Related Classes of com.lowagie.tools.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.