Differential D24830 Diff 68516 filters/words/rtf/import/3rdparty/rtf-qt/src/TextDocumentRtfOutput.cpp
Changeset View
Changeset View
Standalone View
Standalone View
filters/words/rtf/import/3rdparty/rtf-qt/src/TextDocumentRtfOutput.cpp
Show First 20 Lines • Show All 132 Lines • ▼ Show 20 Line(s) | 132 | m_cursor->setCharFormat( m_textCharFormatStack.top() ); | |||
---|---|---|---|---|---|
133 | } | 133 | } | ||
134 | 134 | | |||
135 | void TextDocumentRtfOutput::setFontUnderline( const int value ) | 135 | void TextDocumentRtfOutput::setFontUnderline( const int value ) | ||
136 | { | 136 | { | ||
137 | m_textCharFormatStack.top().setFontUnderline( value != 0 ); | 137 | m_textCharFormatStack.top().setFontUnderline( value != 0 ); | ||
138 | m_cursor->setCharFormat( m_textCharFormatStack.top() ); | 138 | m_cursor->setCharFormat( m_textCharFormatStack.top() ); | ||
139 | } | 139 | } | ||
140 | 140 | | |||
141 | void TextDocumentRtfOutput::setFontStrikeout(const bool value) | ||||
142 | { | ||||
143 | m_textCharFormatStack.top().setFontStrikeOut(value); | ||||
144 | m_cursor->setCharFormat( m_textCharFormatStack.top() ); | ||||
145 | } | ||||
146 | | ||||
141 | void TextDocumentRtfOutput::setFontPointSize( const int pointSize ) | 147 | void TextDocumentRtfOutput::setFontPointSize( const int pointSize ) | ||
142 | { | 148 | { | ||
143 | m_textCharFormatStack.top().setFontPointSize( pointSize ); | 149 | m_textCharFormatStack.top().setFontPointSize( pointSize ); | ||
144 | m_cursor->setCharFormat( m_textCharFormatStack.top() ); | 150 | m_cursor->setCharFormat( m_textCharFormatStack.top() ); | ||
145 | } | 151 | } | ||
146 | 152 | | |||
147 | void TextDocumentRtfOutput::setForegroundColour( const int colourIndex ) | 153 | void TextDocumentRtfOutput::setForegroundColour( const int colourIndex ) | ||
148 | { | 154 | { | ||
▲ Show 20 Lines • Show All 191 Lines • Show Last 20 Lines |