sergey-tihon / Clippit

Fresh PowerTools for OpenXml
https://sergey-tihon.github.io/Clippit/
MIT License
50 stars 19 forks source link

Updating references and table of contents using the DocumentAssembler #77

Open IvanDrag0 opened 3 months ago

IvanDrag0 commented 3 months ago

When adding tables and/or images, is it possible to add captions to them in a way that would update them when the document is generated? So that if I have something like this:

image

and I run the DocumentAssembler, it would update the image, title, and the reference (Figure X)?

And to follow up on that question, if I have a Table of Content/Table of Figures, is it possible for the DocumentAssembler to update it at the end of the assembly?