diff options
author | Justin Luth <justin.luth@collabora.com> | 2022-10-15 14:54:11 -0400 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-10-18 11:37:26 +0200 |
commit | 8ad39b6f2aff3ca37aeaaaaff5373991e853c329 (patch) | |
tree | eb19ee42802af88e7e2b2f8e916735ff973d05c2 /ucb | |
parent | 2aacaa2231298e8a38d5964a13b285f7c5a3d8be (diff) |
tdf#151548 sw: use provided name for formfields
This was already aded for TextFieldmark in 2018 via tdf#120225.
(A unique name is created if that mark already exists.)
Added it to the other formfield items.
This is needed for DOC/DOCX import,
and is critical for connecting macros to the control.
mstahl said that DateFieldmark is not a valid MS formfield,
and miklosv indicated no likely value in preserving a name there.
There is also NonTextFieldmark and FieldmarkWithDropDownButton,
but they just look like implementation gadgets to me
so I didn't give them the same treatment.
No need for a unit test here. This is super foundational - anything
else building on it will be the unit test.
Change-Id: Ide49d6efb8391fea17e7a61c9e99b30532bb2014
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141423
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'ucb')
0 files changed, 0 insertions, 0 deletions