DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:visio

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:visio [2015-12-24 16:46]
93.81.204.244 old revision restored (2015-11-19 16:30)
plugin:visio [2018-07-17 09:47]
Murmelschen [Discussion]
Line 13: Line 13:
 tags       : embed, diagrams tags       : embed, diagrams
  
 +downloadurl:​ https://​trello-attachments.s3.amazonaws.com/​5af4815352fa15728c62aaae/​5b13e668dc98f1fff6a8ec93/​16d109ac2b565051c0b1cac29c20de72/​visio.zip
 +bugtracker : 
 +sourcerepo : 
 +donationurl: ​
 +
 +screenshot_img: ​
 ---- ----
  
-=====Background======+===== Background =====
  
 I have been working on making a documentation page for some network. We needed some inline Visio diagram display so that regular end user could be able to see the diagram without generating (non up to date image export). I have been working on making a documentation page for some network. We needed some inline Visio diagram display so that regular end user could be able to see the diagram without generating (non up to date image export).
  
-====== How to install ====== +===== How to install ===== 
-Download the file [[http://open.practeo.ch/dokuwiki-plugin/​visio.zip|visio.zip]](4Kb) and unpack it into ''​lib/​plugins''​ folder or use the [[plugin:plugin]] manager.+ 
 +Download the file [[https://trello-attachments.s3.amazonaws.com/5af4815352fa15728c62aaae/​5b13e668dc98f1fff6a8ec93/​16d109ac2b565051c0b1cac29c20de72/​visio.zip|visio.zip]] (~4 Kb) and unpack it into ''​lib/​plugins''​ folder or use the [[plugin:extension]] manager. 
 Download the (Free) Microsoft Visio Viewer 2003 and copy the .exe file to your server, then configure the plugin to have the correct path to offer the Visio viewer download to the end users. Download the (Free) Microsoft Visio Viewer 2003 and copy the .exe file to your server, then configure the plugin to have the correct path to offer the Visio viewer download to the end users.
  
 Visio 2003 Viewer can be found under downloaded at [[http://​www.microsoft.com/​downloads/​info.aspx?​na=90&​p=&​SrcDisplayLang=en&​SrcCategoryId=&​SrcFamilyId=3fb3bd5c-fed1-46cf-bd53-da23635ab2df&​u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f4%2f5%2f2%2f452f8090-413f-408f-83c0-edd66db786ee%2fvviewer.exe|Microsoft]]. ​ Visio 2003 Viewer can be found under downloaded at [[http://​www.microsoft.com/​downloads/​info.aspx?​na=90&​p=&​SrcDisplayLang=en&​SrcCategoryId=&​SrcFamilyId=3fb3bd5c-fed1-46cf-bd53-da23635ab2df&​u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f4%2f5%2f2%2f452f8090-413f-408f-83c0-edd66db786ee%2fvviewer.exe|Microsoft]]. ​
  
-====Acknowledgment====+==== Acknowledgment ====
  
-I borrowed some code from [[plugin:​video|the video plugin]].+I borrowed some code from the [[plugin:​video|video plugin]].
  
-====Syntax====+==== Syntax ====
  
 <​code>​ <​code>​
Line 35: Line 43:
 </​code>​ </​code>​
  
-The plugin will generate the needed embedded object to view the Visio file with Internet Explorer and Microsoft Visio Viewer 2003. +The plugin will generate the needed embedded object to view the Visio file with Internet Explorer and Microsoft Visio Viewer 2003. (Ok, could be better, but quick and dirty solution). 
-(Ok, could be better, but quick and dirty solution).+ 
 +==== Code ====
  
-====Code==== 
 <code php> <code php>
 <?php <?php
Line 68: Line 76:
         '​desc' ​  => 'Use the Microsoft ActiveX Visio Viewer to display Visio diagrams \n simply put the file as         '​desc' ​  => 'Use the Microsoft ActiveX Visio Viewer to display Visio diagrams \n simply put the file as
                      ​{{my_visio_file.vsd[,​width,​height]|Alternate text}}',​                      ​{{my_visio_file.vsd[,​width,​height]|Alternate text}}',​
-        '​url' ​   => 'http://​www.dokuwiki.org/​plugin:​visio',​+        '​url' ​   => 'https://​www.dokuwiki.org/​plugin:​visio',​
       );       );
     }     }
Line 133: Line 141:
     }     }
 } }
-?> 
 </​code>​ </​code>​
  
Line 140: Line 147:
 There are some new configuration settings to set the default url for downloading the Microsoft Visio Viewer 2003 and default height and width. There are some new configuration settings to set the default url for downloading the Microsoft Visio Viewer 2003 and default height and width.
  
-====== Discussion ======+===== Discussion ===== 
 I've installed the PlugIn on my [[http://​test.jurtenrunde.de/​wiki/​|Wiki]]. But if I have an vsd file - where I have to put it? (//in german://​Ich habe das PlugIn installiert in meinem [[http://​test.jurtenrunde.de/​wiki/​|Wiki]]. Doch muss mich ich die *.vsd Datei speichern, damit sie an gezeigt wird?) I've installed the PlugIn on my [[http://​test.jurtenrunde.de/​wiki/​|Wiki]]. But if I have an vsd file - where I have to put it? (//in german://​Ich habe das PlugIn installiert in meinem [[http://​test.jurtenrunde.de/​wiki/​|Wiki]]. Doch muss mich ich die *.vsd Datei speichern, damit sie an gezeigt wird?)
  
Line 155: Line 163:
  
 Does it work with Chrome? Does it work with Chrome?
 +
 +Does anybody still use this? It seems to be working with the actual 2016 visio viewer, allthough you have to update the cls-id (F8CF7A98-2C45-4c8d-9151-2D716989DDAB) but everytime I want to open an vsd-file it keeps quoting "The specified URL or file can not be loaded by Microsoft visio viewer"​ and I do not know how to fix it.
plugin/visio.txt · Last modified: 2018-07-17 09:47 by Murmelschen