Exports MindFusion.Diagramming diagrams to Excel Open XML Format (XLSX) files.
Namespace: com.mindfusion.diagramming.export
Package: com.mindfusion.diagramming.export
Java
![]() |
---|
public class ExcelExporter |
Diagrams 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.
Java
![]() |
---|
ExcelExporter ex = new ExcelExporter(); ex.setTemplatePath( templatesFolder + "/ExcelTemplate.xlt"); ex.export(diagram, fileChooser.getSelectedFile().getAbsolutePath()); |
java.lang.Object
com.mindfusion.diagramming.export.ExcelExporter