This commit is contained in:
parent
c71069022e
commit
000e36acfe
|
|
@ -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')),
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue