diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-05-11 08:17:32 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-05-13 13:19:56 +0200 |
commit | 3e29a18bd30223109031306f9630e86b2bbb6543 (patch) | |
tree | 38848ef984fe3b0e8f21b499d6c4330c15d4e228 /reportdesign | |
parent | 2c59f66bf5c0d5982757f5c444dfea7ad504dc3a (diff) |
sw content controls, drop-down: add DOCX import
- inline drop-down content controls were imported as an SwDropDownField
previously, but that has the drawback of not being able to store both
display texts and values of each list items
- adapt tests under sw/qa/ which asserted that the import result is a
field, and check content control properties instead
- change dmapper so that SdtControlType::dropDown is one more inline
SDT that gets mapped to SwContentControl
- remove the no longer needed grab-bagging in writerfilter/, otherwise
we would write the SDT markup twice on export
- improve DomainMapper_Impl::PopSdt() to actually map the collected
dropdown properties to properties on the to-be-inserted content
control
(cherry picked from commit 24417d8c3c9e1c619936e85fa7a20481a24e3530)
Conflicts:
writerfilter/source/dmapper/DomainMapper.cxx
Change-Id: I7e88ec8cd1d73bc1c6c75154d6ab07352cbcec8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134258
Tested-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'reportdesign')
0 files changed, 0 insertions, 0 deletions