Package com.lowagie.tools.arguments

Examples of com.lowagie.tools.arguments.StringArgument


   * Constructs an 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", String.class.getName()));
  }
View Full Code Here


    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",
                                   String.class.getName()));
    arguments.add(new StringArgument(this, "fontsize",
                                   "The fontsize of the watermark text",
                                   String.class.getName()));
    arguments.add(new StringArgument(this, "opacity",
                                   "The opacity of the watermark text",
                                   String.class.getName()));
    destfile = new FileArgument(this, "destfile",
                                   "The file to which the watermarked PDF has to be written",
                                   true, new PdfFilter());
View Full Code Here

   */
  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)", String.class.getName()));
  }
View Full Code Here

TOP

Related Classes of com.lowagie.tools.arguments.StringArgument

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.