diff options
author | Pavel Kysilka <goldenfish@linuxsoft.cz> | 2012-06-25 20:35:58 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-07-02 09:55:27 +0200 |
commit | 46d7c921222cdcd253f159a1cdbd85ed749c2d26 (patch) | |
tree | 334191bd602869e040f5f0b7c644cb5571db4bf6 | |
parent | 1136fa4fc40cba46272e06b529064a02a140803f (diff) |
implement RTF_HIGHLIGHT
Change-Id: I9d695f9b544250017bea69167e3133c4e9ee37a4
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 270d71124783..afd7350576d9 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -2392,6 +2392,12 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam) m_aStates.top().aCharacterSprms.set(0x6877, pValue); } break; + case RTF_HIGHLIGHT: + { + RTFValue::Pointer_t pValue(new RTFValue(nParam)); + m_aStates.top().aCharacterSprms.set(NS_sprm::LN_CHighlight, pValue); + } + break; case RTF_UP: case RTF_DN: { |