If I change the style by hand, it looks like this:
<style:style style:name="registar.telInformation.A1" style:family="table-cell">
<style:table-cell-properties fo:padding="1.01mm" fo:border="none"/>
</style:style>
and then for each cell like:
<table:table-cell table:style-name="registar.telInformation.A1" office:value-type="string">
<text:p text:style-name="Standard">Web</text:p>
</table:table-cell>
and by software I tried to do like this:
$styles->createStyle ( 'TEL Cell',
family => 'table-cell',
properties => {
-area => 'table-cell',
'fo:padding-left' => '1.00mm',
'fo:padding-right' => '1.00mm',
'fo:padding-top' => '1.00mm',
'fo:padding-bottom' => '1.00mm',
'fo:border' => '0.02mm solid #000000',
});
and after the cell value, I applied the style:
$doc->cellValue($table1, $cellA, $desc);
$doc->cellStyle($cellA, 'TEL Cell');
and so for each cell, but it does not get applied in the content.xml, although the style is visible in styles.xm
What am I doing wrong?