Forum


Replies: 1   Views: 719
Issue with createliststyle in ms word (no in libre office)
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 vana  · 16-10-2020 - 09:53

I use phpdocx 9.5 (advanced) and I created two level list style:

docx->createListStyle(
    "listPar1",
    array(
        0=>array('type'=>'decimal','format'=>'%1.','left' => 360),
        1=>array('type'=>'lowerLetter','format' =>'%2)','left' => 720)
    )
);

When I created two level list (addList), list style definition has affect only in Libre Office (or in Googledoc preview) but no in MS Word (MS Office 2016 - Version 2009) or web Outlook 365 preview.

When I open and save (without any changes) this docx in Libre Office and open it in MS Word, it has affect.