Vladimir Kravets
Vladimir Kravets

Reputation: 330

Java API for vsd or vdx file generation

Is there any library to generate Visio files from Java?

DatadiagramML schema (vdx) is availible on http://www.microsoft.com/en-us/download/details.aspx?id=23976, but it looks very complicated and I hope for any API?

Upvotes: 2

Views: 3083

Answers (2)

saveenr
saveenr

Reputation: 8619

Some Options for You:

VisioAutomation.VDX

I wrote a library called "VisioAutomation.VDX" that may be of some help to you. It is written in C# but should be a straightforward conversion to Java.

You can get the source code here: https://github.com/saveenr/VisioAutomation

pkgVisio

http://pkgvisio.codeplex.com/

For the Visio 2013 XML format

Upvotes: 2

user9182
user9182

Reputation:

Visio's own API is a COM API therefore if your application is on Windows you could use a Java to COM bridge and use Visio to generate the drawings. You may have to purchase a Visio license for each PC running you application and there are licensing restrictions on using this method in a server scenario.

An alternative which you may want to consider is using a library which generates a non-Visio file format Visio supports such as SVG.

Upvotes: 0

Related Questions