Merge pull request #928 from likeuntomurphy/develop
Fixes PHPOffice/PHPWord#927
This commit is contained in:
commit
6da9d8a0bf
@ -106,7 +106,7 @@ class Settings extends AbstractPart
|
|||||||
'w:themeFontLang' => array('@attributes' => array('w:val' => 'en-US')),
|
'w:themeFontLang' => array('@attributes' => array('w:val' => 'en-US')),
|
||||||
'w:decimalSymbol' => array('@attributes' => array('w:val' => '.')),
|
'w:decimalSymbol' => array('@attributes' => array('w:val' => '.')),
|
||||||
'w:listSeparator' => array('@attributes' => array('w:val' => ';')),
|
'w:listSeparator' => array('@attributes' => array('w:val' => ';')),
|
||||||
'w:compat' => '',
|
'w:compat' => array(),
|
||||||
'm:mathPr' => array(
|
'm:mathPr' => array(
|
||||||
'm:mathFont' => array('@attributes' => array('m:val' => 'Cambria Math')),
|
'm:mathFont' => array('@attributes' => array('m:val' => 'Cambria Math')),
|
||||||
'm:brkBin' => array('@attributes' => array('m:val' => 'before')),
|
'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';
|
$path = '/w:settings/w:compat/w:compatSetting';
|
||||||
$this->assertTrue($doc->elementExists($path, $file));
|
$this->assertTrue($doc->elementExists($path, $file));
|
||||||
|
$this->assertEquals($phpWord->getCompatibility()->getOoxmlVersion(), 15);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user