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

heading numbering missing in TOC #430

Open
flohmueller opened this issue Nov 20, 2014 · 7 comments
Open

heading numbering missing in TOC #430

flohmueller opened this issue Nov 20, 2014 · 7 comments

Comments

@flohmueller
Copy link

flohmueller commented Nov 20, 2014

Hello..
I'd like to know if there's a way to add numbering to a TOC. All my headings are neatly numbered, but these numbers don't appear in the TOC. :(


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@geoff-maddock
Copy link

I'm having the same issue. My sections number fine, and the TOC displays fine except the page numbers.

@akshuam
Copy link

akshuam commented Sep 15, 2016

Hi,

I am generating TOC. but page numbers are not appearing in TOC. Please help

@Tizianoz93
Copy link

I'm having the same issue.

@INHack20
Copy link

INHack20 commented Nov 8, 2016

+1 I'm having the same issue.

@cerw
Copy link

cerw commented Sep 17, 2021

Any update on this?

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 18, 2022
@Progi1984 Progi1984 removed the Stale label Nov 18, 2022
@hurradieweltgehtunter
Copy link

Found on https://stackoverflow.com/questions/33544288/phpword-addtoc-do-not-show-page-numbers:

set $phpWord->getSettings()->setUpdateFields(true);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

8 participants