Searched refs:document (Results 1 - 25 of 319) sorted by relevance

1234567891011>>

/inkscape/src/
H A Ddocument-undo.h27 bool saved = DocumentUndo::getUndoSensitive(document);
28 DocumentUndo::setUndoSensitive(document, false);
30 DocumentUndo::setUndoSensitive(document, saved); \endverbatim
34 static bool getUndoSensitive(SPDocument const *document);
36 static void clearUndo(SPDocument *document);
38 static void clearRedo(SPDocument *document);
40 static void done(SPDocument *document, unsigned int event_type, Glib::ustring const &event_description);
42 static void maybeDone(SPDocument *document, const gchar *keyconst, unsigned int event_type, Glib::ustring const &event_description);
46 static void cancel(SPDocument *document);
48 static gboolean undo(SPDocument *document);
[all...]
H A Dfilter-chemistry.h26 SPFilter *new_filter (SPDocument *document);
27 SPFilter *new_filter_gaussian_blur (SPDocument *document, double stdDeviation, double expansion, double expansionX, double expansionY, double width, double height);
28 SPFilter *new_filter_simple_from_item (SPDocument *document, SPItem *item, const char *mode, double stdDeviation);
29 SPFilter *modify_filter_gaussian_blur_from_item (SPDocument *document, SPItem *item, double stdDeviation);
H A Duri-references.cpp17 #include "document.h"
123 SPDocument *document = NULL; local
125 // Attempt to get the document that contains the URI
127 document = _owner->document;
129 document = _owner_document;
141 // The path contains references to separate document files to load.
142 if (document && uri.getPath() && !skip) {
143 std::string base = document->getBase() ? document
245 sp_css_uri_reference_resolve(SPDocument *document, const gchar *uri) argument
260 sp_uri_reference_resolve(SPDocument *document, const gchar *uri) argument
[all...]
H A Dfilter-chemistry.cpp21 #include "document-private.h"
91 SPFilter *new_filter(SPDocument *document) argument
93 g_return_val_if_fail(document != NULL, NULL);
95 SPDefs *defs = document->getDefs();
97 Inkscape::XML::Document *xml_doc = document->getReprDoc();
117 SPFilter *f = SP_FILTER( document->getObjectByRepr(repr) );
129 Inkscape::XML::Document *xml_doc = filter->document->getReprDoc();
185 SPFilterPrimitive *prim = SP_FILTER_PRIMITIVE( filter->document->getObjectByRepr(repr) );
197 new_filter_gaussian_blur (SPDocument *document, gdouble radius, double expansion, double expansionX, double expansionY, double width, double height) argument
199 g_return_val_if_fail(document !
260 new_filter_blend_gaussian_blur(SPDocument *document, const char *blendmode, gdouble radius, double expansion, double expansionX, double expansionY, double width, double height) argument
348 new_filter_simple_from_item(SPDocument *document, SPItem *item, const char *mode, gdouble radius) argument
375 modify_filter_gaussian_blur_from_item(SPDocument *document, SPItem *item, gdouble radius) argument
[all...]
H A Dsp-script.cpp17 #include "document.h"
42 if (this->document) {
44 this->document->removeResource("script", this);
H A Dprofile-manager.h2 * Inkscape::ProfileManager - a view of a document's color profiles.
14 #include "document-subset.h"
27 ProfileManager(SPDocument *document);
H A Dlayer-fns.cpp17 #include "document.h"
172 SPDocument *document = root->document; local
179 } while (document->getObjectById(id));
181 Inkscape::XML::Document *xml_doc = document->getReprDoc();
202 SP_ITEM(document->getObjectByRepr(repr))->lowerOne();
206 return document->getObjectByRepr(repr);
/inkscape/src/xml/
H A Drepr-action-test.h13 Inkscape::XML::Document *document; member in class:XmlReprActionTest
22 document = sp_repr_document_new("test");
23 root = document->root();
25 a = document->createElement("a");
26 b = document->createElement("b");
27 c = document->createElement("c");
38 sp_repr_begin_transaction(document);
44 sp_repr_rollback(document);
52 sp_repr_begin_transaction(document);
58 sp_repr_rollback(document);
[all...]
H A Drebase-hrefs-test.h11 Inkscape::XML::Document *document; member in class:RebaseHrefsTest
20 document = sp_repr_document_new("test");
21 root = document->root();
23 a = document->createElement("a");
24 b = document->createElement("b");
25 c = document->createElement("c");
H A Dsimple-node.h15 #error You have included xml/simple-node.h in your document, which is an implementation. Chances are that you want xml/node.h. Please fix that.
48 Document *document() { return _document; } function in class:Inkscape::XML::SimpleNode
49 Document const *document() const { function in class:Inkscape::XML::SimpleNode
50 return const_cast<SimpleNode *>(this)->document();
127 SimpleNode(int code, Document *document);
128 SimpleNode(SimpleNode const &repr, Document *document);
/inkscape/share/extensions/
H A DjessyInk_core_mouseHandler_noclick.js16 document.addEventListener("DOMContentLoaded", jessyInk_core_mouseHandler_noclick_init, false);
24 var elems = document.getElementsByTagNameNS("https://launchpad.net/jessyink", "mousehandler");
H A DjessyInk_install.py56 for node in self.document.xpath("//svg:script[@id='JessyInk']", namespaces=inkex.NSS):
64 self.document.getroot().append(scriptElm)
67 if self.document.getroot().get("onload"):
68 propList = propStrToList(self.document.getroot().get("onload"))
77 self.document.getroot().set("onload", listToPropStr(propList))
79 if self.document.getroot().get("onload"):
80 del self.document.getroot().attrib["onload"]
83 for node in self.document.xpath("//*[@jessyInk_effectIn]", namespaces=inkex.NSS):
87 for node in self.document.xpath("//*[@jessyink:effectIn]", namespaces=inkex.NSS):
90 for node in self.document
[all...]
H A DjessyInk_uninstall.py62 for node in self.document.xpath("//svg:script[@id='JessyInk']", namespaces=inkex.NSS):
66 if self.document.getroot().get("onload"):
67 propList = propStrToList(self.document.getroot().get("onload"))
76 self.document.getroot().set("onload", listToPropStr(propList))
78 if self.document.getroot().get("onload"):
79 del self.document.getroot().attrib["onload"]
83 for node in self.document.xpath("//*[@jessyink:effectIn]", namespaces=inkex.NSS):
86 for node in self.document.xpath("//*[@jessyink:effectOut]", namespaces=inkex.NSS):
90 for node in self.document.xpath("//*[@jessyInk_effectIn]", namespaces=inkex.NSS):
93 for node in self.document
[all...]
H A Dembedimage.py42 self.embedSelected(self.document, self.selected)
44 self.embedAll(self.document)
46 def embedSelected(self, document, selected):
47 self.document=document
54 def embedAll(self, document):
55 self.document=document #not that nice... oh well
57 for node in self.document.getroot().xpath(path, namespaces=inkex.NSS):
H A Dwebslicer_effect.py37 layer = self.document.xpath(
43 layer = inkex.etree.SubElement(self.document.getroot(), 'g')
H A DjessyInk_mouseHandler.py45 scriptNodes = self.document.xpath("//svg:script[@jessyink:version='1.5.5']", namespaces=inkex.NSS)
51 for node in self.document.xpath("//jessyink:mousehandler", namespaces=inkex.NSS):
61 self.document.getroot().append(groupElm)
69 self.document.getroot().append(groupElm)
H A DjessyInk_masterSlide.py43 scriptNodes = self.document.xpath("//svg:script[@jessyink:version='1.5.5']", namespaces=inkex.NSS)
49 for node in self.document.xpath("//*[@jessyink:masterSlide='masterSlide']", namespaces=inkex.NSS):
54 nodes = self.document.xpath("//*[@inkscape:groupmode='layer' and @inkscape:label='" + self.options.layerName + "']", namespaces=inkex.NSS)
H A Dinkex.py150 self.document = None
168 """Apply some effects on the document. Extensions subclassing Effect
178 """Parse document in specified file or on stdin"""
203 self.document = etree.parse(stream, parser=p)
204 self.original_document = copy.deepcopy(self.document)
207 # defines view_center in terms of document units
210 self.current_layer = self.document.getroot()
213 layerattr = self.document.xpath('//sodipodi:namedview/@inkscape:current-layer', namespaces=NSS)
216 layer = self.document.xpath('//svg:g[@id="%s"]' % layername, namespaces=NSS)
220 xattr = self.document
[all...]
/inkscape/src/extension/dbus/
H A Dbuilddocs.sh2 xsltproc doc/spec-to-docbook.xsl document-interface.xml > doc/org.inkscape.document.ref.xml &&
H A Dpytester.py16 def randomrect (document):
17 document.rectangle( random.randint(0,1000),
22 def lottarects ( document ):
23 document.pause_updates()
30 document.rectangle( 0, 0, 100, 100)
31 #randomrect(document)
36 document.resume_updates()
70 def testcopypaste (document ):
71 #document.pause_updates()
72 print document
[all...]
/inkscape/src/ui/dialog/
H A Dswatches.h46 static void handleGradientsChange(SPDocument *document);
50 virtual void _setDocument( SPDocument *document );
59 static void _trackDocument( SwatchesPanel *panel, SPDocument *document );
60 static void handleDefsModified(SPDocument *document);
/inkscape/src/filters/
H A Ddistantlight.cpp19 #include "document.h"
41 void SPFeDistantLight::build(SPDocument *document, Inkscape::XML::Node *repr) { argument
42 SPObject::build(document, repr);
49 document->addResource("fedistantlight", this);
56 if ( this->document ) {
58 this->document->removeResource("fedistantlight", this);
H A Dpointlight.cpp19 #include "document.h"
41 void SPFePointLight::build(SPDocument *document, Inkscape::XML::Node *repr) { argument
42 SPObject::build(document, repr);
50 document->addResource("fepointlight", this);
57 if ( this->document ) {
59 this->document->removeResource("fepointlight", this);
/inkscape/src/ui/tools/
H A Dbox3d-tool.cpp24 #include "document.h"
25 #include "document-undo.h"
48 #include "document-private.h"
114 /* Create a default perspective in document defs if none is present (which can happen, among other
117 static void sp_box3d_context_ensure_persp_in_defs(SPDocument *document) { argument
118 SPDefs *defs = document->getDefs();
129 document->setCurrentPersp3D(persp3d_create_xml_element (document));
188 SPDocument *document = desktop->getDocument(); local
193 Persp3D *cur_persp = document
[all...]
/inkscape/src/display/
H A Dnr-filter-image.h36 void set_document( SPDocument *document );
44 SPDocument *document; member in class:Inkscape::Filters::FilterImage

Completed in 76 milliseconds

1234567891011>>