@@ -48,7 +48,7 @@ Available Font style options:
4848- ``color ``. Font color, e.g. *FF0000 *.
4949- ``doubleStrikethrough ``. Double strikethrough, *true * or *false *.
5050- ``fgColor ``. Font highlight color, e.g. *yellow *, *green *, *blue *.
51- See ``\PhpOffice\PhpWord\Style\Font::FGCOLOR_... `` class constants for possible values
51+ See ``\PhpOffice\PhpWord\Style\Colors\ForegroundColor::$allowed_colors `` variable for possible values
5252- ``hint ``. Font content type, *default *, *eastAsia *, or *cs *.
5353- ``italic ``. Italic, *true * or *false *.
5454- ``name ``. Font name, e.g. *Arial *.
@@ -105,15 +105,14 @@ Available Table style options:
105105
106106- ``alignment ``. Supports all alignment modes since 1st Edition of ECMA-376 standard up till ISO/IEC 29500:2012.
107107 See ``\PhpOffice\PhpWord\SimpleType\JcTable `` and ``\PhpOffice\PhpWord\SimpleType\Jc `` class constants for possible values.
108- - ``bgColor ``. Background color, e.g. '9966CC'.
109- - ``border(Top|Right|Bottom|Left)Color ``. Border color, e.g. '9966CC'.
110- - ``border(Top|Right|Bottom|Left)Size ``. Border size in *twip *.
111- - ``cellMargin(Top|Right|Bottom|Left) ``. Cell margin in *twip *.
112- - ``indent ``. Table indent from leading margin. Must be an instance of ``\PhpOffice\PhpWord\ComplexType\TblWidth ``.
113- - ``width ``. Table width in Fiftieths of a Percent or Twentieths of a Point.
114- - ``unit ``. The unit to use for the width. One of ``\PhpOffice\PhpWord\SimpleType\TblWidth ``. Defaults to *auto *.
108+ - ``bgColor ``. Background color. Must be an instance of ``\PhpOffice\PhpWord\Style\Colors\ColorInterface ``.
109+ - ``border(Top|Right|Bottom|Left)Color ``. Border color. Must be an instance of ``\PhpOffice\PhpWord\Style\Colors\ColorInterface ``.
110+ - ``border(Top|Right|Bottom|Left)Size ``. Border size. Must be an instance of ``\PhpOffice\PhpWord\Style\Lengths\Absolute ``.
111+ - ``cellMargin(Top|Right|Bottom|Left) ``. Cell margin. Must be an instance of ``\PhpOffice\PhpWord\Style\Lengths\Absolute ``.
112+ - ``indent ``. Table indent from leading margin. Must be an instance of ``\PhpOffice\PhpWord\Lengths\Length ``.
113+ - ``width ``. Table width. Must be an instance of ``\PhpOffice\PhpWord\Lengths\Length ``.
115114- ``layout ``. Table layout, either *fixed * or *autofit * See ``\PhpOffice\PhpWord\Style\Table `` for constants.
116- - ``cellSpacing `` Cell spacing in * twip *
115+ - ``cellSpacing `` Cell spacing. Must be an instance of `` \PhpOffice\PhpWord\Lengths\Absolute ``
117116- ``position `` Floating Table Positioning, see below for options
118117- ``bidiVisual `` Present table as Right-To-Left
119118
0 commit comments