Hello,
Setting a custom list style and CSS line-height style, spacing value is set. For example, running the following script:
$latinListOptions = array();
$latinListOptions[0]['type'] = 'lowerLetter';
$latinListOptions[0]['format'] = '%1.';
$docx->createListStyle('latin', $latinListOptions);
$html = '
<style>
li {
line-height: 2em;
}
</style>
<ul class="latin">
<li>Item A</li>
<li>Item B</li>
<li>Item C</li>
</ul>';
$docx->embedHTML($html, array('customListStyles' => true));
All list items have Line spacing as Multiple and 1,67 as value.
Regards.