summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-11-07 11:19:05 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-11-07 11:30:43 +0100
commit98fd70592463ac6cc4df3bb535230780d44b9fbc (patch)
tree13a727cd778438333b8a38bedb476cf7f6a06a3e /writerfilter
parentfc46d7f60b5cd8901115769f44b054da8b2a3100 (diff)
DOCX filter: roundtrip paragraph style lock
Change-Id: Id656e48c1600bb7b04e8566d5c0f3297f80a89d9
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/StyleSheetTable.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index 741dd9ff6868..1092bac51ebd 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -590,7 +590,6 @@ void StyleSheetTable::lcl_sprm(Sprm & rSprm)
case NS_ooxml::LN_CT_Style_aliases:
case NS_ooxml::LN_CT_Style_autoRedefine:
case NS_ooxml::LN_CT_Style_hidden:
- case NS_ooxml::LN_CT_Style_locked:
case NS_ooxml::LN_CT_Style_personal:
case NS_ooxml::LN_CT_Style_personalCompose:
case NS_ooxml::LN_CT_Style_personalReply:
@@ -616,6 +615,7 @@ void StyleSheetTable::lcl_sprm(Sprm & rSprm)
case NS_ooxml::LN_CT_Style_unhideWhenUsed:
case NS_ooxml::LN_CT_Style_uiPriority:
case NS_ooxml::LN_CT_Style_link:
+ case NS_ooxml::LN_CT_Style_locked:
if(m_pImpl->m_pCurrentEntry->nStyleTypeCode == STYLE_TYPE_TABLE || m_pImpl->m_pCurrentEntry->nStyleTypeCode == STYLE_TYPE_PARA)
{
StyleSheetEntryPtr pEntry = m_pImpl->m_pCurrentEntry;
@@ -655,6 +655,9 @@ void StyleSheetTable::lcl_sprm(Sprm & rSprm)
aValue.Value = uno::makeAny(sStringValue);
}
break;
+ case NS_ooxml::LN_CT_Style_locked:
+ aValue.Name = "locked";
+ break;
default:
break;
}