Revision: 2877
Author:
bre...@gmail.com
Date: Sun Jun 1 21:36:54 2014 UTC
Log: Edited wiki page ExtensionDocs through web user interface.
http://code.google.com/p/svg-edit/source/detail?r=2877
Modified:
/wiki/ExtensionDocs.wiki
=======================================
--- /wiki/ExtensionDocs.wiki Thu Apr 17 02:02:35 2014 UTC
+++ /wiki/ExtensionDocs.wiki Sun Jun 1 21:36:54 2014 UTC
@@ -138,7 +138,7 @@
=== svgEditor public methods ==
|| *Name* || *Description* || *Params* || *Return value* ||
-|| setCustomHandlers() || Override default SVG open, save, and export
behaviors || Accepts object with all optional properties, "open", "save",
and "exportImage"; "open" is not passed any parameters; "saved" is passed a
string containing the SVG; "exportImage" is passed an object containing the
properties: "svg" with the SVG contents as a string, "issues" with an array
of UI strings pertaining to relevant known CanVG issues, "type" indicating
the chosen image type ("PNG", "JPEG", "BMP", "WEBP") (or, as planned for
3.0.0, "PDF" type), and "quality" as a decimal between 0 and 1 (for use
with JPEG or WEBP) || (None) ||
+|| setCustomHandlers() || Override default SVG open, save, and export
behaviors || Accepts object with all optional properties, "open", "save",
and "exportImage"; "open" is not passed any parameters; "saved" is passed a
string containing the SVG; "exportImage" is passed an object containing the
properties: "svg" with the SVG contents as a string, "datauri" with the
contents as a data URI, "issues" with an array of UI strings pertaining to
relevant known CanVG issues, "type" indicating the chosen image type
("PNG", "JPEG", "BMP", "WEBP") (or, as planned for 3.0.0, "PDF" type),
and "quality" as a decimal between 0 and 1 (for use with JPEG or WEBP) ||
(None) ||
|| ... || ... || ... || ... ||
issues: issues, type: imgType, mimeType: mimeType, quality: quality,
exportWindowName: exportWindowName