SernaDocFragment
class SernaDocFragment : : public SimpleWrappedObjectSernaApi::SimpleWrappedObject { public: // construct/copy/destruct SernaDocFragment(SernaApiBase * = 0); ~SernaDocFragment(); // public member functions void setFragment(const GroveDocumentFragment &) ; GroveDocumentFragment fragment() const; // public static functions SString fragMimeType(const PropertyNode &) ; SernaDocFragment newFragment(MimeHandler &, const SString &) ; SernaDocFragment getFragment(const MimeHandler &, const SString &) ; SernaDocFragment getSeFragment(const SernaDoc &) ; SernaDocFragment newSeFragment(const SernaDoc &) ; };
SernaDocFragment
public static functionsSString fragMimeType(const PropertyNode & ) ;
Generate SernaDocFragment MIME type from the document template.
SernaDocFragment newFragment(MimeHandler & , const SString & mimeType) ;
Create new SernaDocFragment with given MIME type, and add it to QMimeData instance
SernaDocFragment getFragment(const MimeHandler & , const SString & mimeType) ;
Retrieve SernaDocFragment from QMimeData.
SernaDocFragment getSeFragment(const SernaDoc & ) ;
Convenience function, equivalent to calling getFragment with document template information from provided SernaDoc
SernaDocFragment newSeFragment(const SernaDoc & ) ;
Convenience function, equivalent to calling newFragment with document template information from provided SernaDoc