21#ifndef KWEF_BASEWORKER_H
22#define KWEF_BASEWORKER_H
25#include <tqiodevice.h>
27#include <KWEFStructures.h>
28#include <koffice_export.h>
41 void registerKWordLeader(KWEFKWordLeader* leader);
43 bool loadSubFile( const TQString& fileName, TQByteArray& array) const;
44 TQIODevice* getSubFileDevice( const TQString& fileName) const;
46 TQImage loadAndConvertToImage( const TQString& strName, const TQString& inExtension) const;
47 bool loadAndConvertToImage( const TQString& strName, const TQString& inExtension, const TQString& outExtension, TQByteArray& image) const;
49 virtual bool doOpenFile ( const TQString& filenameOut, const TQString& to);
50 virtual bool doCloseFile ( void);
51 virtual bool doAbortFile ( void);
52 virtual bool doOpenDocument ( void);
53 virtual bool doCloseDocument ( void);
54 virtual bool doOpenTextFrameSet ( void);
55 virtual bool doCloseTextFrameSet ( void);
56 virtual bool doFullDocumentInfo ( const KWEFDocumentInfo &docInfo);
58 virtual bool doFullDocument ( const TQValueList<ParaData> &);
59 virtual bool doFullAllParagraphs ( const TQValueList<ParaData>& paraList);
60 virtual bool doFullParagraph( const TQString& paraText, const LayoutData& layout,
61 const ValueListFormatData& paraFormatDataList);
63 const double width, const double height, const int orientation);
65 const double bottom, const double right);
71 virtual bool doPageInfo( const int headerType, const int footerType);
72 virtual bool doHeader( const HeaderData& header);
73 virtual bool doFooter( const FooterData& footer);
86 KWEFKWordLeader* m_kwordLeader;
Base worker of the libexport system.
virtual bool doCloseSpellCheckIgnoreList(void) like AbiWord's </ignorewords> and Kwords </SPELLCHECKIGNORELIST>
virtual bool doFullPaperBorders(const double top, const double left, const double bottom, const double right) Like KWord's <PAPERBORDERS>
virtual bool doOpenSpellCheckIgnoreList(void) like AbiWord's <ignorewords> and KWord's <SPELLCHECKIGNORELIST>
virtual bool doCloseBody(void) Like HTML's </BODY>
virtual bool doFullPaperFormat(const int format, const double width, const double height, const int orientation) Like AbiWord's <papersize>
virtual bool doFullDefineStyle(LayoutData &layout) Defines a single style.
virtual bool doCloseHead(void) Like HTML's </HEAD>
virtual bool doOpenHead(void) Like HTML's <HEAD>
virtual bool doFullPaperFormatOther(const int columns, const double columnspacing, const int numPages) Other data of KWord's <PAPER> which are not in.
virtual bool doOpenStyles(void) Like HTML's <style>
virtual bool doDeclareNonInlinedFramesets(TQValueList< FrameAnchor > &pictureAnchors, TQValueList< FrameAnchor > &tableAnchors)
virtual bool doFullSpellCheckIgnoreWord(const TQString &ignoreword) like AbiWord's <iw> and Kwords </SPELLCHECKIGNOREWORD>
virtual bool doCloseStyles(void) Like HTML's </style>
virtual bool doOpenBody(void) Like HTML's <BODY>
see <VARIABLESETTINGS> in the KWord DTD
|