"string"
, by mapping characters (or sequences of characters) to an alternative character (or sequence of characters). This macro can be used to encode strings for use in URLs, to encode to HTML entities, to protect quotes, and for as many other uses as you can imagine.
%WIKIDRAW{"string" annotate="image"}%
Parameter | Description | Default |
---|---|---|
"drawing" | name of the drawing - specifies the location to save to - can be either "Web.SomeTopic" or "drawing" or (BROKEN "Web.Topic/drawing") where the first form saves the svg to the topic text, and the other saves to an attachment in the current topic, the third an attachment in the specified topic 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. | must be set |
annotation="imagename" | specifies an image that will be used as a background for your annotations "Web.SomeTopic" (picks the first attached image) or "image.png" (current topic) or "Web.Topic/image.jpg" (an attachemt to the specified topic) it will not be modified, and will not form part of the svg output. | "" |
%WIKIDRAW{ "drawing" annotate="http://somewhere.onthenet.com/some_image.png" }%
%WIKIDRAW{ "Sandbox.WikiDrawing" annotate="Sandbox.SomeImage/some_image.png" }%
strikeone
support
%!WIKIDRAW{Sandbox.SomeTopic}%
, will find the first image attached to BASETOPIC, which might be a tad surprising.
configure
, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Author(s): | Foswiki:Main.SvenDowideit |
Copyright: | © 2010 SvenDowideit@fosiki.com and SVG-edit contributors and David Belais (pngIE) |
License: | GPL (Gnu General Public License) and Apache License 2.0 for SVG-edit |
Release: | 1.0.0 |
Version: | 9700 (2010-10-24) |
Change History: | |
21 October 2010: | initial public release |
Dependencies: | None |
Home page: | http://foswiki.org/bin/view/Extensions/WikiDrawPlugin |
Support: | http://foswiki.org/bin/view/Support/WikiDrawPlugin |