diff options
author | Jan-Marek Glogowski <jan-marek.glogowski@extern.cib.de> | 2019-11-01 10:39:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-23 17:05:15 +0200 |
commit | 0da422c6d46a9374d6fafe1ecd11cf504575cf24 (patch) | |
tree | 36db842d5962d85b06905cec63b2bfa4fe36e5a4 /extensions/source/propctrlr/formstrings.hxx | |
parent | tdf#130799 DOCX import: fix missing inside vertical borders (diff) | |
download | core-distro/collabora/dcm-6.2.tar.gz core-distro/collabora/dcm-6.2.zip |
tdf#120546 fix DOCX overriding numrule format
distro/collabora/dcm-6.2
... at least in the view.
This "fixes" the import side of the exported OOXML document with
multiple overridden numrule character format. This prevents the
change of the shared numrule, which results in all bullets being
formatted like the last overridden numrule.
What is missing is a consistent way to edit the override, as the
override is currently just stored in an internal attribute, the
"ListAutoFormat" property.
Fixing editing for good will be a larger work, as "ListAutoFormat"
must be reflected in the GUI and must have a higher priority then
the numrule format. Currently positioning the curser in front of
the number or bullet entry lets one change the numrule format,
which is applied to all bullets of the same rule.
This special DOCX override mode is enabled by the import filter
setting DocumentSettingId::APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING
to true. This should also change the edit mode, so that a change
of the entry doesn't modify the rule, but the override and this
must also be reflected in the GUI character settings.
(cherry picked from commit 4412689b1358b5cc932f905417f23e2a3cbb494b)
Change-Id: I057f7a354bc3c413b114eec772e06c7063029699
Reviewed-on: https://gerrit.libreoffice.org/81878
Diffstat (limited to 'extensions/source/propctrlr/formstrings.hxx')
0 files changed, 0 insertions, 0 deletions