Exports MindFusion.Diagramming diagrams to Excel Open XML Format (XLSX) files.
Namespace: com.mindfusion.diagramming.export
Package: com.mindfusion.diagramming.export
SyntaxJava
Copy Code
|
|---|
public class ExcelExporter |
RemarksDiagrams are exported as Excel AutoShapes drawings. The export overload that takes a DiagramDocument parameter creates a sheet for each DiagramPage in the document. The export(Diagram) overload creates a single Excel sheet.
You must set the TemplatePath property before exporting to specify where the exporter should look for its template file.
ExampleJava
Copy Code
|
|---|
| ExcelExporter ex = new ExcelExporter(); ex.setTemplatePath( templatesFolder + "/ExcelTemplate.xlt"); ex.export(diagram, fileChooser.getSelectedFile().getAbsolutePath()); |
Inheritance Hierarchyjava.lang.Object![]()
com.mindfusion.diagramming.export.ExcelExporter
See Also