PHPOffice/PHPWord — pull request #168 by jcarignan (2014-03-24 18:15:37+00:00)
Title: Develop

added "bgColor" fontsyle, "heightRules" for TableRow and minor modifs for php://output

BGCOLOR:
- Meant to replace fgColor, can use any hex color instead of the 15 color constants in Font.php
- usage: $section->addText(" myText ", array("bgColor" => "112233"));
- if you need to highlight space after words, add this line in Word2007/Base.php between line 78 & 79:
$strText = str_replace(" ", " ", $strText);

TABLEROW HEIGHT RULES
- added height rules when creating a table row
- mostly for removing the auto-added space after a table
- usage: $table->addRow(5000, $rowStyle, "exact");

MODIFS PHP://OUTPUT
- Tmp file should go into sys_get_temp_dir() instead of "./"
- added content-length header to get the total filesize when downloading