[Libreoffice-bugs] [Bug 94326] Chapter numbering (heading styles) not displaying numbering (DOC fileopen)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 19 15:48:27 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=94326

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-bugs at lists.free |jluth at mail.com
                   |desktop.org                 |

--- Comment #26 from Justin L <jluth at mail.com> ---
The problem is in RegisterNumFormatOnTextNode
    if (bSetAttr && pTextNd->GetNumRule() != pRule
        && pTextNd->GetNumRule() != m_rDoc.GetOutlineNumRule())
Well, the textnode has been assigned the outlinenumrule, so this is skipped.
Basically, it means that you can't override a heading style's numrule.

What needs to happen is to capture the original DOC numrule (in this case numId
2) and compare it to the one being assigned (in this case numId 8).

Proposed fix at http://gerrit.libreoffice.org/c/core/+/114298

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210419/b5d7fac0/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list