00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef WPXHLLISTENERIMPL_H
00028 #define WPXHLLISTENERIMPL_H
00029 #include "WPXPropertyList.h"
00030 #include "WPXPropertyListVector.h"
00031
00038 class WPXHLListenerImpl
00039 {
00040 public:
00054 virtual void setDocumentMetaData(const WPXPropertyList &propList) = 0;
00055
00059 virtual void startDocument() = 0;
00063 virtual void endDocument() = 0;
00064
00079 virtual void openPageSpan(const WPXPropertyList &propList) = 0;
00083 virtual void closePageSpan() = 0;
00084
00090 virtual void openHeader(const WPXPropertyList &propList) = 0;
00094 virtual void closeHeader() = 0;
00095
00101 virtual void openFooter(const WPXPropertyList &propList) = 0;
00105 virtual void closeFooter() = 0;
00106
00123 virtual void openParagraph(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) = 0;
00127 virtual void closeParagraph() = 0;
00128
00143 virtual void openSpan(const WPXPropertyList &propList) = 0;
00147 virtual void closeSpan() = 0;
00158 virtual void openSection(const WPXPropertyList &propList, const WPXPropertyListVector &columns) = 0;
00162 virtual void closeSection() = 0;
00163
00167 virtual void insertTab() = 0;
00172 virtual void insertText(const WPXString &text) = 0;
00176 virtual void insertLineBreak() = 0;
00177
00190 virtual void defineOrderedListLevel(const WPXPropertyList &propList) = 0;
00200 virtual void defineUnorderedListLevel(const WPXPropertyList &propList) = 0;
00206 virtual void openOrderedListLevel(const WPXPropertyList &propList) = 0;
00212 virtual void openUnorderedListLevel(const WPXPropertyList &propList) = 0;
00216 virtual void closeOrderedListLevel() = 0;
00220 virtual void closeUnorderedListLevel() = 0;
00237 virtual void openListElement(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) = 0;
00241 virtual void closeListElement() = 0;
00242
00248 virtual void openFootnote(const WPXPropertyList &propList) = 0;
00249 virtual void closeFootnote() = 0;
00255 virtual void openEndnote(const WPXPropertyList &propList) = 0;
00259 virtual void closeEndnote() = 0;
00260
00271 virtual void openTable(const WPXPropertyList &propList, const WPXPropertyListVector &columns) = 0;
00280 virtual void openTableRow(const WPXPropertyList &propList) = 0;
00284 virtual void closeTableRow() = 0;
00299 virtual void openTableCell(const WPXPropertyList &propList) = 0;
00303 virtual void closeTableCell() = 0;
00310 virtual void insertCoveredTableCell(const WPXPropertyList &propList) = 0;
00314 virtual void closeTable() = 0;
00315 };
00316
00317 #endif