public class StraightToEverything extends Object
| Constructor and Description |
|---|
StraightToEverything(String filename)
Creates a new demo application.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
createCSV(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
Saves a report to CSV format.
|
static void |
createDirectoryHTML(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
Saves a report to HTML.
|
static boolean |
createPDF(org.pentaho.reporting.engine.classic.core.MasterReport report,
String fileName)
Saves a report to PDF format.
|
static void |
createPlainText(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
Saves a report to plain text format.
|
static void |
createRTF(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
Saves a report to rich-text format (RTF).
|
static void |
createStreamHTML(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
Saves a report into a single HTML format.
|
static void |
createXLS(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
Saves a report to Excel format.
|
static void |
createZIPHTML(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
Saves a report in a ZIP file.
|
static void |
main(String[] args)
Demo starting point.
|
public StraightToEverything(String filename) throws org.pentaho.reporting.libraries.xmlns.parser.ParseException
filename - the output filename.org.pentaho.reporting.libraries.xmlns.parser.ParseException - if the report could not be parsed.public static boolean createPDF(org.pentaho.reporting.engine.classic.core.MasterReport report,
String fileName)
report - the report.fileName - target file name.public static void createPlainText(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
throws Exception
report - the report.filename - target file name.Exception - if an error occurs.public static void createRTF(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
throws Exception
report - the report.filename - target file name.Exception - if an error occurs.public static void createCSV(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
throws Exception
report - the report.filename - target file name.Exception - if an error occurs.public static void createXLS(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
throws Exception
report - the report.filename - target file name.Exception - if an error occurs.public static void createStreamHTML(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
throws Exception
report - the report.filename - target file name.Exception - if an error occurs.public static void createDirectoryHTML(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
throws Exception
report - the report.filename - target file name.Exception - if an error occurs.public static void createZIPHTML(org.pentaho.reporting.engine.classic.core.MasterReport report,
String filename)
throws Exception
report - the report.filename - target file name.Exception - if an error occurs.public static void main(String[] args)
args - ignored.Copyright © 2018 Hitachi Vantara. All rights reserved.