Changes between Version 21 and Version 22 of DiaVisViewPlugin
- Timestamp:
- Sep 16, 2016, 7:11:12 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DiaVisViewPlugin
v21 v22 5 5 == Description 6 6 7 This plugin renders [http://live.gnome.org/Dia DIA] diagrams and MS-Visio VDX diagrams attached to Trac resources .7 This plugin renders [http://live.gnome.org/Dia DIA] diagrams and MS-Visio VDX diagrams attached to Trac resources, such as wiki pages and tickets. 8 8 9 If the width is changed in the macro argument the image is re-rendered using [pypi:pillow]. 9 If the width is changed in the macro argument the image is re-rendered using [pypi:pillow], which is a Python imaging library. 10 11 A typical use case would be where you attach a file to display on the page as per normal. The files can be either dia or vdx, compressed or uncompressed. To do so, make suitable macro entries in the page. The width can be specified as a second argument. Additional optional arguments are described in the [WikiMacros#Image-macro Image macro help]. 12 13 {{{ 14 [[DiaVisView(Diagram1.dia)]] 15 16 [[DiaVisView(Diagram2.vdx, border=2)]] 17 }}} 10 18 11 19 == Bugs/Feature Requests … … 19 27 [[TicketQuery(component=DiaVisViewPlugin&group=type,format=progress)]] 20 28 21 == Download and Source29 == Download 22 30 23 31 Download the zipped source from [export:diavisviewplugin here]. … … 31 39 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 32 40 33 The plugin is enabled with the following edit to the `[components]` section ofyour `trac.ini` file:41 The plugin is enabled by adding the following to your `trac.ini` file: 34 42 {{{#!ini 35 43 [components] 36 44 diavisview.* = enabled 37 }}}38 39 == Example40 41 Attach a file you wish to display to the page as per normal. The files can be either dia or vdx, compressed or uncompressed.42 43 Make suitable macro entries in the page. The width can be specified as a second argument. Additional optional arguments are described in the [WikiMacros#Image-macro Image macro help].44 45 {{{46 [[DiaVisView(Diagram1.dia)]]47 48 [[DiaVisView(Diagram2.vdx, border=5)]]49 45 }}} 50 46 … … 58 54 '''Maintainer:''' [[Maintainer]] [[BR]] 59 55 '''Contributors:''' arkemp 60