I'm using PHPWord (https://github.com/PHPOffice/PHPWord/tree/develop) to generate a number of bulleted items appearing within a Word document. I am relying on addListItem() to add the bullet items to the document and that is working just fine.
The only problem I'm having is that I also need format some of the text appearing in the bulleted item with a bold word appearing first followed by non-bold text appearing afterwards; all within the same line.
For example:
- bold word: more information about the bolded word all in one line
I can't figure out if that's a possibility using PHPWord. I know that I can create a textRun object via addTextRun() to create the formatting I want, but when I do that it's not added as a bullet in the list.
Is there a way to get the best of both worlds? Can I not only get the benefit of a textRun object and also have it appear as a bullet?