Forum


Replies: 8   Views: 3246
Update document cross-references
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 arnaudbouchard  · 28-06-2018 - 02:36

Hi there,

Imagine I have a document with bullet points :

  • Item 1, see more in chapter 2.1
  • Item 2, see more in chapter 2.2
  • Item 3, see more in chapter 2.3

Further in the document, each chapter is surrounded by BLOCK_ placeholders. In the list above, each chapter number (2.x) is a cross-reference to the corresponding chapter. Is there a way for the cross-references to be updated if a block (chapter) is deleted? Manually in Word you would right-click the cross-reference and select "Update field", or select the whole doc (ctrl+a), right-click and "Update field".

Thanks,