diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2024-05-03 12:12:24 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2024-05-06 17:52:47 +0200 |
commit | ab1697cb4c17fd7a2fbf8d374ac95fc03b4d00be (patch) | |
tree | 24400c7fcd9ea13b62a304c2ce6edf853418fef2 /include/editeng/charscaleitem.hxx | |
parent | tdf#159375: remove initialization on Tools>Options (diff) | |
download | core-master.tar.gz core-master.zip |
tdf#160402 filter,writerfilter: import locale-dependent STYLEREF names
HEADmaster
* Handle STYLEREF style the same way as TOC style on import.
* Word 2013 does not uppercase the first letter
("Überschrift 1" -> "berschrift1") and there doesn't
appear to be any justification why the code does that.
* The style that's applied is actually the display style name
so convert from source's m_sConvertedStyleName.
* Change the logic in DomainMapper_Impl::ConvertTOCStyleName() to
explicitly check and clone only known built-in Word styles, which are
the ones that are translated.
* This requires some refactoring, and to add the built-in styles in the
bugdoc to the "StyleNameMap", which is probably still incomplete...
* Exporting to DOCX appears to work without changes.
* Somehow this causes the testFDO77715 to have an outlinelevel of 1 on
the TOC paragraphs now, but that turns out to be a bugfix.
Change-Id: I73bc1d1819e5cecbba2fef9cd6d290682a02a638
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167097
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'include/editeng/charscaleitem.hxx')
0 files changed, 0 insertions, 0 deletions