Search
ExcelExporter Class
Remarks See Also
 

Exports MindFusion.Diagramming diagrams to Excel Open XML Format (XLSX) files.

Namespace: com.mindfusion.diagramming.export
Package: com.mindfusion.diagramming.export

 Syntax

Java  Copy Code

public class ExcelExporter

 Remarks

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.

 Example

Java  Copy Code
ExcelExporter ex = new ExcelExporter();
ex.setTemplatePath(
    templatesFolder + "/ExcelTemplate.xlt");
ex.export(diagram, fileChooser.getSelectedFile().getAbsolutePath());

 Inheritance Hierarchy

java.lang.Object
    com.mindfusion.diagramming.export.ExcelExporter

 See Also