Lines Matching refs:tempdoc
390 SPDocument *tempdoc = _retrieveClipboard(target);
391 if ( tempdoc == NULL ) {
396 sp_import_document(desktop, tempdoc, in_place);
397 tempdoc->doUnref();
407 SPDocument *tempdoc = _retrieveClipboard("image/x-inkscape-svg");
408 if ( tempdoc == NULL ) {
412 Inkscape::XML::Node *root = tempdoc->getReprRoot();
454 SPDocument *tempdoc = _retrieveClipboard("image/x-inkscape-svg");
455 if ( tempdoc == NULL ) {
466 Inkscape::XML::Node *root = tempdoc->getReprRoot();
472 desktop->doc()->importDefs(tempdoc);
481 tempdoc->doUnref();
508 SPDocument *tempdoc = _retrieveClipboard("image/x-inkscape-svg");
509 if ( tempdoc == NULL ) {
515 Inkscape::XML::Node *root = tempdoc->getReprRoot();
548 tempdoc->doUnref();
571 SPDocument *tempdoc = _retrieveClipboard("image/x-inkscape-svg");
572 if ( tempdoc ) {
573 Inkscape::XML::Node *root = tempdoc->getReprRoot();
578 desktop->doc()->importDefs(tempdoc);
604 SPDocument *tempdoc = _retrieveClipboard(); // any target will do here
605 if ( tempdoc == NULL ) {
609 Inkscape::XML::Node *root = tempdoc->getReprRoot();
613 tempdoc->doUnref();
633 SPDocument *tempdoc = _retrieveClipboard(); // any target will do here
634 if ( tempdoc == NULL ) {
638 Inkscape::XML::Node *root = tempdoc->getReprRoot();
641 root->removeChild(tempdoc->getDefs()->getRepr());
650 tempdoc->doUnref();
1126 SPDocument *tempdoc = NULL;
1128 tempdoc = (*in)->open(filename);
1134 return tempdoc;