Utilities to work with the clipboard for copy-pasting
Some functions defined here are also re-used for drag-and-drop functionality, which works similar to the clipboard, but has a less straight forward API.
| Class | ClipboardData | Wrapper for data that can be set on the clipboard and pasted multiple formats | 
| Class | ClipboardManager | Wrapper for Gtk.Clipboard, supporting specific data formats | 
| Class | InterWikiLinkData | Undocumented | 
| Class | MockSelectionData | Adapter to allow usage of ClipboardData as input for parsetree_from_selectiondata() | 
| Class | PageLinkData | Undocumented | 
| Class | ParseTreeData | Undocumented | 
| Class | UriData | Undocumented | 
| Class | Win32HtmlFormat | This class adds support for Windows "HTML Format" clipboard content type | 
| Function | deserialize_image | Undocumented | 
| Function | deserialize_parse_tree | Undocumented | 
| Function | deserialize_urilist | Undocumented | 
| Function | pack_urilist | Undocumented | 
| Function | parsetree_from_selectiondata | Function to get a parsetree based on the selectiondata contents if at all possible. Used by both copy-paste and drag-and-drop methods. | 
| Function | serialize_parse_tree | Undocumented | 
| Function | textbuffer_register_serialize_formats | Undocumented | 
| Function | unpack_urilist | Undocumented | 
| Function | wrap_html | Function to wrap html with appropriate headers based on target type | 
| Constant | HTML_HEAD | Undocumented | 
| Constant | HTML_TARGET_ID | Undocumented | 
| Constant | HTML_TARGET_NAMES | Undocumented | 
| Constant | HTML_TARGETS | Undocumented | 
| Constant | IMAGE_TARGET_ID | Undocumented | 
| Constant | IMAGE_TARGET_NAMES | Undocumented | 
| Constant | IMAGE_TARGETS | Undocumented | 
| Constant | PAGELIST_TARGET | Undocumented | 
| Constant | PAGELIST_TARGET_ID | Undocumented | 
| Constant | PAGELIST_TARGET_NAME | Undocumented | 
| Constant | PARSETREE_ACCEPT_TARGET_NAMES | Undocumented | 
| Constant | PARSETREE_ACCEPT_TARGETS | Undocumented | 
| Constant | PARSETREE_TARGET | Undocumented | 
| Constant | PARSETREE_TARGET_ID | Undocumented | 
| Constant | PARSETREE_TARGET_NAME | Undocumented | 
| Constant | TEXT_TARGET_ID | Undocumented | 
| Constant | TEXT_TARGET_NAMES | Undocumented | 
| Constant | TEXT_TARGETS | Undocumented | 
| Constant | URI_TARGET_ID | Undocumented | 
| Constant | URI_TARGET_NAMES | Undocumented | 
| Constant | URI_TARGETS | Undocumented | 
| Variable | Clipboard | Undocumented | 
| Variable | logger | Undocumented | 
| Variable | name | Undocumented | 
| Variable | SelectionClipboard | Undocumented | 
| Function | _get_image_info | Undocumented | 
| Function | _link_tree | Undocumented | 
| Variable | _internal_selection_data | Undocumented | 
Undocumented
Undocumented
Undocumented
Function to get a parsetree based on the selectiondata contents if at all possible. Used by both copy-paste and drag-and-drop methods.
The 'notebook' and optional 'path' arguments are used to format links relative to the page which is the target for the pasting or drop operation.
NOTE: this method can have a side affect where files are placed in the attachment folder of the page.
| Parameters | |
| selectiondata | a Gtk.SelectionData object | 
| notebook | a Notebookobject | 
| path | a Pathobject | 
| text_format | format to parse pasted text, as a special case 
 | 
| Returns | |
| a ParseTreeor None | |
Undocumented
| Value | 
|  | 
Undocumented
| Value | 
|  | 
Undocumented
| Value | 
|  | 
Undocumented
| Value | 
|  | 
Undocumented
| Value | 
|  |