I am familiar with importStyles(). I don't think I need a special createListStyle. It's just a simple, basic <ul> that phpdocx renders differently depending on whether strictWordStyles is true or false.
Here is a basic <ul>. The html is: "<ul><li>one</li><li>two</li><li>three</li></ul>"
- one
- two
- three
When strictWordStyles=false, phpdocx generates the list as it should. It looks exactly as above. When strictWordStyles=true, the list is generated like this:
- one
- two
- three
An extra line is inserted between the list items. If I must create a special list style using createListStyle() to get phpdocx to not insert the extra line, what would it be? Again, I cannot see where any of the option keys have anything to do with inserting an extra line between list items.
Thanks