filters
KSpread::Leader Class Reference
#include <KSpreadLeader.h>
Detailed Description
This class is a leader which will call the callbacks to the worker with your own implementation for your export filter.A Leader for an KSpread export filter.To write an export filter, just instanciate a leader and implement you own worker based on the BaseWorker.
- Author:
- Fred Malabre
- See also:
- KSpreadBaseWorker
KoFilter
Definition at line 46 of file KSpreadLeader.h.
Public Member Functions | |
Leader (KoFilterChain *filterChain) | |
Leader (KoFilterChain *filterChain, KSpreadBaseWorker *newWorker) | |
virtual | ~Leader () |
void | setWorker (KSpreadBaseWorker *newWorker) |
KoFilter::ConversionStatus | convert () |
Protected Member Functions | |
KSpreadBaseWorker * | getWorker () const |
KoFilter::ConversionStatus | doSpreadCell (Cell *spreadCell, int column, int row) |
KoFilter::ConversionStatus | doSpreadSheet (Sheet *spreadSheet) |
KoFilter::ConversionStatus | doSpreadBook (Doc *document) |
KoFilter::ConversionStatus | doInfo (KoDocumentInfo *info) |
Constructor & Destructor Documentation
|
Default constructor. Call setWorker() before starting to convert the KSpread document.
Definition at line 25 of file KSpreadLeader.cc. |
|
This constructor set up the Worker at initialization. convert can be called right away after instanciation of the Leader.
Definition at line 31 of file KSpreadLeader.cc. |
|
Default destructor. It does nothing. Definition at line 37 of file KSpreadLeader.cc. |
Member Function Documentation
|
Start the conversion process. The callbacks of your Worker will be called at this time.
Definition at line 51 of file KSpreadLeader.cc. |
|
Set your own implementation of the Worker.
Definition at line 46 of file KSpreadLeader.cc. |
The documentation for this class was generated from the following files: