Examples of StringArgument


Examples of com.lowagie.toolbox.arguments.StringArgument

        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"));
View Full Code Here

Examples of com.lowagie.toolbox.arguments.StringArgument

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

   * 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.StringArgument

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

   * 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");
    oa.addOption("128 bit encryption", "128");
    arguments.add(oa);
View Full Code Here

Examples of com.lowagie.toolbox.arguments.StringArgument

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

Examples of com.lowagie.toolbox.arguments.StringArgument

   * 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"));
    arguments.add(new ColorArgument(this, "backgroundcolor", "The backgroundcolor of the DVD Cover (for instance 0xFFFFFF)"));
    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

Examples of com.lowagie.toolbox.arguments.StringArgument

   * 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.StringArgument

        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"));
View Full Code Here

Examples of com.lowagie.toolbox.arguments.StringArgument

   * 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"));
    arguments.add(new ColorArgument(this, "backgroundcolor", "The backgroundcolor of the DVD Cover (for instance 0xFFFFFF)"));
    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
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.