Changes between Version 17 and Version 18 of DiaVisViewPlugin


Ignore:
Timestamp:
Jul 28, 2015, 12:57:25 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • DiaVisViewPlugin

    v17 v18  
    11[[PageOutline(2-5,Contents,pullout)]]
    2 = Render dia and vdx files =
    32
    4 == Description ==
     3= Render dia and vdx files
     4
     5== Description
    56
    67This plugin automatically creates a bitmapped render of [http://live.gnome.org/Dia Dia] and MS Visio VDX diagrams when attaching them to objects in Trac.
     
    1011It has had very little testing. It has been set up as a separate hack to the original DiaViewPlugin so as not to break DiaViewPlugin for Trac < 0.11.
    1112
    12 If the width was changed in the macro argument the displayed image would scale, however the source file stayed the same.  To overcome this the width is checked using the image library, and if different it is re-rendered.  Please see the link below for the image library.
     13If the width was changed in the macro argument, the displayed image would scale, however the source file stayed the same. To overcome this issue, the width is checked using the image library, and if different it is re-rendered. Please see [http://www.pythonware.com/products/pil/ Python Imaging Library].
    1314
    14 http://www.pythonware.com/products/pil/
    15 
    16 == Bugs/Feature Requests ==
     15== Bugs/Feature Requests
    1716
    1817Existing bugs and feature requests for DiaVisViewPlugin are [query:status!=closed&component=DiaVisViewPlugin&order=priority here].
    1918
    2019If you have any issues, create a
    21 [/newticket?component=DiaVisViewPlugin&owner=robert_martin new ticket].
     20[/newticket?component=DiaVisViewPlugin new ticket].
    2221
    23 == Download and Source ==
     22[[TicketQuery(component=DiaVisViewPlugin&group=type,format=progress)]]
     23
     24== Download and Source
    2425
    2526Download the [download:diavisviewplugin zipped source], check out [http://trac-hacks.org/svn/diavisviewplugin using Subversion], or [source:diavisviewplugin browse the source] with Trac.
    2627
    27 == Example ==
     28== Installation
    2829
    29 To install download the archive, then either
     30To install download the archive, then either run:
     31{{{#!sh
    3032$ python setup.py install
    31 or copy it to the plugins directory of the particular project
     33}}}
    3234
    33 Do not forget to '''enable''' the '''macro''' in trac.ini in the components section like this:
    34 {{{
    35 #!ini
     35or copy it to the plugins directory of the particular Trac project.
     36
     37Do not forget to '''enable''' the '''macro''' in your `trac.ini` file in the components section like this:
     38{{{#!ini
     39[components]
    3640diavisview.* = enabled
    3741}}}
    3842
    39 Also ensure that '''dia''' (diagram editor) and the '''Python Imaging Library''' (cf. link above) are installed.
     43Also ensure that '''dia''' (diagram editor) and the '''Python Imaging Library''' are installed.
    4044
     45== Example
    4146
    42 Attach a file you wish to display to the page as per normal.  The files can be either dia or vdx, compressed or uncompressed.
     47Attach a file you wish to display to the page as per normal. The files can be either dia or vdx, compressed or uncompressed.
    4348
    44 Make suitable macro entries in the page.  If a number is given after the filename it will be taken as the width. Please see the main image macro for all the options.
     49Make suitable macro entries in the page. If a number is given after the filename it will be taken as the width. Please see the main image macro for all the options.
    4550
    46 ![[DiaVisView(Diagram1.dia)]]
     51{{{
     52[[DiaVisView(Diagram1.dia)]]
    4753
    48 ![[DiaVisView(Diagram2.vdx, border=5)]]
     54[[DiaVisView(Diagram2.vdx, border=5)]]
     55}}}
    4956
    50 
    51 == Recent Changes ==
     57== Recent Changes
    5258
    5359[[ChangeLog(diavisviewplugin, 3)]]
    5460
    55 == Author/Contributors ==
     61== Author/Contributors
    5662
    5763'''Author:''' [wiki:robert_martin] [[BR]]