-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Milestone
Description
This is:
- a bug report
- a feature request
Expected Behavior
My word export generates a Table of Contents, with clickable links which point to the correct title. However, the page numbers are not displayed in the table of contents.
<?php
$this->getSettings()->setUpdateFields(true);
Update field setting is set, and after applying this word will query for missing links. Still, no numbers are shown. This works for OSX and office for mac, so it appears to be a program/os related issue.
Update 8-06: The protected mode of a word document seems to cause this issue. If a word document is protected, and you need to switch it manually to edit mode the table of contents numbers are not updated.
Context
- PHP version:5.3.18
- PHPWord version: 0.14
timjong93, dennisvandenende, kaandag and badeadrian