The TOC section in the document may become outdated or inaccurate if the content, headings, or page numbers change as a result of data merging. Users must manually ensure that the TOC reflects the latest document content.
Describe the expected behavior
Enable the TemplateProcessor class to automatically update a pre-defined TOC in a Word document upon merging data.
This feature will ensure that the TOC reflects the latest content, including accurate page numbers and section headings, without requiring manual updates in Microsoft Word.
TOC Detection: Identify and locate the TOC placeholder within the Word template.
Content Update: After merging data into the document, refresh the TOC to reflect any changes in headings or content.
Page Numbering: Ensure that page numbers in the TOC are updated correctly based on the new document layout.
Integration: Integrate this functionality seamlessly with existing TemplateProcessor methods and workflows.
Priority
[ ] I want to crowdfund the feature (with @algora-io) and fund a community developer.
[ ] I want to pay the feature and fund a maintainer for that. (Contact @Progi1984)
Describe the problem
The TOC section in the document may become outdated or inaccurate if the content, headings, or page numbers change as a result of data merging. Users must manually ensure that the TOC reflects the latest document content.
Describe the expected behavior
Enable the TemplateProcessor class to automatically update a pre-defined TOC in a Word document upon merging data. This feature will ensure that the TOC reflects the latest content, including accurate page numbers and section headings, without requiring manual updates in Microsoft Word.
TOC Detection: Identify and locate the TOC placeholder within the Word template. Content Update: After merging data into the document, refresh the TOC to reflect any changes in headings or content. Page Numbering: Ensure that page numbers in the TOC are updated correctly based on the new document layout. Integration: Integrate this functionality seamlessly with existing TemplateProcessor methods and workflows.
Priority