KoFilter.h
int embedPart(const TQCString &from, TQCString &to, KoFilter::ConversionStatus &status, const TQString &key=TQString())
Embed some document using an external filter (i.e.
Definition KoFilter.cpp:67
static TQString mimeTypeByExtension(const TQString &extension)
A static helper method to determine the mimetype via the file extension.
Definition KoFilter.cpp:52
int internalPartReference(const TQString &key) const
Query the internal part map for the reference of the part matching the given key.
Definition KoFilter.cpp:107
TQCString internalPartMimeType(const TQString &key) const
Query the internal part map for the mimetype of the part matching the given key.
Definition KoFilter.cpp:115
void endInternalEmbedding()
This method signals the end of an internal embedding session.
Definition KoFilter.cpp:97
void startInternalEmbedding(const TQString &key, const TQCString &mimeType)
Method to perform "internal" embedding of parts in olefilter-style.
Definition KoFilter.cpp:89
This class represents a chain of plain KoFilter instances.
Definition KoFilterChain.h:51
virtual ConversionStatus convert(const TQCString &from, const TQCString &to)=0
The filter chain calls this method to perform the actual conversion.
void sigProgress(int value)
Emit this signal with a value in the range of 1...100 to have some progress feedback for the user in ...
KoFilterChain * m_chain
Use this pointer to access all information about input/output during the conversion.
Definition KoFilter.h:108
ConversionStatus
This enum is used to signal the return state of your filter.
Definition KoFilter.h:64
