Forum


Replies: 2   Views: 2806
Line spacing when inserting a list of html using a template
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 neu_katayama  · 17-06-2019 - 02:38

Implements a function to insert HTML list (ol, li) into template word file.

At that time, where should I set the paragraph height of the list?

I can not find the place to set.

$ docx-> createListStyle ('customList', $ ListOpt);

Also, even if the setting is made with HTML CSS (line-height: 1.5em), it will not be reflected as "Line spacing> Multiple".

 

Please let me know the implementation method.