diff options
author | Justin Luth <justin_luth@sil.org> | 2022-04-12 12:06:56 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-04-27 12:04:01 +0200 |
commit | 4a8ea3d086e03098fcff2a744ccb632f50f173dd (patch) | |
tree | ef7a46bdda73e634738b3efbcddb08b2606bf8b7 /sd | |
parent | e678e013a9b8d928353f1136b77469950bdd2cdc (diff) |
tdf#148380 sw ms: import select fldLock'd fields as FIXED
Many fields we are locking just because we can't trust that
what is seen in MSWord is what will be seen in LO.
Of the unlocked fields which normally should be updated
(SAVEDATE and PRINTDATE), if MS Word secretly has also
locked them (via Ctrl-F11), then we also need to lock them.
Currently, on export these will be exported as plain text,
which IMHO is perfect because them we never need to mess
with these nasty fields again.
WriterFilter import was already handling the complicated FldChar's
fldLock OK, but nothing happened with the one for fldSimple.
Proving once again that a monkey can program, I randomly made
copy-changes to model.xml until I got the result I wanted...
The unit test has one of each.
Change-Id: Ia197794f4ea7e105b67cb1805c5def5347d7690d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133087
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd')
0 files changed, 0 insertions, 0 deletions