21#include <libcdr/libcdr.h>
31 return rvng_open(uri, libcdr::CDRDocument::isSupported, libcdr::CDRDocument::parse);
41 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
42 "<name>" N_(
"Corel DRAW Input")
"</name>\n"
43 "<id>org.inkscape.input.cdr</id>\n"
45 "<extension>.cdr</extension>\n"
46 "<mimetype>image/x-xcdr</mimetype>\n"
47 "<filetypename>" N_(
"Corel DRAW 7-X4 files (*.cdr)")
"</filetypename>\n"
48 "<filetypetooltip>" N_(
"Open files saved in Corel DRAW 7-X4")
"</filetypetooltip>\n"
50 "</inkscape-extension>", std::make_unique<CdrInput>());
53 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
54 "<name>" N_(
"Corel DRAW templates input")
"</name>\n"
55 "<id>org.inkscape.input.cdt</id>\n"
57 "<extension>.cdt</extension>\n"
58 "<mimetype>application/x-xcdt</mimetype>\n"
59 "<filetypename>" N_(
"Corel DRAW 7-13 template files (*.cdt)")
"</filetypename>\n"
60 "<filetypetooltip>" N_(
"Open files saved in Corel DRAW 7-13")
"</filetypetooltip>\n"
62 "</inkscape-extension>", std::make_unique<CdrInput>());
65 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
66 "<name>" N_(
"Corel DRAW Compressed Exchange files input")
"</name>\n"
67 "<id>org.inkscape.input.ccx</id>\n"
69 "<extension>.ccx</extension>\n"
70 "<mimetype>application/x-xccx</mimetype>\n"
71 "<filetypename>" N_(
"Corel DRAW Compressed Exchange files (*.ccx)")
"</filetypename>\n"
72 "<filetypetooltip>" N_(
"Open compressed exchange files saved in Corel DRAW")
"</filetypetooltip>\n"
74 "</inkscape-extension>", std::make_unique<CdrInput>());
77 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
78 "<name>" N_(
"Corel DRAW Presentation Exchange files input")
"</name>\n"
79 "<id>org.inkscape.input.cmx</id>\n"
81 "<extension>.cmx</extension>\n"
82 "<mimetype>application/x-xcmx</mimetype>\n"
83 "<filetypename>" N_(
"Corel DRAW Presentation Exchange files (*.cmx)")
"</filetypename>\n"
84 "<filetypetooltip>" N_(
"Open presentation exchange files saved in Corel DRAW")
"</filetypetooltip>\n"
86 "</inkscape-extension>", std::make_unique<CdrInput>());
A way to clear the N_ macro, which is defined as an inline function.
std::unique_ptr< SPDocument > rvng_open(char const *uri, bool(*is_supported)(RVNGInputStream *), bool(*parse)(RVNGInputStream *, RVNGDrawingInterface *))
void build_from_mem(gchar const *buffer, std::unique_ptr< Implementation::Implementation > in_imp)
Create a module from a buffer holding an XML description.
Common import dialog for .cdr and .vss files.