diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-06-30 16:22:42 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-06-30 20:33:39 +0200 |
commit | 94678a7b9c6b7e577c15adacc885e03551bcf17b (patch) | |
tree | 1e48aea7c4b61cfa8e1f06c9a4d7aa95d25745db /sc/source/filter/inc/xeescher.hxx | |
parent | 7cbd6d768d282077053c354254315f3dc89bf254 (diff) |
XLSX export: improve handling of checkbox (form controls)
This builds on top of commit fd238380ae7820f12ac1f7c52d0f7180a93f3ba3
(tdf#106181 XLSX export: output form controls, 2020-05-13) and adds the
missing VML version which seems to be mandated by Excel 2019.
It is not perfect (e.g. there is still an unwanted border around the
checkbox), but the checkbox has a correct position and its label is
readable, while it was just lost previously.
Change-Id: I08198d068a0eb85061d138719cfc60d73c46398e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118168
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sc/source/filter/inc/xeescher.hxx')
-rw-r--r-- | sc/source/filter/inc/xeescher.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/filter/inc/xeescher.hxx b/sc/source/filter/inc/xeescher.hxx index b6ff9e562f15..f775571cac53 100644 --- a/sc/source/filter/inc/xeescher.hxx +++ b/sc/source/filter/inc/xeescher.hxx @@ -258,6 +258,8 @@ public: virtual void SaveXml( XclExpXmlStream& rStrm ) override; + void SaveVml(XclExpXmlStream& rStrm); + OUString SaveControlPropertiesXml(XclExpXmlStream& rStrm) const; void SaveSheetXml(XclExpXmlStream& rStrm, const OUString& aIdFormControlPr) const; @@ -295,6 +297,7 @@ private: sal_Int32 mnShapeId; tools::Rectangle maAreaFrom; tools::Rectangle maAreaTo; + XclExpObjectManager& mrRoot; }; //#endif |