Forum


Replies: 7   Views: 4596
Set line height and justify text in addlist
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 larrytech  · 07-03-2015 - 13:32

I have a list (kind of like a table of contents) in which I want to increase the line height and justify the text. Each list element is a word fragment, and each word fragment has a link via AddLink and text via AddText. I'm then adding the array of word fragments (one for each list element) via AddList. I'm setting the textAlign and lineSpacing options in the AddLink and AddText methods, but this doesn't work. How can I achieve the above?