Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pre-defined table of content with template processor #2657

Open
2 tasks
namnguyen-encoda opened this issue Aug 14, 2024 · 1 comment
Open
2 tasks
Labels
Change Request Status: Waiting for feedback Question has been asked, waiting for response from PR author

Comments

@namnguyen-encoda
Copy link

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

  • 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)
@Progi1984
Copy link
Member

Progi1984 commented Aug 14, 2024

@namnguyen-encoda Have you got a sample code/file,which can generate bugs actually, please ?

@Progi1984 Progi1984 added the Status: Waiting for feedback Question has been asked, waiting for response from PR author label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Change Request Status: Waiting for feedback Question has been asked, waiting for response from PR author
Development

No branches or pull requests

2 participants