Lines Matching refs:clipboard

3  * System-wide clipboard management - implementation.
24 #include <gtkmm/clipboard.h>
25 #include "ui/clipboard.h"
90 /// Made up mimetype to represent Gdk::Pixbuf clipboard contents.
104 * Default implementation of the clipboard manager.
135 // clipboard callbacks
150 SPDocument *_clipboardSPDoc; ///< Document that stores the clipboard until someone requests it
151 Inkscape::XML::Node *_defs; ///< Reference to the clipboard document's defs node
152 Inkscape::XML::Node *_root; ///< Reference to the clipboard's root node
154 Inkscape::XML::Document *_doc; ///< Reference to the clipboard's Inkscape::XML::Document
161 Glib::RefPtr<Gtk::Clipboard> _clipboard; ///< Handle to the system wide clipboard - for convenience
162 std::list<Glib::ustring> _preferred_targets; ///< List of supported clipboard targets
180 // push supported clipboard targets, in order of preference
196 * Copy selection contents to the clipboard.
211 // set the color as clipboard content (text in RRGGBBAA format)
266 _createInternalClipboard(); // construct a new clipboard document
267 _copySelection(selection); // copy all items in the selection to the internal clipboard
275 * Copy a Live Path Effect path parameter to the clipboard.
276 * @param pp The path parameter to store in the clipboard.
361 * Paste from the system clipboard into the active desktop.
376 // Special cases of clipboard content handling go here
380 // if there is an image on the clipboard, paste it
392 _userWarn(desktop, _("Nothing on the clipboard."));
461 _userWarn(desktop, _("No style on the clipboard."));
467 Inkscape::XML::Node *clipnode = sp_repr_lookup_name(root, "inkscape:clipboard", 1);
478 _userWarn(desktop, _("No style on the clipboard."));
487 * Resize the selection or each object in the selection to match the clipboard's size.
510 _userWarn(desktop, _("No size on the clipboard."));
514 // retrieve size ifomration from the clipboard
516 Inkscape::XML::Node *clipnode = sp_repr_lookup_name(root, "inkscape:clipboard", 1);
554 * Applies a path effect from the clipboard to the selected path.
574 Inkscape::XML::Node *clipnode = sp_repr_lookup_name(root, "inkscape:clipboard", 1);
593 _userWarn(desktop, _("No effect on the clipboard."));
599 * Get LPE path data from the clipboard.
606 _userWarn(desktop, _("Nothing on the clipboard."));
622 * Get object id of a shape or text item from the clipboard.
635 _userWarn(desktop, _("Nothing on the clipboard."));
659 * Iterate over a list of items and copy them to the clipboard.
755 * Recursively copy all the definitions used by a given item to the clipboard defs.
870 * Copy a single gradient to the clipboard's defs element.
888 * Copy a single pattern to the clipboard document's defs element.
914 * Copy a text path to the clipboard's defs element.
949 * Retrieve a bitmap image from the clipboard and paste it into the active document.
979 gchar *filename = g_build_filename( g_get_tmp_dir(), "inkscape-clipboard-import", NULL );
1049 * Retrieve the clipboard contents as a document.
1066 // Save the clipboard contents to some file, then read it
1067 gchar *filename = g_build_filename( g_get_tmp_dir(), "inkscape-clipboard-import", NULL );
1074 { // Try to save clipboard data as en emf file (using win32 api)
1103 // Save the clipboard contents to some file, then read it
1141 * Finds a suitable output extension to save the internal clipboard document,
1142 * then saves it to memory and sets the clipboard contents.
1167 // Save to a temporary file, read it back and then set the clipboard contents
1168 gchar *filename = g_build_filename( g_get_tmp_dir(), "inkscape-clipboard-export", NULL );
1216 * Callback when someone else takes the clipboard.
1218 * When the clipboard owner changes, this callback clears the internal clipboard document
1229 * Creates an internal clipboard document from scratch.
1240 _clipnode = _doc->createElement("inkscape:clipboard");
1254 * Deletes the internal clipboard document.
1299 * Find the most suitable clipboard target.
1309 // clipboard target debugging snippet
1311 g_message("Begin clipboard targets");
1314 g_message("End clipboard targets\n");
1360 * Set the clipboard targets to reflect the mimetypes Inkscape can output.
1401 // Note: Metafile is the only format that is rendered and stored in clipboard
1418 // Save to a temporary file, read it back and then set the clipboard contents
1419 gchar *filename = g_build_filename( g_get_tmp_dir(), "inkscape-clipboard-export.emf", NULL );
1441 * Set the string representation of a 32-bit RGBA color as the clipboard contents.