This project is read-only.

How to set a double-line border?

Jul 27, 2010 at 3:32 AM

How to set a double-line , dot-line, or none-line border after I create a table with PHPWord?

Oct 28, 2014 at 8:29 AM
I found that.

You must found a base.php file in PHPWord/Writer/Word2007.

Next Go to line 568, 577, 586, 595. [4 times replace].

Replace 'single' to 'double'


$objWriter->writeAttribute('w:val', 'single');

to

$objWriter->writeAttribute('w:val', 'double');


Next to use it You must use borderSize in Cell Style, not table tyle.

It Works! :)