44 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
45 "<name>" N_(
"SVGZ Input")
"</name>\n"
46 "<id>" SP_MODULE_KEY_INPUT_SVGZ
"</id>\n"
47 "<dependency type=\"extension\">" SP_MODULE_KEY_INPUT_SVG
"</dependency>\n"
48 SVG_COMMON_INPUT_PARAMS
49 "<input priority='2'>\n"
50 "<extension>.svgz</extension>\n"
51 "<mimetype>image/svg+xml-compressed</mimetype>\n"
52 "<filetypename>" N_(
"Compressed Inkscape SVG (*.svgz)")
"</filetypename>\n"
53 "<filetypetooltip>" N_(
"SVG file format compressed with GZip")
"</filetypetooltip>\n"
55 "</inkscape-extension>", std::make_unique<Svgz>());
59 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
60 "<name>" N_(
"SVGZ Output")
"</name>\n"
61 "<id>" SP_MODULE_KEY_OUTPUT_SVGZ_INKSCAPE
"</id>\n"
62 "<output priority='3'>\n"
63 "<extension>.svgz</extension>\n"
64 "<mimetype>image/x-inkscape-svg-compressed</mimetype>\n"
65 "<filetypename>" N_(
"Compressed Inkscape SVG (*.svgz)")
"</filetypename>\n"
66 "<filetypetooltip>" N_(
"Inkscape's native file format compressed with GZip")
"</filetypetooltip>\n"
67 "<dataloss>false</dataloss>\n"
69 "</inkscape-extension>", std::make_unique<Svgz>());
73 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
74 "<name>" N_(
"SVGZ Output")
"</name>\n"
75 "<id>" SP_MODULE_KEY_OUTPUT_SVGZ
"</id>\n"
76 "<output priority='4'>\n"
77 "<extension>.svgz</extension>\n"
78 "<mimetype>image/svg+xml-compressed</mimetype>\n"
79 "<filetypename>" N_(
"Compressed plain SVG (*.svgz)")
"</filetypename>\n"
80 "<filetypetooltip>" N_(
"Scalable Vector Graphics format compressed with GZip")
"</filetypetooltip>\n"
82 "</inkscape-extension>\n", std::make_unique<Svgz>());
static void init()
What would an SVG editor be without loading/saving SVG files. This function sets that up.
A way to clear the N_ macro, which is defined as an inline function.
Inkscape::Extension::Extension: Frontend to certain, possibly pluggable, actions.
void build_from_mem(gchar const *buffer, std::unique_ptr< Implementation::Implementation > in_imp)
Create a module from a buffer holding an XML description.
Helper class to stream background task notifications as a series of messages.