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 #ifndef WPXHLLISTENERIMPL_H
00027 #define WPXHLLISTENERIMPL_H
00028 #include "WPXPropertyList.h"
00029 #include "WPXPropertyListVector.h"
00030
00037 class WPXHLListenerImpl
00038 {
00039 public:
00053 virtual void setDocumentMetaData(const WPXPropertyList &propList) = 0;
00054
00058 virtual void startDocument() = 0;
00062 virtual void endDocument() = 0;
00063
00078 virtual void openPageSpan(const WPXPropertyList &propList) = 0;
00082 virtual void closePageSpan() = 0;
00083
00089 virtual void openHeader(const WPXPropertyList &propList) = 0;
00093 virtual void closeHeader() = 0;
00094
00100 virtual void openFooter(const WPXPropertyList &propList) = 0;
00104 virtual void closeFooter() = 0;
00105
00122 virtual void openParagraph(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) = 0;
00126 virtual void closeParagraph() = 0;
00127
00142 virtual void openSpan(const WPXPropertyList &propList) = 0;
00146 virtual void closeSpan() = 0;
00157 virtual void openSection(const WPXPropertyList &propList, const WPXPropertyListVector &columns) = 0;
00161 virtual void closeSection() = 0;
00162
00166 virtual void insertTab() = 0;
00171 virtual void insertText(const WPXString &text) = 0;
00175 virtual void insertLineBreak() = 0;
00176
00188 virtual void defineOrderedListLevel(const WPXPropertyList &propList) = 0;
00197 virtual void defineUnorderedListLevel(const WPXPropertyList &propList) = 0;
00203 virtual void openOrderedListLevel(const WPXPropertyList &propList) = 0;
00209 virtual void openUnorderedListLevel(const WPXPropertyList &propList) = 0;
00213 virtual void closeOrderedListLevel() = 0;
00217 virtual void closeUnorderedListLevel() = 0;
00234 virtual void openListElement(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) = 0;
00238 virtual void closeListElement() = 0;
00239
00245 virtual void openFootnote(const WPXPropertyList &propList) = 0;
00246 virtual void closeFootnote() = 0;
00252 virtual void openEndnote(const WPXPropertyList &propList) = 0;
00256 virtual void closeEndnote() = 0;
00257
00268 virtual void openTable(const WPXPropertyList &propList, const WPXPropertyListVector &columns) = 0;
00276 virtual void openTableRow(const WPXPropertyList &propList) = 0;
00280 virtual void closeTableRow() = 0;
00295 virtual void openTableCell(const WPXPropertyList &propList) = 0;
00299 virtual void closeTableCell() = 0;
00306 virtual void insertCoveredTableCell(const WPXPropertyList &propList) = 0;
00310 virtual void closeTable() = 0;
00311 };
00312
00313 #endif