Forum


Replies: 3   Views: 1885
Clone heading
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 06-02-2019 - 12:28

Hello,

Headings are paragraphs with an extra tag:

<w:outlineLvl val="{heading level}">

You can query a heading as a paragraph content, this is by its content, position... If the heading level is not set as an external style, you can query by the outlineLvl tag using the attributes option or a custom query with DOCXPath.

Regards.