Package com.lowagie.tools.arguments

Examples of com.lowagie.tools.arguments.OptionArgument.addOption()


    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);
  }

  /**
   * @see com.lowagie.tools.AbstractTool#createFrame()
View Full Code Here


    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");
    arguments.add(oa2);
  }

  /**
 
View Full Code Here

    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");
    arguments.add(oa2);
  }

  /**
   * @see com.lowagie.tools.AbstractTool#createFrame()
View Full Code Here

    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

    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);
  }

  /**
   * @see com.lowagie.tools.AbstractTool#createFrame()
View Full Code Here

   */
  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");
    oa.addOption("6 pages on 1", "6");
    oa.addOption("7 pages on 1", "7");
View Full Code Here

  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");
    oa.addOption("6 pages on 1", "6");
    oa.addOption("7 pages on 1", "7");
    oa.addOption("8 pages on 1", "8");
View Full Code Here

    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");
    oa.addOption("6 pages on 1", "6");
    oa.addOption("7 pages on 1", "7");
    oa.addOption("8 pages on 1", "8");
    arguments.add(oa);
View Full Code Here

    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");
    oa.addOption("6 pages on 1", "6");
    oa.addOption("7 pages on 1", "7");
    oa.addOption("8 pages on 1", "8");
    arguments.add(oa);
  }
View Full Code Here

    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");
    oa.addOption("6 pages on 1", "6");
    oa.addOption("7 pages on 1", "7");
    oa.addOption("8 pages on 1", "8");
    arguments.add(oa);
  }
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.