You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://gitter.im/PHPOffice/PHPWord)
10
11
12
+
Develop:
13
+
[](https://packagist.org/packages/phpoffice/phpword#dev-develop)
PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats. The current version of PHPWord supports Microsoft [Office Open XML](http://en.wikipedia.org/wiki/Office_Open_XML) (OOXML or OpenXML), OASIS [Open Document Format for Office Applications](http://en.wikipedia.org/wiki/OpenDocument) (OpenDocument or ODF), [Rich Text Format](http://en.wikipedia.org/wiki/Rich_Text_Format) (RTF), HTML, and PDF.
12
19
13
20
PHPWord is an open source project licensed under the terms of [LGPL version 3](https://github.com/PHPOffice/PHPWord/blob/develop/COPYING.LESSER). PHPWord is aimed to be a high quality software product by incorporating [continuous integration](https://travis-ci.org/PHPOffice/PHPWord) and [unit testing](http://phpoffice.github.io/PHPWord/coverage/develop/). You can learn more about PHPWord by reading the [Developers' Documentation](http://phpword.readthedocs.org/).
@@ -81,7 +88,7 @@ You can of course also manually edit your composer.json file
Copy file name to clipboardExpand all lines: docs/styles.rst
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ Available Font style options:
61
61
- ``lang``. Language, either a language code like *en-US*, *fr-BE*, etc. or an object (or as an array) if you need to set eastAsian or bidirectional languages
62
62
See ``\PhpOffice\PhpWord\Style\Language`` class for some language codes.
63
63
- ``position``. The text position, raised or lowered, in half points
64
+
- ``hidden``. Hidden text, *true* or *false*.
64
65
65
66
.. _paragraph-style:
66
67
@@ -107,11 +108,12 @@ Available Table style options:
107
108
- ``border(Top|Right|Bottom|Left)Size``. Border size in *twip*.
108
109
- ``cellMargin(Top|Right|Bottom|Left)``. Cell margin in *twip*.
109
110
- ``indent``. Table indent from leading margin. Must be an instance of ``\PhpOffice\PhpWord\ComplexType\TblWidth``.
110
-
- ``width``. Table width in percent.
111
+
- ``width``. Table width in Fiftieths of a Percent or Twentieths of a Point.
111
112
- ``unit``. The unit to use for the width. One of ``\PhpOffice\PhpWord\SimpleType\TblWidth``. Defaults to *auto*.
112
113
- ``layout``. Table layout, either *fixed* or *autofit* See ``\PhpOffice\PhpWord\Style\Table`` for constants.
113
114
- ``cellSpacing`` Cell spacing in *twip*
114
115
- ``position`` Floating Table Positioning, see below for options
0 commit comments