filters
ExportDocStruct.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef EXPORTDOCSTRUCT_H
00022 #define EXPORTDOCSTRUCT_H
00023
00024 #include <KWEFBaseWorker.h>
00025 #include "ExportFilter.h"
00026
00027 class HtmlDocStructWorker : public HtmlWorker
00028 {
00029 public:
00030 HtmlDocStructWorker(void) { }
00031 virtual ~HtmlDocStructWorker(void) { }
00032 public:
00033 protected:
00034 virtual QString getStartOfListOpeningTag(const CounterData::Style typeList, bool& ordered);
00035 virtual void openParagraph(const QString& strTag,
00036 const LayoutData& layout,QChar::Direction direction=QChar::DirL);
00037 virtual void closeParagraph(const QString& strTag,
00038 const LayoutData& layout);
00039 virtual void openSpan(const FormatData& formatOrigin, const FormatData& format);
00040 virtual void closeSpan(const FormatData& formatOrigin, const FormatData& format);
00041 private:
00042 void openFormatData(const FormatData& formatOrigin,
00043 const FormatData& format, const bool force, const bool allowBold);
00044 void closeFormatData(const FormatData& formatOrigin,
00045 const FormatData& format, const bool force, const bool allowBold);
00046 };
00047
00048 #endif
|