Hi,
I'm trying to achieve using tabs with this method.
$docs = new CreateDocxFromTemplate('document.docx');
$docs->createParagraphStyle('tabs', [
'color' => '999999',
'border' => 'single',
'borderLeft' => 'double',
'borderColor' => '990000',
'borderRightColor' => '000099',
'borderWidth' => 12,
'borderTopWidth' => 24,
'indentLeft' => 920,
'tabPositions' => [[
'type' => 'left'
]]
]);
$tabs = '<span class="tabs"></span><span class="tabs"></span>Hello World';
$docs->replaceVariableByHTML('TABS', 'inline', $tabs)
It's doesn't looks like any style is being applied. This is the right implementation?
Thanks!