Save Visio as VSDX in Java

Hello,


Current version of Java Aspose.Diagram saves Visio in XML format and size of output file is quite large when there are a lot of shapes. Output Visio file has size more than 150Mb in our case. I’ve found in the forum that you are developing opportunity to save file in VSDX format (MS Visio 2013) for .NET (DIAGRAMNET-50015), but there is no any information about Java and when the feature will be ready. Could you say when Aspose.Diagram will be able to save file in VSDX in Java?

Hi John,


Thank you for contacting support. Please note, saving Visio diagrams in VSDX is a complex task and we have a less number of this feature requests. The saving of Visio diagram in VSDX format(DIAGRAMNET-50015) support is expected in the second half of year 2015. It’s all depend if everything goes by plan.

Regarding its support in the Java version, Aspose.Diagram for Java is fully auto-ported from its .NET version. Once this feature is available in its .NET version, then from the next couple of Java releases, this feature will be automatically added. However, for confirmation purposes, we have logged a separate feature request for its Java version under ticket id DIAGRAMJAVA-50157 in our issue tracking system. We’ll let you know once a significant progress has been made in this regard. We’re sorry for the inconvenience caused.

Hi John,


In addition to the above reply. In general, we don’t recommend large scale Visio diagrams, because the complexity and large size of the Visio diagram can be the cause of errors, slow processing and the large size resultant files. Our recommendations to reduce diagram size are as follows:

  1. Reduce the number of grouped shapes.
  2. Remove unused master shapes.
  3. Split a multiple-page drawing into separate drawings.
  4. Remove unused themes, data graphics and styles

Second, please also save Visio diagrams in XML format using the Microsoft Office Visio and compare its size with Aspose.Diagram’s resultant file size. If you think that the Aspose.Diagram APIs is generating larger size files than the Microsoft Office Visio, then please provide us those sample diagrams. We’ll take a closer look and answer you accordingly.

Hello,


Thanks for answers. VSDX is not binary format, it is new XML format (http://blogs.office.com/2012/09/10/vsdx-the-new-visio-file-format/). We will try to reduce number of shapes because it is main that gives large size file

Hi John,


Thanks to clarify about the VSDX format and accept our apology for this. Sure, please reduce the number of shapes specially group shapes and feel free to let us know regarding any further assistance.

The issues you have found earlier (filed as DIAGRAMNET-50015) have been fixed in Aspose.Diagram for .NET 5.8.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as DIAGRAMJAVA-50157) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.