Lines Matching defs:mod
94 Inkscape::Extension::Print *mod;
101 mod = Inkscape::Extension::get_print(PRINT_WMF);
102 oldconst = mod->get_param_string("destination");
104 mod->set_param_string("destination", filename);
107 context.module = mod;
110 mod->base = doc->getRoot();
112 mod->dkey = SPItem::display_key_new(1);
113 mod->root = mod->base->invoke_show(drawing, mod->dkey, SP_ITEM_SHOW_DISPLAY);
114 drawing.setRoot(mod->root);
116 if (mod->begin(doc)) {
120 mod->base->invoke_print(&context);
121 mod->finish();
123 mod->base->invoke_hide(mod->dkey);
124 mod->base = NULL;
125 mod->root = NULL; // deleted by invoke_hide
128 mod->set_param_string("destination", oldoutput);
136 Wmf::save(Inkscape::Extension::Output *mod, SPDocument *doc, gchar const *filename)
144 bool new_val = mod->get_param_bool("textToPath");
145 bool new_FixPPTCharPos = mod->get_param_bool("FixPPTCharPos"); // character position bug
147 bool new_FixPPTDashLine = mod->get_param_bool("FixPPTDashLine"); // dashed line bug
148 bool new_FixPPTGrad2Polys = mod->get_param_bool("FixPPTGrad2Polys"); // gradient bug
149 bool new_FixPPTPatternAsHatch = mod->get_param_bool("FixPPTPatternAsHatch"); // force all patterns as standard WMF hatch
152 mod->get_param_bool("TnrToSymbol"),
153 mod->get_param_bool("TnrToWingdings"),
154 mod->get_param_bool("TnrToZapfDingbats"),
155 mod->get_param_bool("UsePUA")
3083 Wmf::open( Inkscape::Extension::Input * /*mod*/, const gchar *uri )