- /// Get the contents of the window system clipboard in plain text format.
- virtual docstring const getAsText() const = 0;
+ /// Get the contents of the window system clipboard in any text format except LyxTextType.
+ virtual docstring const getAsText(TextType type) const = 0;
+ /// Get the contents of the window system clipboard as graphics file.
+ virtual support::FileName getAsGraphics(Cursor const & cur, GraphicsType type) const = 0;
+