How can the heading sub-levels can be automatically updated when promoting/demoting a section? Imagine I have a document structured like this:
(1)Chapter A (2)Section B (2)Section C (3)sub-section D (3)sub-section E (4)sub-sub-section F . . .
and I want to promote the 'Section C' to chapter level (heading 1). I'd like all the 'Section C' sub-levels to be updated automatically - doing it manually is not trivial when the document has a lot of sub-sections and content. The question refers also to the reverse case when, for example, I want to demote the 'Section C' back to heading level 2.