Package org.pentaho.reporting.engine.classic.core.modules.gui.plaintext

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.plaintext.PlainTextExportDialog


  {
    if ("true".equals(System.getProperty("java.awt.headless", "false")))
    {
      return;
    }
    final PlainTextExportDialog d = new PlainTextExportDialog();
    d.setModal(true);
    d.setEncoding("Cp850");
    assertEquals("Cp850", d.getEncoding());

    d.setSelectedPrinter(PlainTextExportDialog.TYPE_EPSON9_OUTPUT);
    assertEquals("Cp850", d.getEncoding());

    d.setSelectedPrinter(PlainTextExportDialog.TYPE_EPSON24_OUTPUT);
    assertEquals("Cp850", d.getEncoding());

    d.setSelectedPrinter(PlainTextExportDialog.TYPE_IBM_OUTPUT);
    assertEquals("Cp850", d.getEncoding());

    d.setSelectedPrinter(PlainTextExportDialog.TYPE_PLAIN_OUTPUT);
    assertEquals("Cp850", d.getEncoding());
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.gui.plaintext.PlainTextExportDialog

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.