Forum


Replies: 1   Views: 2092
Addlist and numid
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 skicka.spam.hit  · 09-10-2017 - 11:23

Using the addList function with a custom made list style works fine. However, when adding a second list with addList and the same style but with the addition of a numId the chosen style does not seem to be applied. It seems as if the numId overrules the style chosen which cannot be the intention I guess. 

Posted by admin  · 09-10-2017 - 11:24

Hello,

You need to keep the previous numId value in a variable before adding a new list; otherwise, a new value is added to the static var.

Regards.