diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-12-08 15:16:50 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-12-08 15:51:46 +0100 |
commit | 0c3155f601b74eb369f47dc713d9e119e798da85 (patch) | |
tree | 06da9cd1415e09c1e80ff24a8937ef81154fef2f /sw/source/filter/ww8/ww8par.cxx | |
parent | eac3c35c9f4a7b81bde4bbcc8efd6844f7659967 (diff) |
DOC import: read SmartTagData
This only reads all the interesting info,
SwWW8ImplReader::Read_FactoidBook() still has to put it on the filter
stack in a later commit.
Change-Id: Ic2e8b441367448b5bdf940bf8871f25afe8362c4
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 84512a5297ad..15a731b17f43 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -5978,6 +5978,15 @@ const OUString* SwWW8ImplReader::GetAnnotationAuthor(sal_uInt16 nIdx) return pRet; } +void SwWW8ImplReader::GetSmartTagInfo(sal_uInt16 /*nIndex*/) +{ + if (!m_pSmartTagData && m_pWwFib->lcbFactoidData) + { + m_pSmartTagData.reset(new WW8SmartTagData()); + m_pSmartTagData->Read(*m_pTableStream, m_pWwFib->fcFactoidData, m_pWwFib->lcbFactoidData); + } +} + sal_uLong SwWW8ImplReader::LoadDoc(WW8Glossary *pGloss) { sal_uLong nErrRet = 0; |