-
-
Notifications
You must be signed in to change notification settings - Fork 486
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
doesn't create filled TOC in downloaded docx #380
Comments
Ah it does work for me, but you need to press that button: This is a known issue, but I'm not sure how to fix it. Then it displays like normal: Check out demo 28: https://github.com/dolanmiu/docx/blob/master/demo/28-table-of-contents.ts |
heh, i have two ways: open it in *nix LibreOffice (no result with broken TOC but other docx with filled TOC open with filled TOC) and open it in docs.google.com (no result too... but there i may update TOC and see it but this it dances with tambourine :) ) |
If you can find a way to fix it, please make a PR! |
Any update on this enhancement |
Any new updates for this issue...??? |
I would love to have this fixed also, but I suspect it is very hard. |
I do not think it is possible actually, and thats by design. OOXML does not know about the concept of pages. Related issue: |
Hi! Help, please. This simple example (copied from codepen.io HTML block) doesn't create filled TOC in downloaded docx and i have no ideas, why :(
<script src="https://unpkg.com/docx@5.0.0-rc5/build/index.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/1.3.8/FileSaver.js"></script> Click to generate document`
The text was updated successfully, but these errors were encountered: