Update Head.php
The generated HTML and PDF tables are missing the border lines. Sample_07_TemplateCloneRow.docx shows the lines around the table and the table cells. However the generated HTML and PDF file are missing those lines. This patch fixes this issue.
This commit is contained in:
parent
b49f08bd91
commit
27b0c69fd4
|
|
@ -97,6 +97,14 @@ class Head extends AbstractPart
|
||||||
'border' => '0',
|
'border' => '0',
|
||||||
'border-top' => '1px solid #CCC',
|
'border-top' => '1px solid #CCC',
|
||||||
),
|
),
|
||||||
|
'table' => array(
|
||||||
|
'border' => '1px solid black',
|
||||||
|
'border-spacing' => '0px',
|
||||||
|
'width' => '100%',
|
||||||
|
),
|
||||||
|
'td' => array(
|
||||||
|
'border' => '1px solid black',
|
||||||
|
),
|
||||||
);
|
);
|
||||||
foreach ($defaultStyles as $selector => $style) {
|
foreach ($defaultStyles as $selector => $style) {
|
||||||
$styleWriter = new GenericStyleWriter($style);
|
$styleWriter = new GenericStyleWriter($style);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue