diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 3a1f9158f928..ee338e274eea 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -274,7 +274,8 @@ RTFDocumentImpl::RTFDocumentImpl(uno::Reference const& x m_aBookmarks(), m_aAuthors(), m_aFormfieldSprms(), - m_aFormfieldAttributes() + m_aFormfieldAttributes(), + m_nFormFieldType(0) { OSL_ASSERT(xInputStream.is()); m_pInStream = utl::UcbStreamHelper::CreateStream(xInputStream, sal_True); @@ -1909,6 +1910,9 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam) case RTF_SHPBOTTOM: m_aStates.top().aShape.nBottom = TWIP_TO_MM100(nParam); break; + case RTF_FFTYPE: + m_nFormFieldType = nParam; + break; default: OSL_TRACE("%s: TODO handle value '%s'", OSL_THIS_FUNC, lcl_RtfToString(nKeyword)); bParsed = false; diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx index e4cfc6b832d5..14b04c52be82 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx @@ -333,6 +333,7 @@ namespace writerfilter { RTFSprms_t m_aFormfieldSprms; RTFSprms_t m_aFormfieldAttributes; + int m_nFormFieldType; }; } // namespace rtftok } // namespace writerfilter