diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-08-15 13:09:12 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-08-15 13:09:12 +0200 |
commit | 997cd18a65c9b21a3a76a47e2c247b002e95e0e9 (patch) | |
tree | 605319c28e82077abb4e29f2e244ff0cdef8422c /writerfilter | |
parent | implement RTF_PICWGOAL and RTF_PICHGOAL (diff) | |
download | core-997cd18a65c9b21a3a76a47e2c247b002e95e0e9.tar.gz core-997cd18a65c9b21a3a76a47e2c247b002e95e0e9.zip |
send crop values to dmapper
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 2cb8e4a44f5c..8078ceb81d00 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -2102,6 +2102,10 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam) case RTF_PICHGOAL: m_aStates.top().aPicture.nGoalHeight = TWIP_TO_MM100(nParam); break; + case RTF_PICCROPL: m_aStates.top().aPicture.nCropL = TWIP_TO_MM100(nParam); break; + case RTF_PICCROPR: m_aStates.top().aPicture.nCropR = TWIP_TO_MM100(nParam); break; + case RTF_PICCROPT: m_aStates.top().aPicture.nCropT = TWIP_TO_MM100(nParam); break; + case RTF_PICCROPB: m_aStates.top().aPicture.nCropB = TWIP_TO_MM100(nParam); break; case RTF_SHPWRK: { int nValue = 0; |