Programatically create Visio drawing on a linux server

廉价感情. 提交于 2020-02-04 03:46:27

问题


Is it possible to create Visio drawings from a Linux server ?

That is, without access to the Visio software. Language can be python, php, C ..


回答1:


Short answer: Yes

There are a couple of options available to you:

1 - Generate VDX or VSDX files. These are XML-based formats that Visio can read. (VSDX is new and can only be read by Visio 2013). If you can generate XML files on Linux then you can create these files. I wrote such a library that can help create VDX files - Look for VisioAutomation.VDX here: http://visioautomation.codeplex.com/ also you could look at http://pkgvisio.codeplex.com/.

2 - Generate VSD. This is a binary format and harder to create. LibreOffice has a library to generate this format. Also the "Aspose.Diagram" can do this but as-far-as-I-know does not work on a Linux server.



来源:https://stackoverflow.com/questions/15100664/programatically-create-visio-drawing-on-a-linux-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!