Known issue:
Which types of Visio files are supported depends on runtime version of libvisio. The current extension system doesn't allow to check based on the version of a dependency, and build time configure options would not help to detect which version of libvisio is available at runtime.
Patch used for testing new formats:
Attached patch simply adds several newer file formats without further checking.
Note: with this patch, import of such newer file formats will simply fail on systems which have older versions of libvisio installed, without providing further information to the user.
TODO:
1) Verify new filetypes (possibly remove some)
1) Verify details of added file types (extension, mimetype, filetypename and -tooltip)
2) If possible, implement a runtime version check of libvisio in 'src/extension/internal/vsd-input.cpp', to only enable formats supported by the currently installed version of libvisio.
3) Discuss further desktop integration:
- add Visio filetype for Linux desktops to inkscape.desktop{.in} (?)
- add Visio filetype for Windows and OS X packages (?)
Follow-up report to:
Bug #1015572 “[Patch] import "Microsoft Visio Diagram (*.vsd)" files (internal, based on libvisio)”
libvisio >= 0.22 supports additional MS Visio file formats, which use a different suffix. These need to be added to Inkscape (currently, trunk only knows about *.vsd files): /plus.google. com/10838232563 7135111255/ posts/EKzVQZMpE fS> /plus.google. com/10891124466 0285152681/ posts/X4BsWSxAq 5h> libregraphicswo rld.org/ blog/entry/ libreoffice- gets-visio- 2013-support> article. gmane.org/ gmane.comp. graphics. inkscape. devel/39473>
<https:/
<https:/
<http://
<http://
Known issue:
Which types of Visio files are supported depends on runtime version of libvisio. The current extension system doesn't allow to check based on the version of a dependency, and build time configure options would not help to detect which version of libvisio is available at runtime.
Patch used for testing new formats:
Attached patch simply adds several newer file formats without further checking.
Note: with this patch, import of such newer file formats will simply fail on systems which have older versions of libvisio installed, without providing further information to the user.
TODO: internal/ vsd-input. cpp', to only enable formats supported by the currently installed version of libvisio. desktop{ .in} (?)
1) Verify new filetypes (possibly remove some)
1) Verify details of added file types (extension, mimetype, filetypename and -tooltip)
2) If possible, implement a runtime version check of libvisio in 'src/extension/
3) Discuss further desktop integration:
- add Visio filetype for Linux desktops to inkscape.
- add Visio filetype for Windows and OS X packages (?)