Examples of PdfFilter


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

  /**
   * Constructs a Decrypt object.
   */
  public Decrypt() {
    arguments.add(new FileArgument(this, "srcfile", "The file you want to decrypt", false, new PdfFilter()));
    arguments.add(new FileArgument(this, "destfile", "The file to which the decrypted PDF has to be written", true, new PdfFilter()));
    arguments.add(new StringArgument(this, "ownerpassword", "The ownerpassword you want to add to the PDF file"));
  }
View Full Code Here

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

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

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

   * Constructs a Txt2Pdf object.
   */
  public Txt2Pdf() {
    menuoptions = MENU_EXECUTE | MENU_EXECUTE_SHOW | MENU_EXECUTE_PRINT_SILENT;
    arguments.add(new FileArgument(this, "srcfile", "The file you want to convert", false));
    arguments.add(new FileArgument(this, "destfile", "The file to which the converted text has to be written", true, new PdfFilter()));
    PageSizeArgument oa1 = new PageSizeArgument(this, "pagesize", "Pagesize");
    arguments.add(oa1);
    OptionArgument oa2 = new OptionArgument(this, "orientation", "Orientation of the page");
    oa2.addOption("Portrait", "PORTRAIT");
    oa2.addOption("Landscape", "LANDSCAPE");
View Full Code Here

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

  /**
   * Constructs a Burst object.
   */
  public CompressDecompressPageContent() {
    FileArgument f = new FileArgument(this, "srcfile", "The file you want to compress/decompress", false, new PdfFilter());
    f.setLabel(new PdfInformationPanel());
    arguments.add(f);
    arguments.add(new FileArgument(this, "destfile", "The file to which the compressed/decompressed PDF has to be written", true, new PdfFilter()));
    OptionArgument oa = new OptionArgument(this, "compress", "compress");
    oa.addOption("Compress page content", "true");
    oa.addOption("Decompress page content", "false");
    arguments.add(oa);
  }
View Full Code Here

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

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

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

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

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

  /**
   * 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"));
    arguments.add(new StringArgument(this, "userpassword", "The userpassword you want to add to the PDF file"));
    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

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

        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

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

   * 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

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

  /**
   * Constructs an InpectPDF object.
   */
  public InspectPDF() {
    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"));
  }
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.