Hello Everyone
Please help me to solve my problem. I want to add list with 5 items, and I want to align 1st one by right side, so my code:
$textFragment->addText('someText', ['textAlign' => 'right']);
$itemList = array(
$textFragment,
'Line 2',
'Line 3',
'Line 4',
'Line 5'
);
$docx->addList($itemList, 1);
But "textAlign" option is ignored in this case. Also I check inlineWordML() method and I found that Word XML with alignment is cut here. If I add "bold" option - I can see it in rawML, but alignment is ignored. So, maybe I'm wrong with it, please help me to find a solution.