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

            Bug ID: 162195
           Summary: TOC in Master document include headings from hidden
                    sections
           Product: LibreOffice
           Version: 24.2.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
The Table of Contents in a master document includes entries from hidden
sections in chapters.

Steps to Reproduce:
1.Place the attached master document and chapter document in a folder
2.Open the master document, update the TOC.
3.

Actual Results:
The TOC in master includes the entry "Copyright – I am supposed to be hidden on
master TOC" just below the Preface entry. 

This section is hidden in master document because the section visibility is
controlled by variable "book eq 1" in the caper "Preface"

The section is actualy invisible but the the Heading "Copyright – I am supposed
to be hidden on master TOC" is brought to the master TOC.

Expected Results:
The headings in the hidden sections shall not be listed in the master TOC.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (pt_BR.UTF-8); UI: en-US
Calc: default

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to