ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.78k stars 1.08k forks source link

In the document editor, the table of contents is built without a hierarchy of headings. #2883

Open Belovk-RARUS opened 2 weeks ago

Belovk-RARUS commented 2 weeks ago

This issue is unique.

Operating System of DocumentServer

Linux (DEB package)

Version information

8.1.3.4

Expected Behavior

The creation of the table of contents takes into account the hierarchy of headings.

Actual Behavior

The document has several headings and subheadings in them. When creating a table of contents, it is built without hierarchy, but simply a general list. In documents created in OnlyOffice 8.0, the table of contents is displayed correctly, with hierarchy. The problem occurs only when creating a table of contents.

Reproduction Steps

Insert a new table of contents into the document and it will be generated without a heading hierarchy.

Table of contents_8.1_bad.docx Table of contents_8.0.docx

Additional information

No response

uc-ai2 commented 1 week ago

Hello @Belovk-RARUS! This issue is relevant in version 8.1.1, but will be fixed in the next major release, don't miss the update.