![]() The user clicks Yes and Bob's your uncle. When the document is first opened, a dialog box appears saying links need to be refreshed. Just add the tag and a few other bits to signal Word the ToC needs to be updated. Creating the actual visible content, at least if you want the page numbers included, requires the Word layout engine. the actual visible ToC content, headings and page numbers with dotted lines connecting them.Ĭreating the element is pretty straightforward and relatively low-effort.the element that specifies the ToC placement and things like which heading levels to include.Writing a page layout engine in Python is probably not a good idea, definitely not a project I'm planning to undertake anytime soon :) Pagination is a function provided by the layout engine, a very complex piece of software built into the Word client. ![]() The key challenge is that a rendered ToC depends on pagination to know what page number to put for each heading.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |