KoFilterChain Class Reference
This class represents a chain of plain KoFilter instances. More...
#include <koFilterChain.h>
Collaboration diagram for KoFilterChain:

Public Types | |
typedef KSharedPtr< KoFilterChain > | Ptr |
Public Member Functions | |
const KoFilterManager * | manager () const |
KoFilter::ConversionStatus | invokeChain () |
QString | chainOutput () const |
QString | inputFile () |
QString | outputFile () |
KoStoreDevice * | storageFile (const QString &name="root", KoStore::Mode mode=KoStore::Read) |
KoDocument * | inputDocument () |
KoDocument * | outputDocument () |
void | dump () const |
Friends | |
class | KOffice::Graph |
class | KoFilterManager |
void | KoEmbeddingFilter::filterChainEnterDirectory (const QString &directory) const |
void | KoEmbeddingFilter::filterChainLeaveDirectory () const |
Detailed Description
This class represents a chain of plain KoFilter instances.Instances of this class are shared, so please just hold KoFilterChain::Ptr pointers to it.
- Author:
- Werner Trobin <trobin@kde.org>
Definition at line 48 of file koFilterChain.h.
Member Function Documentation
|
The filter manager returned may be 0!
Definition at line 63 of file koFilterChain.h. |
|
Starts the filtering process.
Definition at line 134 of file koFilterChain.cpp. References m_chainLinks. |
|
Tells the KoFilterManager the output file of the filter chain in case of an import operation. If it's QString::null we directly manipulated the document. Definition at line 174 of file koFilterChain.cpp. |
|
Get the current file to read from. This part of the API is for the filters in our chain. Definition at line 181 of file koFilterChain.cpp. Referenced by inputDocument(), and storageFile(). |
|
Get the current file to write to. This part of the API is for the filters in our chain. Definition at line 205 of file koFilterChain.cpp. Referenced by storageFile(). |
|
Get a file from a storage. May return 0! This part of the API is for the filters in our chain. If you call it multiple times with the same stream name the stream will be closed and re-opened. Note: Don't delete that KoStoreDevice we return.
Definition at line 233 of file koFilterChain.cpp. References inputFile(), KoStore::mode(), and outputFile(). |
|
This method allows your filter to work directly on the KoDocument of the application. This part of the API is for the filters in our chain.
Definition at line 260 of file koFilterChain.cpp. References inputFile(). |
|
This method allows your filter to work directly on the KoDocument of the application. This part of the API is for the filters in our chain.
Definition at line 280 of file koFilterChain.cpp. |
The documentation for this class was generated from the following files: