libs/flake
KoDragOdfSaveHelper Class Reference
#include <KoDragOdfSaveHelper.h>
Inheritance diagram for KoDragOdfSaveHelper:

Public Member Functions | |
| KoDragOdfSaveHelper () | |
| virtual | ~KoDragOdfSaveHelper () |
| virtual KoShapeSavingContext * | context (KoXmlWriter *bodyWriter, KoGenStyles &mainStyles, KoEmbeddedDocumentSaver &embeddedSaver) |
| virtual bool | writeBody ()=0 |
Protected Attributes | |
| KoShapeSavingContext * | m_context |
Detailed Description
Definition at line 29 of file KoDragOdfSaveHelper.h.
Constructor & Destructor Documentation
| KoDragOdfSaveHelper::KoDragOdfSaveHelper | ( | ) |
Definition at line 22 of file KoDragOdfSaveHelper.cpp.
| KoDragOdfSaveHelper::~KoDragOdfSaveHelper | ( | ) | [virtual] |
Definition at line 26 of file KoDragOdfSaveHelper.cpp.
Member Function Documentation
| KoShapeSavingContext * KoDragOdfSaveHelper::context | ( | KoXmlWriter * | bodyWriter, | |
| KoGenStyles & | mainStyles, | |||
| KoEmbeddedDocumentSaver & | embeddedSaver | |||
| ) | [virtual] |
Create and return the context used for saving.
If you need a special context for saving you can reimplent this function. The default implementation return a KoShapeSavingContext.
The returned context is valid as long as the KoDragOdfSaveHelper is existing
Definition at line 31 of file KoDragOdfSaveHelper.cpp.
| virtual bool KoDragOdfSaveHelper::writeBody | ( | ) | [pure virtual] |
This method is called for writing the body of odf document.
You need to have created a context before calling this function
Implemented in KoShapeOdfSaveHelper.
Member Data Documentation
KoShapeSavingContext* KoDragOdfSaveHelper::m_context [protected] |
Definition at line 53 of file KoDragOdfSaveHelper.h.
The documentation for this class was generated from the following files:
