在 Linux 服务器上以编程方式创建 Visio 绘图 [英] Programatically create Visio drawing on a linux server

查看:53
本文介绍了在 Linux 服务器上以编程方式创建 Visio 绘图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从 Linux 服务器创建 Visio 绘图?

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

也就是说,无法访问 Visio 软件.语言可以是python, php, C ..

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

推荐答案

简短回答:是

您有多种选择:

1 - 生成 VDX 或 VSDX 文件.这些是 Visio 可以读取的基于 XML 的格式.(VSDX 是新的,只能由 Visio 2013 读取).如果您可以在 Linux 上生成 XML 文件,那么您就可以创建这些文件.我编写了一个可以帮助创建 VDX 文件的库 - 在此处查找 VisioAutomation.VDX:http://visioautomation.codeplex.com/ 您也可以查看 http://pkgvisio.codeplex.com/.

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 - 生成 VSD.这是一种二进制格式,更难创建.LibreOffice 有一个库来生成这种格式.Aspose.Diagram"也可以做到这一点,但据我所知在 Linux 服务器上不起作用.

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.

这篇关于在 Linux 服务器上以编程方式创建 Visio 绘图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆