Exporting an HTML Bundle
You can export an HTML Bundle, which is a ZIP file containing the generated HTML report and all associated image files. To generate an HTML Bundle, first create an OutputStream to be used by the Builder, and get the Builder to generate the HTML Bundle.
FileOutputStream os = new FileOutputStream(filename);
Builder builder =
Builder.getBuilder(Builder.HTML_BUNDLE, os, ".");
builder.write(sheet);
The HTML Bundle is generated by the Builder class using inetsoft.report.io.HTMLFormatter. The Builder seamlessly handles writing to the ZipOutputStream.
Setting the property on ReportEnv as described above also controls the type of image file, JPEG or PNG.
| << Image Files | © 1996-2013 InetSoft Technology Corporation (v11.4) | Setting the DHTML Meta-Data Information >> |