From f79f3e072c2ff2f4624c2ec4c577d400733584a5 Mon Sep 17 00:00:00 2001 From: Jacobo Aragunde PĂ©rez Date: Wed, 19 Mar 2014 12:29:26 +0100 Subject: ooxml: import combobox sdt control This patch modifies the importer to reuse the code that imports the dropdown control and creates a combo box with it. The only drawback is that the combobox tag is transformed into a dropdownlist when exported back, but it doesn't seem to be an issue from the point of view of the user. Change-Id: I340d0cf02d8c5ea575ad4784a1242d2a3e9bd214 --- writerfilter/source/dmapper/DomainMapper.cxx | 1 + writerfilter/source/ooxml/model.xml | 15 +-------------- 2 files changed, 2 insertions(+), 14 deletions(-) (limited to 'writerfilter') diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index e1215f09e846..0b6283025050 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -2203,6 +2203,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext ) } break; case NS_ooxml::LN_CT_SdtPr_dropDownList: + case NS_ooxml::LN_CT_SdtPr_comboBox: { writerfilter::Reference::Pointer_t pProperties = rSprm.getProps(); if (pProperties.get() != NULL) diff --git a/writerfilter/source/ooxml/model.xml b/writerfilter/source/ooxml/model.xml index ca9685df01a7..2ab502a37785 100644 --- a/writerfilter/source/ooxml/model.xml +++ b/writerfilter/source/ooxml/model.xml @@ -18774,19 +18774,6 @@ - - - - - - - - - - Combo Box Last Saved Value - - - @@ -18896,7 +18883,7 @@ - + -- cgit