API-icon.png

Unknown macro: floating-toc

Create Reports

This page shows you, how to create a report via script in jBEAM. The table below shows a collection of different report types.

Report Exports

TypeClass (com.AMS.jBEAM)
VIDEO_FILEQuicktime Video
SVG_FILEScalable vector graphic
HTML_FILEHTMKL File
PDF_FILEPDF
WORD_FILEWord 2003 XML File
PP_FILEPower Point File
IMAGE_EXPORTjBEAM Graphics File

Report Export Sample

import com.AMS.jBEAM.*;
 
// export component type
int exportType = jbComponentIF.PDF_FILE;
jbComponentDescriptionIF cd = jC.getComponentDescription(exportType);
boolean pdfResolved = cd.isResolved();
// PDF export is available
if (pdfResolved) {
 // get PDF export file
  exportFile = new  ("D:\\export.pdf");
 FileImportExport.exportReport(jG, exportType, exportFile);
} 

See also


Copyright by Kistler Chemnitz GmbH 2021
XWiki Enterprise 4.4 - Documentation