40
40
WP1StylesListener(std::list<WPXPageSpan> &pageList, std::vector<WP1SubDocument *> &subDocuments);
41
~WP1StylesListener() {}
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() {}