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

« back to all changes in this revision

Viewing changes to src/lib/WP5StylesListener.h

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2006-07-15 11:58:12 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060715115812-v18efmdayby4clau
Tags: 0.8.6-1
* New upstream release
* swap maintainer/uploader

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include "WPXTable.h"
37
37
#include "WP5SubDocument.h"
38
38
 
39
 
class WP5StylesListener : public WP5Listener, public WPXStylesListener
 
39
class WP5StylesListener : public WP5Listener, protected WPXStylesListener
40
40
{
41
41
public:
42
42
        WP5StylesListener(std::list<WPXPageSpan> &pageList, WPXTableList tableList, std::vector<WP5SubDocument*> &subDocuments);
45
45
        void setFont(const WPXString fontName, const float fontSize) {}
46
46
        void insertCharacter(const uint16_t character) { /*if (!isUndoOn())*/ m_currentPageHasContent = true; }
47
47
        void insertTab(const uint8_t tabType, float tabPosition) { /*if (!isUndoOn())*/ m_currentPageHasContent = true; }
48
 
        void handleLineBreak() { /*if (!isUndoOn())*/ m_currentPageHasContent = true; };
49
48
        void characterColorChange(const uint8_t red, const uint8_t green, const uint8_t blue) {};
50
49
        void insertEOL() { /*if (!isUndoOn())*/ m_currentPageHasContent = true; }
51
50
        void insertBreak(const uint8_t breakType);
74
73
        void suppressPageCharacteristics(const uint8_t suppressCode);
75
74
 
76
75
protected:
77
 
        void _openPageSpan() { /* FIXME: REMOVE ME WHEN IMPLEMENTED IN WPXListener */ }
78
 
 
79
76
        void _handleSubDocument(const WPXSubDocument *subDocument, const bool isHeaderFooter, WPXTableList tableList, int nextTableIndice = 0);
80
77
 
81
78
private:
82
 
        void _flushText() {}
83
 
        void _changeList() {}
84
 
 
85
79
        WPXPageSpan m_currentPage, m_nextPage;
86
80
 
87
81
        WPXTableList m_tableList;