Created attachment 113496 [details]
MS-Visio Stencil and Template
Currently, LibreOffice only has support for Visio Drawing (.vsd/.vdx) files. It would be nice if there was also support for Visio Stencils (.vss/.vsx) and Templates (.vst/vtx).
When you open a stencil in MS-Visio, you get a blank file onto which you can drag and drop all of the shapes that are included in the stencil. The shapes that are included in the file are displayed in a separate panel. When you open up one of these in LibreOffice you do get the blank new file, but not the panel that has the shapes that are included. Similar behavior is occuring for the Visio Template files: Visio opens a blank new Drawing with a seperate panel that shows the Shapes that are included in the file. LibreOffice just shows the blank document.
According to :
the file formats for Drawings, Stencils and Templates have the same file format, and only the behavior of the application differs based on the filename extension that is used. So you can just rename a Visio Drawing from 'visio.vsd' to 'visio.vss' to get a Stencil, and rename it to 'visio.vst' to get a Template. I have verified this behavior with MS-Visio 2013.
I have attached a screenshot of a Visio Stencil opened in Visio 2013, versus a screenshot of the same file opened in LibreOffice to show the difference.
Created attachment 113497 [details]
Screenshot of Visio Stencil opened in Visio 2013
Created attachment 113498 [details]
Screenshot Visio Stencil opened in LibreOffice
Created attachment 113499 [details]
MSDN Blog Article on Visio File Formats
Sure, why not.
But can't see this as much of a priority so long as LO continues for the most part correctly filter .vsd/.vdx drawings on opening into Draw using libvisio. Hmm, guess this an enhancement of the libvisio filter?
Some prior discussion here:
@Maarten, how would you envision the GUI to implement this, closer to our existing interface is probably more likely to get done.
Imagine shapes and diagram element objects of the Visio stencils/templates could be mapped into the Sidebar, perhaps the ArtWork Gallery content panel--or maybe a new panel for the Deck.
Caolán had done something along those lines with the (limited to Linux) diafilter extension to bring Dia diagrams and objects into Draw--something similar?
adding the cognizant devs... Fridrich S. and Valek F. apologies for any excessive noise if this has already been hashed over.
(In reply to V Stuart Foote from comment #4)
> @Maarten, how would you envision the GUI to implement this, closer to our
> existing interface is probably more likely to get done.
I have only a slight preference for a panel that displays all the shapes that are included in the stencil/template file: this could be an addition to an existing panel or in a single new panel, whatever works best or is the most convenient to implement is fine by me.
*** This bug has been marked as a duplicate of bug 58425 ***
*** Bug 104147 has been marked as a duplicate of this bug. ***
So this is was a valid enhancement, at some point it would be a nice feature to lash-up the libvisio filter with an ability to import to LibreOffice Gallery.