Created attachment 186193 [details] Example file from Word Attached document contains a few paragraphs formatted with Heading 1 style, font color set as Accent 1 from theme. The numbering A and B does not show this color in Writer, but the default black. 1. Open attached document -> the A and B numberings are not green. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b5c3a7502f7ff6ccf0f829c1f3a2ba50b8584c41 CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (hu_HU); UI: de-DE Calc: threaded This was good in 7.0, broke in 7.1 with: https://git.libreoffice.org/core/+/c77b9c349f0a48392d8cb7a49532844b2cafb5ba author Vasily Melenchuk <vasily.melenchuk@cib.de> Tue Aug 18 17:59:26 2020 +0200 committer Michael Stahl <michael.stahl@cib.de> Fri Aug 28 17:30:57 2020 +0200 tree 447a21904d3a18c18c8959b132409cc8ea05cf6f parent bb6668bc596e62474ed2e1e923d9c9cd51685258 [diff] tdf#131801: sw: support of style references in ListAutoFormat
Created attachment 186194 [details] Screenshot of the document in Word and Writer
I confirm it with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 1e9f4de320f67d1218c710bcee1969a2324c6888 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (de_DE); UI: en-GB Calc: CL threaded
Here is something a bit bizarre. in LO, select the entire paragraph and change the font colour to red. Now the numbering will show up as green.
In checkApplyParagraphMarkFormatToNumbering() (txtfld.cxx) the attributes from the registered character format are all copied and applied in SwFont::SetDiffFnt() It should only apply items with a state > SfxItemState::DEFAULT