~ubuntu-branches/ubuntu/trusty/libwpd/trusty

« back to all changes in this revision

Viewing changes to src/lib/WP42StylesListener.h

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2008-02-12 15:22:12 UTC
  • mfrom: (1.2.1 upstream) (10.1.5 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080212152212-beh3l4ahg9b4o3lj
Tags: 0.8.14-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        WP42StylesListener(std::list<WPXPageSpan> &pageList, std::vector<WP42SubDocument *> &subDocuments);
41
41
 
42
42
        void startDocument() {}
43
 
        void insertCharacter(const uint16_t character) { if (!isUndoOn()) m_currentPageHasContent = true; }
44
 
        void insertTab(const uint8_t tabType, float tabPosition) { if (!isUndoOn()) m_currentPageHasContent = true; }
 
43
        void insertCharacter(const uint16_t /* character */) { if (!isUndoOn()) m_currentPageHasContent = true; }
 
44
        void insertTab(const uint8_t /* tabType */, float /* tabPosition */) { if (!isUndoOn()) m_currentPageHasContent = true; }
45
45
        void insertEOL() { if (!isUndoOn()) m_currentPageHasContent = true; }
46
46
        void insertBreak(const uint8_t breakType);
47
 
        void attributeChange(const bool isOn, const uint8_t attribute) {}
48
 
        void marginReset(const uint8_t leftMargin, const uint8_t rightMargin) {}
 
47
        void attributeChange(const bool /* isOn */, const uint8_t /* attribute */) {}
 
48
        void marginReset(const uint8_t /* leftMargin */, const uint8_t /* rightMargin */) {}
49
49
        void headerFooterGroup(const uint8_t headerFooterDefinition, WP42SubDocument *subDocument);
50
50
        void suppressPageCharacteristics(const uint8_t suppressCode);
51
51
        void endDocument();