update doc and changelog
This commit is contained in:
parent
d4c6427418
commit
f6dd78daa6
|
|
@ -22,6 +22,7 @@ This is the last version to support PHP 5.3
|
||||||
- Allow to change the line height rule @troosan
|
- Allow to change the line height rule @troosan
|
||||||
- Implement PageBreak for odt writer @cookiekiller #863 #824
|
- Implement PageBreak for odt writer @cookiekiller #863 #824
|
||||||
- Allow to force an update of all fields on opening a document - @troosan #951
|
- Allow to force an update of all fields on opening a document - @troosan #951
|
||||||
|
- Allow adding a CheckBox in a TextRun - @irond #727
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Loosen dependency to Zend
|
- Loosen dependency to Zend
|
||||||
|
|
@ -41,7 +42,7 @@ This is the last version to support PHP 5.3
|
||||||
- Fix incorrect image size between windows and mac - @bskrtich #874
|
- Fix incorrect image size between windows and mac - @bskrtich #874
|
||||||
- Fix adding HTML table to document - @mogilvie @arivanbastos #324
|
- Fix adding HTML table to document - @mogilvie @arivanbastos #324
|
||||||
|
|
||||||
###Deprecated
|
### Deprecated
|
||||||
- PhpWord->getProtection(), get it from the settings instead PhpWord->getSettings()->getDocumentProtection();
|
- PhpWord->getProtection(), get it from the settings instead PhpWord->getSettings()->getDocumentProtection();
|
||||||
|
|
||||||
v0.13.0 (31 July 2016)
|
v0.13.0 (31 July 2016)
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ column shows the containers while the rows lists the elements.
|
||||||
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
||||||
| 15 | Endnote | v | - | - | v\*\* | v\*\* | - |
|
| 15 | Endnote | v | - | - | v\*\* | v\*\* | - |
|
||||||
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
||||||
| 16 | CheckBox | v | v | v | v | - | - |
|
| 16 | CheckBox | v | v | v | v | v | - |
|
||||||
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
||||||
| 17 | TextBox | v | v | v | v | - | - |
|
| 17 | TextBox | v | v | v | v | - | - |
|
||||||
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
||||||
|
|
@ -47,6 +47,8 @@ column shows the containers while the rows lists the elements.
|
||||||
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
||||||
| 19 | Line | v | v | v | v | v | v |
|
| 19 | Line | v | v | v | v | v | v |
|
||||||
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
||||||
|
| 20 | Chart | v | | | v | | |
|
||||||
|
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
|
||||||
|
|
||||||
Legend:
|
Legend:
|
||||||
|
|
||||||
|
|
@ -408,7 +410,7 @@ For instance for the INDEX field, you can do the following (See `Index Field for
|
||||||
$section->addField('INDEX', array(), array('\\e " " \\h "A" \\c "3"'), $fieldText);
|
$section->addField('INDEX', array(), array('\\e " " \\h "A" \\c "3"'), $fieldText);
|
||||||
|
|
||||||
Line
|
Line
|
||||||
------
|
----
|
||||||
|
|
||||||
Line elements can be added to sections by using ``addLine``.
|
Line elements can be added to sections by using ``addLine``.
|
||||||
|
|
||||||
|
|
@ -428,8 +430,21 @@ Available line style attributes:
|
||||||
- ``height``. Line-object height in pt.
|
- ``height``. Line-object height in pt.
|
||||||
- ``flip``. Flip the line element: true, false.
|
- ``flip``. Flip the line element: true, false.
|
||||||
|
|
||||||
|
Chart
|
||||||
|
-----
|
||||||
|
|
||||||
|
Charts can be added using
|
||||||
|
|
||||||
|
.. code-block:: php
|
||||||
|
|
||||||
|
$categories = array('A', 'B', 'C', 'D', 'E');
|
||||||
|
$series = array(1, 3, 2, 5, 4);
|
||||||
|
$chart = $section->addChart('line', $categories, $series);
|
||||||
|
|
||||||
|
check out the Sample_32_Chart.php for more options and styling.
|
||||||
|
|
||||||
Comments
|
Comments
|
||||||
---------
|
--------
|
||||||
|
|
||||||
Comments can be added to a document by using ``addComment``.
|
Comments can be added to a document by using ``addComment``.
|
||||||
The comment can contain formatted text. Once the comment has been added, it can be linked to any element with ``setCommentStart``.
|
The comment can contain formatted text. Once the comment has been added, it can be linked to any element with ``setCommentStart``.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue