Replies: 2   Views: 410
Value attribute for ordered list item numbering.
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by macwong  · 15-07-2019 - 15:17


It would be great if support could be added for the "value" attribute for list items in an ordered list so we can start numbering from a specific number. Something like:

<ol><li value="3">Item 3</li><li>Item 4</li></ol>

Would start the item numbering at 3 instead of 1. 

I see there is already support for the start attribute in an ordered list, but unfortunately the HTML comes from other sources like HTML editors, so we can't make those use the ol start attribute instead of the li value attribute.  Hopefully it won't be much of a stretch to support the value attribute.