~ubuntu-branches/ubuntu/lucid/libwpd/lucid

« back to all changes in this revision

Viewing changes to src/lib/WP1StylesListener.h

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2007-01-11 15:15:57 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070111151557-rn1kysabqbccx3as
Tags: 0.8.8-2
run make check for stream check; build-depend on libcppunit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
{
39
39
public:
40
40
        WP1StylesListener(std::list<WPXPageSpan> &pageList, std::vector<WP1SubDocument *> &subDocuments);
 
41
        ~WP1StylesListener() {}
41
42
 
42
43
        void startDocument() {}
43
 
        void insertCharacter(const uint16_t character) { if (!isUndoOn()) m_currentPageHasContent = true; }
44
 
        void insertExtendedCharacter(const uint8_t extendedCharacter) { if (!isUndoOn()) m_currentPageHasContent = true; }
 
44
        void insertCharacter(const uint16_t /* character */) { if (!isUndoOn()) m_currentPageHasContent = true; }
 
45
        void insertExtendedCharacter(const uint8_t /* extendedCharacter */) { if (!isUndoOn()) m_currentPageHasContent = true; }
45
46
        void insertTab() { if (!isUndoOn()) m_currentPageHasContent = true; }
46
47
        void insertEOL() { if (!isUndoOn()) m_currentPageHasContent = true; }
47
48
        void insertBreak(const uint8_t breakType);
48
 
        void insertNote(const WPXNoteType noteType, WP1SubDocument *subDocument) {}
49
 
        void attributeChange(const bool isOn, const uint8_t attribute) {}
50
 
        void fontPointSize(const uint8_t pointSize) {}
 
49
        void insertNote(const WPXNoteType /* noteType */, WP1SubDocument * /* subDocument */) {}
 
50
        void attributeChange(const bool /* isOn */, const uint8_t /* attribute */) {}
 
51
        void fontPointSize(const uint8_t /* pointSize */) {}
51
52
        void marginReset(const uint16_t leftMargin, const uint16_t rightMargin);
52
53
        void topMarginSet(const uint16_t topMargin);
53
54
        void bottomMarginSet(const uint16_t bottomMargin);
54
 
        void leftIndent(const uint16_t leftMarginOffset) { if (!isUndoOn()) m_currentPageHasContent = true; }
55
 
        void leftRightIndent(const uint16_t leftRightMarginOffset) { if (!isUndoOn()) m_currentPageHasContent = true; }
56
 
        void leftMarginRelease(const uint16_t release) {}
57
 
        void setTabs(const std::vector<WPXTabStop> tabStops) {}
 
55
        void leftIndent(const uint16_t /* leftMarginOffset */) { if (!isUndoOn()) m_currentPageHasContent = true; }
 
56
        void leftRightIndent(const uint16_t /* leftRightMarginOffset */) { if (!isUndoOn()) m_currentPageHasContent = true; }
 
57
        void leftMarginRelease(const uint16_t /* release */) {}
 
58
        void setTabs(const std::vector<WPXTabStop> /* tabStops */) {}
58
59
        void headerFooterGroup(const uint8_t headerFooterDefinition, WP1SubDocument *subDocument);
59
60
        void suppressPageCharacteristics(const uint8_t suppressCode);
60
 
        void justificationChange(const uint8_t justification) {}
61
 
        void lineSpacingChange(const uint8_t spacing) {}
 
61
        void justificationChange(const uint8_t /* justification */) {}
 
62
        void lineSpacingChange(const uint8_t /* spacing */) {}
62
63
        void flushRightOn() {}
63
64
        void flushRightOff() {}
64
65
        void centerOn() {}