source: trunk/AnyWikiDrawPlugin/data/TWiki/AnyWikiDrawPlugin.txt @ 1114

Revision 1114, 5.2 KB checked in by CrawfordCurrie, 4 years ago (diff)

Item5364: update build process for Foswiki BuildContrib, fix for FSA (doc)

Line 
1%META:TOPICINFO{author="StephaneLenclud" date="1202953345" format="1.1" reprev="1.2" version="1.2"}%
2---+!! <nop>%TOPIC%
3
4<nop>AnyWikiDraw</nop> adds support for drawing directly into a Wiki page.
5
6The following file formats are supported:
7
8   * Scaleable Vector Graphics (.svg, .svgz). &#8211;
9     Use this file format, if you want to create an illustration, for example a street map. SVG retains the structure of a drawing, which allows to edit existing drawings efficiently. SVG drawings can be scaled and edited multiple times without loss of quality. Files with the extension .svgz are compressed versions of the .svg files.
10
11   * Portable Network Graphics (PNG). &#8211;
12     Use this file format, if you want to retouch a picture, for example, a photograph of your home. PNG does not retain the structure of a drawing. If you intend to add structured drawing elements to a photograph (like captions, or line drawings), consider pasting the PNG image into an SVG file, and adding these drawing elements using SVG. PNG images degrade in quality if they are scaled. PNG images can be edited multiple times without loss of quality.
13
14   * Joint Photographics Expert Group (JPEG). &#8211;
15     This file format is often used to publish photographs, because it is able to compress them highly. If possible, convert the photograph into PNG for photo retouching, or paste it into an SVG image before adding structural drawing elements to it. JPEG images degrade in quality if they are scaled, or if they are edited multiple times.
16
17This plugin is very similar in functionality to the Foswiki:Extensions.TWikiDrawPlugin.
18In a future version, it may be used as a replacement for the !TWikiDrawPlugin.
19
20<nop>AnyWikiDraw</nop> is available for other Wikis as well, currently <nop>TWiki</nop>, <nop>MediaWiki</nop> and <nop>PmWiki</nop> are supported.
21
22The main project site of !AnyWikiDraw is at Sourceforge.net: http://sourceforge.net/projects/anywikidraw/
23
24__Warning:__ This is an experimental plugin. Data loss may occur. Install it only on a Wiki system that does not contain critical data.
25
26
27
28%TOC%
29
30---++ Syntax Rules
31
32<verbatim>
33   %ANYWIKIDRAW{ "drawing.svg" width="240" height="320"}%
34   %AWDRAW{ "drawing.svg" width="240" height="320"}%
35</verbatim>
36
37   * The parameter =drawing.svg= specifies the name of the drawing file.
38   * The drawing file can have one of the following extensions .draw, .svg, .svgz, .png, .jpg.
39   * If you specify a drawing file that does not yet exist in your Wiki, the drawing is created  the first time you save a drawing.
40   * The parameter width specifies the width of the drawing.
41   * The parameter height specifies the height of the drawing.
42 
43
44---++ Installation Instructions
45
46   * Download on of the archive and unpack into your TWiki installation directory.
47   * Fix the shebang line and file extension for =/bin/pack200=.
48   * Fix your files access right.
49   * Review your apache configuration keeping in mind the newly added script =/bin/pack200=.
50
51---++ Plugin Info
52
53|  Plugin Author: | TWiki:Main.WernerRandelshofer |
54|  Copyright: | &copy; 2007, TWiki:Main.WernerRandelshofer |
55|  License: | Client-side code: LGPL ([[http://www.gnu.org/licenses/lgpl.html][Lesser GNU General Public License]]) and/or CC-By 3.0 ([[http://creativecommons.org/licenses/by/3.0/][Creative Commons Attribution 3.0]]). Server-side code: GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]).  |
56|  Plugin Version: | 30 Aug 2007 (V1.000) |
57|  Change History: | <!-- versions below in reverse order -->&nbsp; |
58|  1 Dec 2008: | Updated for Foswiki 1.0.0 |
59|  14 Feb 2008: | Proper packaging and code cleaning by TWiki:Main.StephaneLenclud |
60|  30 Aug 2007: | Initial version |
61|  TWiki Dependency: | $TWiki::Plugins::VERSION 1.1 |
62|  CPAN Dependencies: | none |
63|  Other Dependencies: | none |
64|  Perl Version: | 5.005 |
65|  [[Foswiki:Extensions/Benchmark][Benchmarks]]: | %SYSTEMWEB%.GoodStyle nn%, %SYSTEMWEB%.FormattedSearch nn%, %TOPIC% nn% |
66|  Plugin Home: | http://foswiki.org/Extensions/%TOPIC% |
67|  Feedback: | http://foswiki.org/Extensions/%TOPIC%Dev |
68|  Appraisal: | http://foswiki.org/Extensions/%TOPIC%Appraisal |
69
70__Related Topics:__ [[%SYSTEMWEB%.Plugins][Plugins]], %SYSTEMWEB%.DeveloperDocumentationCategory, %SYSTEMWEB%.AdminDocumentationCategory, %SYSTEMWEB%.DefaultPreferences, %USERSWEB%.SitePreferences
71
72-- TWiki:Main.WernerRandelshofer - 30 Aug 2007
73
74
75
76%META:FILEATTACHMENT{name="example.draw" attachment="example.draw" attr="" comment="TWiki Draw draw file" date="1180861883" path="/~werni/twiki/pub/TWiki/AnyWikiDrawPlugin/example.draw" size="28830" stream="/~werni/twiki/pub/TWiki/AnyWikiDrawPlugin/example.draw" user="Main.WernerRandelshofer" version="1"}%
77%META:FILEATTACHMENT{name="example.map" attachment="example.map" attr="" comment="TWiki Draw map file" date="1180861884" path="/~werni/twiki/pub/TWiki/AnyWikiDrawPlugin/example.map" size="3724" stream="/~werni/twiki/pub/TWiki/AnyWikiDrawPlugin/example.map" user="Main.WernerRandelshofer" version="1"}%
78%META:FILEATTACHMENT{name="example.gif" attachment="example.gif" attr="" comment="TWiki Draw GIF file" date="1180861885" path="/~werni/twiki/pub/TWiki/AnyWikiDrawPlugin/example.gif" size="10175" stream="/~werni/twiki/pub/TWiki/AnyWikiDrawPlugin/example.gif" user="Main.WernerRandelshofer" version="1"}%
Note: See TracBrowser for help on using the repository browser.