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 : http://blogs.msdn.com/b/visio/archive/2006/05/30/608089.aspx 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: http://nabble.documentfoundation.org/additional-symbols-or-alternatively-stencils-in-Draw-templates-tc3331001.html @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. GSOC material?
When you open a stencil in MS-Visio, you're presented with a blank file onto which you may drag and drop all of the stencil's shapes. A second panel displays the shapes that are included in the file. When you open one of these in LibreOffice, you will see a blank new file, but not the panel with the associated shapes. Visio Template files behave similarly: Visio creates a new blank drawing with a separate panel that displays the Shapes included in the file. LibreOffice simply displays a blank docuConsider how the Visio stencils/templates' forms and diagram element objects may be translated into the Sidebar, possibly the ArtWork Gallery content panel—or perhaps a new panel for the Deck. https://cookieclicker2.io Caolán has done something similar with the diafilter plugin to import Dia diagrams and objects into Draw (limited to Linux)—anything comparable?ment.
@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. <a href="https://www.omhbg.com/">Prayer Request</a> 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?
The templates support was already added. The Stensils is not possible to add to Draw, due to limitation of LibreOffice Draw itself. *** This bug has been marked as a duplicate of bug 163170 ***
(In reply to Bartosz from comment #12) > The Stensils is not possible to add to Draw, due to limitation of > LibreOffice Draw itself. This may be true today, but does not necessarily have to be true in the future. In the future, any 'limitation of LibreOffice Draw itself' may be removed, which may allow support for stencils to be added. Therefore, I would like to keep this bug open, so support for stencils might be added if this changes in the future.
https://cutt.ly/6eDx5MAh