Skip to content

Commit 9fd1384

Browse files
committed
Constants explanation
1 parent 074dfab commit 9fd1384

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Classes/PHPWord.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,22 @@
3939
class PHPWord
4040
{
4141

42+
/**
43+
* Default font name (Arial)
44+
*/
4245
const DEFAULT_FONT_NAME = 'Arial';
46+
47+
/**
48+
* Default font size in points (10pt)
49+
*
50+
* OOXML defined font size values in halfpoints, i.e. twice of what PHPWord
51+
* use, and the conversion will be conducted during XML writing.
52+
*/
4353
const DEFAULT_FONT_SIZE = 10;
54+
55+
/**
56+
* Default font color (black)
57+
*/
4458
const DEFAULT_FONT_COLOR = '000000';
4559

4660
/**

0 commit comments

Comments
 (0)