This commit is contained in:
Jonathan Cox 2016-10-28 20:06:03 -04:00
parent c71069022e
commit 000e36acfe
2 changed files with 2 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class Settings extends AbstractPart
'w:themeFontLang' => array('@attributes' => array('w:val' => 'en-US')),
'w:decimalSymbol' => array('@attributes' => array('w:val' => '.')),
'w:listSeparator' => array('@attributes' => array('w:val' => ';')),
'w:compat' => '',
'w:compat' => array(),
'm:mathPr' => array(
'm:mathFont' => array('@attributes' => array('m:val' => 'Cambria Math')),
'm:brkBin' => array('@attributes' => array('m:val' => 'before')),

View File

@ -64,5 +64,6 @@ class SettingsTest extends \PHPUnit_Framework_TestCase
$path = '/w:settings/w:compat/w:compatSetting';
$this->assertTrue($doc->elementExists($path, $file));
$this->assertEquals($phpWord->getCompatibility()->getOoxmlVersion(), 15);
}
}