File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 28
28
/**
29
29
* XMLWriter wrapper
30
30
*
31
- * @method bool writeElement(string $name, string $content = null)
32
- * @method bool startElement(string $name)
33
- * @method bool writeAttribute(string $name, string $value)
34
31
* @method bool endElement()
35
32
* @method bool startDocument(string $version = 1.0, string $encoding = null, string $standalone = null)
33
+ * @method bool startElement(string $name)
36
34
* @method bool text(string $content)
35
+ * @method bool writeAttribute(string $name, string $value)
36
+ * @method bool writeElement(string $name, string $content = null)
37
+ * @method bool writeRaw(string $content)
37
38
*/
38
39
class XMLWriter
39
40
{
Original file line number Diff line number Diff line change 17
17
18
18
namespace PhpOffice \PhpWord \Writer \Word2007 \Part ;
19
19
20
- use PhpOffice \PhpWord \Settings ;
20
+ use PhpOffice \PhpWord \Settings as PhpWordSettings ;
21
21
use PhpOffice \PhpWord \Shared \XMLWriter ;
22
22
use PhpOffice \PhpWord \Style ;
23
23
use PhpOffice \PhpWord \Style \Font ;
@@ -158,8 +158,8 @@ public function write()
158
158
*/
159
159
private function writeDefaultStyles (XMLWriter $ xmlWriter , $ styles )
160
160
{
161
- $ fontName = Settings ::getDefaultFontName ();
162
- $ fontSize = Settings ::getDefaultFontSize ();
161
+ $ fontName = PhpWordSettings ::getDefaultFontName ();
162
+ $ fontSize = PhpWordSettings ::getDefaultFontSize ();
163
163
164
164
// Default font
165
165
$ xmlWriter ->startElement ('w:docDefaults ' );
You can’t perform that action at this time.
0 commit comments