Replies: 2   Views: 145
Use lists in templates
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 daveiroquois  · 18-05-2022 - 12:29

I'm trying to insert a dynamically generated ordered list into a word document, but simply doing addList() just generates the first 4 entries, and doesn't look like the rest of the document (I didn't apply any styles but I don't think that would fix the fact that only 4 are being shown).

I was then wondering if there was any way to insert an ordered list via replaceVariableByText. If so, what is the proper synatx for Word to recognize the data as an ordered list? Thanks!