KoOasisStore.h
static TQString mimeForPath(const TQDomDocument &doc, const TQString &fullPath)
Another method for loading: get mimetype from full path, using the manifest.
Definition KoOasisStore.cpp:181
bool closeManifestWriter()
Close the manifest writer, writing its contents to manifest.xml.
Definition KoOasisStore.cpp:125
bool closeContentWriter()
This will copy the body into the content writer, delete the bodyWriter and the contentWriter,...
Definition KoOasisStore.cpp:86
KoXmlWriter * contentWriter()
Open contents.xml for writing and return the KoXmlWriter.
Definition KoOasisStore.cpp:62
KoXmlWriter * bodyWriter()
Open another KoXmlWriter for writing out the contents into a temporary file, to collect automatic sty...
Definition KoOasisStore.cpp:74
KoXmlWriter * manifestWriter(const char *mimeType)
Create and return a manifest writer. It will write to a memory buffer.
Definition KoOasisStore.cpp:109
bool loadAndParse(const TQString &fileName, TQDomDocument &doc, TQString &errorMessage)
A completely unrelated method, for loading a file from an oasis store.
Definition KoOasisStore.cpp:141
This class implements a TQIODevice around KoStore, so that it can be used to create a TQDomDocument f...
Definition KoStoreDevice.h:31
A class for writing out XML (to any TQIODevice), with a special attention on performance.
Definition KoXmlWriter.h:37
