SernaClipboard
class SernaClipboard { public: // public static functions SString getText(bool, const GroveStripInfo &) ; void setText(bool, const SString &) ; GroveDocumentFragment getFragment(bool = false) ; void setFragment(bool, GroveDocumentFragment &) ; };
Provides access to application clipboard. Note that under Unix systems, there are two clipboards: normal clipboard and mouse clipboard. These are distinguished with isMouse parameter for clipboard functions. For normal clipboard, value of this parameter must be false.
SernaClipboard
public static functionsSString getText(bool isMouse, const GroveStripInfo & ) ;
Returns clipboard content as SString.
Copies raw string to the clipboard buffer. On paste, this string will not be escaped.
GroveDocumentFragment getFragment(bool isMouse = false) ;
Returns clipboard content as fragment.