diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-02-10 20:33:11 +0100 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-02-10 20:57:09 +0100 |
commit | 05506b377a81bcbdd0191aa592f17987f2ddcd34 (patch) | |
tree | db5e1d8785eeec46b9bd929788c48d08b179c8ae /writerfilter | |
parent | c782212abf4114b6dd366c38a44574be21c81eb1 (diff) |
ooxml: preserve font theme color tint property
Change-Id: I5cbc8fda63a9fd2999555d5a46ea3a063685ffc7
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/dmapper/PropertyIds.cxx | 1 | ||||
-rw-r--r-- | writerfilter/source/dmapper/PropertyIds.hxx | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index bade8722e8e1..2c96adaa81b0 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -1934,6 +1934,8 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext, SprmType m_pImpl->GetTopContext()->Insert(PROP_CHAR_THEME_COLOR, aIter->Value, true, CHAR_GRAB_BAG); else if (aIter->Name == "themeShade") m_pImpl->GetTopContext()->Insert(PROP_CHAR_THEME_COLOR_SHADE, aIter->Value, true, CHAR_GRAB_BAG); + else if (aIter->Name == "themeTint") + m_pImpl->GetTopContext()->Insert(PROP_CHAR_THEME_COLOR_TINT, aIter->Value, true, CHAR_GRAB_BAG); } if (m_pImpl->m_aInteropGrabBagName == "TempColorPropsGrabBag") { diff --git a/writerfilter/source/dmapper/PropertyIds.cxx b/writerfilter/source/dmapper/PropertyIds.cxx index 38c834bda7ea..004ff56c2416 100644 --- a/writerfilter/source/dmapper/PropertyIds.cxx +++ b/writerfilter/source/dmapper/PropertyIds.cxx @@ -365,6 +365,7 @@ OUString PropertyNameSupplier::GetName( PropertyIds eId ) const case PROP_TOC_BOOKMARK: sName = "TOCBookmark"; break; case PROP_TOC_NEW_LINE: sName = "TOCNewLine"; break; case PROP_TOC_PARAGRAPH_OUTLINE_LEVEL : sName = "TOCParagraphOutlineLevel"; break; + case PROP_CHAR_THEME_COLOR_TINT : sName = "CharThemeColorTint"; break; } ::std::pair<PropertyNameMap_t::iterator,bool> aInsertIt = m_pImpl->aNameMap.insert( PropertyNameMap_t::value_type( eId, sName )); diff --git a/writerfilter/source/dmapper/PropertyIds.hxx b/writerfilter/source/dmapper/PropertyIds.hxx index 75db43e2844f..f90f7df88758 100644 --- a/writerfilter/source/dmapper/PropertyIds.hxx +++ b/writerfilter/source/dmapper/PropertyIds.hxx @@ -336,6 +336,7 @@ enum PropertyIds ,PROP_TOC_BOOKMARK ,PROP_TOC_NEW_LINE ,PROP_TOC_PARAGRAPH_OUTLINE_LEVEL + ,PROP_CHAR_THEME_COLOR_TINT }; struct PropertyNameSupplier_Impl; class PropertyNameSupplier |