DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:svgembed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:svgembed [2020-07-04 20:30] tech@tormantil.complugin:svgembed [2020-07-31 19:43] tech@tormantil.com
Line 140: Line 140:
 In Visio: In Visio:
   - Draw and save the Visio diagram.   - Draw and save the Visio diagram.
-  - Add hyperlinks to the shapes - this means the item (the linked to page or image) must exist on the wiki , or use a placeholder +  - Add hyperlinks to the shapes - this means the item (the linked to page or image) must exist on the wiki , or use a placeholder; use the full URL and populate the description field (this becomes the xlink 'title). 
-  - Save As an SVG and untick the Visio properties as they simply add bulk (you can set this as the default in settings). +  - For the given diagram select all the shapes then Save As an SVG and untick the Visio properties (can set as a general option in settings) as they simply add bulk
 +  
 In a text editor e.g. Notepad++: In a text editor e.g. Notepad++:
-  - Add a target tag (see example below), sadly It seems there is no way to force this in Visio which means you need to edit the SVG file on every revision. +  - If you have added hyperlinks search for 'xlink' then add a target tag (see example below), sadly It seems there is no way to force this in Visio which means you need to edit the SVG file on every revision. 
-  - To remove extraneous Alt text find all lines with the title tag (Regex would be <title>(.*?)</title>) replace with nothing. If you don't do this then hovering over any shape will show meaningless titles like 'Sheet.235' which is no help to anyone+  - To solve the 'title' issue remove extraneous Alt textfind all lines with the title tag (Regex would be <title>(.*?)</title>) replace with nothing. If you don't do this then hovering over any shape will show meaningless titles like 'Sheet.235' which is no help to anyone, and removing title doesn't seem to have any untoward consequences. Note it doesn't change the xlink titles you created when entering the Description field in the hyperlinks.e
   - Save the file.   - Save the file.
  
plugin/svgembed.txt · Last modified: 2023-12-06 21:25 by Restless

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki