~ubuntu-branches/ubuntu/edgy/libwpd/edgy-security

« back to all changes in this revision

Viewing changes to src/lib/WPXHLListener.h

  • Committer: Bazaar Package Importer
  • Author(s): Masayuki Hatta (mhatta)
  • Date: 2004-08-10 00:37:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040810003747-5i7g92h2v88z70zo
Tags: 0.7.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include "WPXHLListenerImpl.h"
31
31
 
32
32
class WPXPageSpan;
 
33
class WPXTableList;
 
34
class WPXTable;
33
35
 
34
36
typedef struct _WPXDocumentMetaData WPXDocumentMetaData;
35
37
struct _WPXDocumentMetaData
123
125
        WPXHLListener::~WPXHLListener();
124
126
 
125
127
        void startDocument();
126
 
        void handleSubDocument(guint16 textPID);
 
128
        void handleSubDocument(guint16 textPID, const bool isHeaderFooter, WPXTableList *tableList);
 
129
        virtual void insertBreak(const guint8 breakType);
127
130
 
128
131
        WPXParsingState *m_ps; // parse state
129
132
        WPXHLListenerImpl * m_listenerImpl;
131
134
        vector <WPXPageSpan *> *m_pageList;
132
135
 
133
136
protected:
134
 
        virtual void _handleSubDocument(guint16 textPID) = 0;
 
137
        virtual void _handleSubDocument(guint16 textPID, const bool isHeaderFooter, WPXTableList *tableList) = 0;
 
138
        virtual void _flushText(const bool fakeText=false) = 0;
135
139
 
136
140
        void _openSection();
137
141
        void _closeSection();
144
148
 
145
149
        void _openSpan();
146
150
        void _closeSpan();
 
151
 
 
152
        bool isUndoOn() { return m_isUndoOn; }
 
153
        bool m_isUndoOn;
147
154
};
148
155
 
149
156
#endif /* WPXHLLISTENER_H */