Replies: 12   Views: 1294
Unordered list showing as ordered list after word version 2008 upgrade (fixed in phpdocx 10)
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 coolaustralia  · 16-09-2020 - 01:04

Word version 2007 displays unordered lists fine but Word version 2008 (released recently) shows them as ordered lists. Note that these are internal Microsoft version numbers, not years.

The examples are literally the same docx file, just opened in different versions of word.

2007 -
2008 -


Posted by admin  · 16-09-2020 - 06:18


What version of MS Word are you using?, not the revision number but the main version (MS Word 2007, MS Word 2010, MS Word 2013, MS Word 365... How are you generating the list? using embedHTML, addList or a template?

We have tested the lists using the latest revision of MS Word 2019 and the output is correct in all cases, but doing more tests we have checked that the latest release of MS Word 365 has added a maximum value to numId in lists that doesn't fit OOXML standard. We are doing more tests, please post the MS Word program you are using (MS Word 2007, 2010, 2019, 365...)

Please send the DOCX to contact[at] so we can check it with all versions from MS Word 2007 to MS Word 2019, MS Word Online, MS Word 365 and LibreOffice.


Posted by vpratfr  · 17-09-2020 - 09:57


We are seeing the same issue on Ms Word 2019, latest. Yesterday, the documents were fine. This thursday they all appear with those ordered list instead of unordered lists.

We generate the Word file from HTML (ul > li tags).

Our code has not changed since yesterday.

All documents (including the ones generated earlier) are showing the same defect.


Posted by nbiz  · 18-09-2020 - 10:02


I've just updated to PHPDocx10 to resolve this issue but the problem remains.

Do we need to put specific options or something?


Posted by admin  · 18-09-2020 - 10:25


No, you just need to download and use the new package available to download on MY PHPDOCX page. All users that are using the new package have checked the problem has been solved with all versions that have been updated (MS Word 2019, MS Word 365 and MS Word Online). Also all tests we have done are correct as well, and the included samples generate correct outputs in all cases.

Please check you are using the new package and not an old one and your server isn't caching the code you are running. Also please run one the included samples, such as Layout/createListStyle/sample_1.php and check its output.

If you send to contact[at] a sample DOCX output you get we'll check it.


Posted by nbiz  · 18-09-2020 - 12:00

The sample works fine indeed, but when merging two template, still have the problem (bullet are changed to ordered list).

Any advice please? 

Posted by admin  · 18-09-2020 - 12:49


Thanks for the information, mergeDocx needed the same patch. It has been applied to all phpdocx 10.0 packages so it's available to be downloaded with the package. The dev team has checked the classes and no other needs to apply it.


Posted by coolaustralia  · 04-10-2020 - 03:24

Apologies for not responding after posting, we were diverted to other issues. We will try the new v10 and confirm

Posted by Bouillou  · 06-10-2020 - 06:41

Dear support,

Can you confirm that documents generated with version 9 and working well until MS version 2007 are also impacted and display now a numberred list with MS version 2008 where 2007 displayed bullets points?

I mean, the PHPDocX version 10 fix the problem for newer documents, but all the documents previously generated are "broken". 

Is there an option or something else that we could do on MS Office to display older documents as generated?

Best regards

Posted by admin  · 06-10-2020 - 08:18


Unfortunately, there's no option in MS Word 2019/Online/365 to add compatiblity after the update to revision 2008/2009 but removing the upgrade and use an old revision (or regenerate the documents using phpdocx). MS Word 2003, MS Word 2007, MS Word 2010, MS Word 2013, MS Word 2016, LibreOffice 5, LibreOffice 6 and LibreOffice 7 don't have this limitation from MSWord 2019 revision 2008/2009.


Posted by Bouillou  · 06-10-2020 - 08:48

That's sad.

Thank you for your answer.