Forum


Replies: 2   Views: 1649
Bullet points converting to numbered list on mergedocx
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 nicks  · 05-11-2020 - 12:46

Running the latest version.

Take two DOCX files, one blank and one with bullet points in, add them to the FileArray array and merge with the following:

$merge = new \Phpdocx\Utilities\MultiMerge();

$merge->mergeDocx($FileArray[0], array_slice($FileArray,1), 'output.docx', array('mergeType' => 1));

This has previously worked for us daily flawlessly for years. Seems to be the latest version 10 as we've made no code changes in code.

Is this a known problem?

Posted by admin  · 05-11-2020 - 13:58

Hello,

The issue isn't with phpdocx 10 but with the latest revisions of MS Word 2016, MS Word 2019, MS Word 365 and MS Word Online that have added ID limits when working with lists. Please check the information available on https://www.phpdocx.com/news/post/important-changes-for-lists-in-the-last-ms-word-update/221

All phpdocx 10 licenses were updated applying the needed changes days ago. We have tested your case (merging a blank DOCX and a DOCX with bullets) and we get a correct output with all DOCX readers. If after downloading and using the latest version of phpdocx 10 you still have the same issues, please send to contact[at]phpdocx.com the DOCX documents you are merging, the output you get and the program you are using to open the DOCX and we'll check them.

Regards.

Posted by nicks  · 05-11-2020 - 14:37

Hi,

Thank you for your swift informative response. Reassuring to know that this has been resolved. I'll download the latest package now and do some testing.

Thanks again!