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 [2009-01-03 01:13]
70.103.232.219
plugin:visio [2018-07-17 09:47] (current)
Murmelschen [Discussion]
Line 1: Line 1:
-====== ​visio plugin ​======+====== ​Visio Plugin ​======
  
 ---- plugin ---- ---- plugin ----
Line 7: Line 7:
 type       : syntax type       : syntax
 lastupdate : 2007-12-05 lastupdate : 2007-12-05
-compatible : +compatible : weatherwax
 depends ​   :  depends ​   : 
 conflicts ​ :  conflicts ​ : 
 similar ​   : video similar ​   : video
-tags       : embed+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 34: 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 67: 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 132: Line 141:
     }     }
 } }
-?> 
 </​code>​ </​code>​
  
Line 139: 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 148: Line 157:
 Maybe the conversion of Upper to lowercase has to be overwritten for this file-type. Maybe the conversion of Upper to lowercase has to be overwritten for this file-type.
 And yes it doesn'​t work with Firefox (I assume also not with Safari) And yes it doesn'​t work with Firefox (I assume also not with Safari)
 +
 +I just downloaded Visio 2007 viewer and this plugin. I think we should replace CLSID:​279D6C9A-652E-4833-BEFC-312CA8887857 with new CLASID ? But in this moment my main problem is how to upload visio file (extension vsd is not allowed ?!?!). - Fox
 +
 +Fox to allow the extension just add it to the conf/​mime.conf file. -Matt
 +
 +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.1230941633.txt.gz · Last modified: 2009-10-10 18:52 (external edit)