kakwa / libvisio2svg

Library/Tools to convert Microsoft (MS) Visio documents (VSS and VSD) to SVG
GNU General Public License v2.0
112 stars 21 forks source link

Do you know of any libraries that do the reverse? SVG to VSD or VSDX #28

Closed queuebit closed 4 years ago

queuebit commented 4 years ago

Are you aware of any libraries that convert SVG files to VSD or VSDX files for use in Visio?

kakwa commented 4 years ago

I've not looked into it very deeply.

However, for .vsd, I will not be confident such library exists as it's an undocumented binary format, reverse engineering it and parsing it is already hard enough, and somewhat incomplete (libvisio), writting a valid file would be next to impossible.

There are more hopes around vsdx as the format is xml based and somewhat public. From what I see, there are a few libraries in the Java world capable of handling VSDX (at least reading, but also writing it seems) such as Apache POI.

In term of tools/libraries directly doing the svg to vsdx conversion, I just don't know, but I would looked projects using Apache POI as dependency if I were to search for one.