本文整理汇总了Java中ro.nextreports.engine.exporter.PdfExporter类的典型用法代码示例。如果您正苦于以下问题:Java PdfExporter类的具体用法?Java PdfExporter怎么用?Java PdfExporter使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PdfExporter类属于ro.nextreports.engine.exporter包,在下文中一共展示了PdfExporter类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: printParameters
import ro.nextreports.engine.exporter.PdfExporter; //导入依赖的package包/类
private void printParameters() {
LOG.info("-------------------------------------");
LOG.info("Next Reports Parameters : ");
LOG.info("nextreports.user.data" + " = " + System.getProperty("nextreports.user.data"));
LOG.info("nextreports.log" + " = " + System.getProperty("nextreports.log"));
LOG.info("spy.log" + " = " + System.getProperty("spy.log"));
LOG.info("db.spy" + " = " + Globals.getConfig().getString("db.spy"));
LOG.info("console.file" + " = " + Globals.getConfig().getString("console.file"));
LOG.info("singlesource.autoconnect" + " = " + Globals.singleSourceAutoConnect());
LOG.info(PdfExporter.PDF_ENCODING_PROPERTY + " = " + System.getProperty(PdfExporter.PDF_ENCODING_PROPERTY));
LOG.info(PdfExporter.PDF_FONT_PROPERTY + " = " + System.getProperty(PdfExporter.PDF_FONT_PROPERTY));
LOG.info(PdfExporter.PDF_DIRECTION + " = " + System.getProperty(PdfExporter.PDF_DIRECTION));
LOG.info(PdfExporter.PDF_ARABIC_OPTIONS + " = " + System.getProperty(PdfExporter.PDF_ARABIC_OPTIONS));
LOG.info("font.directories" + " = " + Arrays.asList(Globals.getFontDirectories()));
LOG.info(OracleDialect.ORACLE_CLIENT_PROPERTY + " = " + System.getProperty(OracleDialect.ORACLE_CLIENT_PROPERTY));
LOG.info("query.timeout" + " = " + Globals.getQueryTimeout());
LOG.info("max.rows.checked" + " = " + Globals.isMaxChecked());
LOG.info("accessibility.html" + " = " + Globals.getAccessibilityHtml());
LOG.info("A4.warning" + " = " + Globals.getA4Warning());
LOG.info("csv.delimiter" + " = " + Globals.getCsvDelimiter());
LOG.info("ruler.isVisible" + " = " + Globals.isRulerVisible());
LOG.info("ruler.unit" + " = " + Globals.getRulerUnit());
LOG.info("chart.webserver.port" + " = " + Globals.getChartWebServerPort());
LOG.info("locale" + " = " + Locale.getDefault());
LOG.info(EngineProperties.RUN_PRIORITY_PROPERTY + " = " + EngineProperties.getRunPriority());
LOG.info(EngineProperties.RECORDS_YIELD_PROPERTY + " = " + EngineProperties.getRecordsYield());
LOG.info(EngineProperties.MILLIS_YIELD_PROPERTY + " = " + EngineProperties.getMillisYield());
LOG.info("-------------------------------------");
}
示例2: printNextReportsParameters
import ro.nextreports.engine.exporter.PdfExporter; //导入依赖的package包/类
private static void printNextReportsParameters() {
System.out.println("#####################################");
System.out.println("Next Reports Parameters : ");
System.out.println(PdfExporter.PDF_ENCODING_PROPERTY + " = " + System.getProperty(PdfExporter.PDF_ENCODING_PROPERTY));
System.out.println(PdfExporter.PDF_FONT_PROPERTY + " = " + System.getProperty(PdfExporter.PDF_FONT_PROPERTY));
System.out.println("#####################################");
}
示例3: getResultExporter
import ro.nextreports.engine.exporter.PdfExporter; //导入依赖的package包/类
@Override
protected ResultExporter getResultExporter(ExporterBean bean) {
ResultExporter exporter = new PdfExporter(bean);
exporter.setImageChartPath(Globals.USER_DATA_DIR + "/reports");
return exporter;
}
示例4: setPdfEncoding
import ro.nextreports.engine.exporter.PdfExporter; //导入依赖的package包/类
public static void setPdfEncoding() {
setProperty(PdfExporter.PDF_ENCODING_PROPERTY);
}
示例5: setPdfFont
import ro.nextreports.engine.exporter.PdfExporter; //导入依赖的package包/类
public static void setPdfFont() {
setProperty(PdfExporter.PDF_FONT_PROPERTY);
}
示例6: setPdfDirection
import ro.nextreports.engine.exporter.PdfExporter; //导入依赖的package包/类
public static void setPdfDirection() {
setProperty(PdfExporter.PDF_DIRECTION);
}
示例7: setPdfArabicOptions
import ro.nextreports.engine.exporter.PdfExporter; //导入依赖的package包/类
public static void setPdfArabicOptions() {
setProperty(PdfExporter.PDF_ARABIC_OPTIONS);
}