- fix ZF version

Fix travis build to run on precise
Update the changelog
This commit is contained in:
troosan 2017-09-09 01:25:33 +02:00
parent c653377b2e
commit 15585dd3c7
5 changed files with 16 additions and 10 deletions

View File

@ -1,5 +1,7 @@
language: php language: php
dist: precise
php: php:
- 5.3 - 5.3
- 5.4 - 5.4

View File

@ -5,7 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
v0.14.0 (?? ???? 2017) v0.14.0 (?? ???? 2017)
---------------------- ----------------------
This release fixes several bugs and adds some new features This release fixes several bugs and adds some new features.
This is the last version to support PHP 5.3
### Added ### Added
- Possibility to control the footnote numbering - @troosan #1068 - Possibility to control the footnote numbering - @troosan #1068
@ -13,8 +14,11 @@ This release fixes several bugs and adds some new features
- Introduced the `\PhpOffice\PhpWord\SimpleType\NumberFormat` simple type. - @troosan - Introduced the `\PhpOffice\PhpWord\SimpleType\NumberFormat` simple type. - @troosan
- Support for ContextualSpacing - @postHawk #1088 - Support for ContextualSpacing - @postHawk #1088
- Possiblity to hide spelling and/or grammatical errors - @troosan #542 - Possiblity to hide spelling and/or grammatical errors - @troosan #542
- Support for Comments - @troosan #1067
- Add support for changing the document language - @troosan #1108
### Fixed ### Fixed
- Loosen dependency to Zend
- Images are not being printed when generating PDF - @hubertinio #1074 #431 - Images are not being printed when generating PDF - @hubertinio #1074 #431
- Fixed some PHP 7 warnings - @ likeuntomurphy #927 - Fixed some PHP 7 warnings - @ likeuntomurphy #927
- Fixed Word 97 reader - @alsofronie @Benpxpx @mario-rivera #912 #920 #892 - Fixed Word 97 reader - @alsofronie @Benpxpx @mario-rivera #912 #920 #892
@ -23,7 +27,8 @@ This release fixes several bugs and adds some new features
- Fixed Word2007 reader where unnecessary paragraphs were being created - @donghaobo #1043 #620 - Fixed Word2007 reader where unnecessary paragraphs were being created - @donghaobo #1043 #620
- Fixed Word2007 reader where margins were not being read correctly - @slowprog #885 #1008 - Fixed Word2007 reader where margins were not being read correctly - @slowprog #885 #1008
- Impossible to add element PreserveText in Section - @rvanlaak #452 - Impossible to add element PreserveText in Section - @rvanlaak #452
- Missing options for numbering format - @troosan #1041 - Added missing options for numbering format - @troosan #1041
- Fixed impossibility to set a different footer for first page - @ctrlaltca #1116
v0.13.0 (31 July 2016) v0.13.0 (31 July 2016)
------------------- -------------------

View File

@ -57,8 +57,7 @@ PHPWord requires the following:
- PHP 5.3.3+ - PHP 5.3.3+
- [XML Parser extension](http://www.php.net/manual/en/xml.installation.php) - [XML Parser extension](http://www.php.net/manual/en/xml.installation.php)
- [Zend\Escaper component](http://framework.zend.com/manual/current/en/modules/zend.escaper.introduction.html) - [Zend\Escaper component](http://framework.zend.com/manual/current/en/modules/zend.escaper.introduction.html)
- Zend\Stdlib component - [Zend\Stdlib component](http://framework.zend.com/manual/current/en/modules/zend.stdlib.hydrator.html)
- [Zend\Validator component](http://framework.zend.com/manual/current/en/modules/zend.validator.html)
- [Zip extension](http://php.net/manual/en/book.zip.php) (optional, used to write OOXML and ODF) - [Zip extension](http://php.net/manual/en/book.zip.php) (optional, used to write OOXML and ODF)
- [GD extension](http://php.net/manual/en/book.image.php) (optional, used to add images) - [GD extension](http://php.net/manual/en/book.image.php) (optional, used to add images)
- [XMLWriter extension](http://php.net/manual/en/book.xmlwriter.php) (optional, used to write OOXML and ODF) - [XMLWriter extension](http://php.net/manual/en/book.xmlwriter.php) (optional, used to write OOXML and ODF)

View File

@ -34,9 +34,9 @@
"require": { "require": {
"php": ">=5.3.3", "php": ">=5.3.3",
"ext-xml": "*", "ext-xml": "*",
"zendframework/zend-escaper": "2.4.*", "zendframework/zend-escaper": "^2.2",
"zendframework/zend-stdlib": "2.4.*", "zendframework/zend-stdlib": "^2.2",
"phpoffice/common": "0.2.*" "phpoffice/common": "^0.2"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "3.7.*", "phpunit/phpunit": "3.7.*",

View File

@ -159,7 +159,7 @@ Parameters:
- ``$depth``. Depth of list item. - ``$depth``. Depth of list item.
- ``$fontStyle``. See :ref:`font-style`. - ``$fontStyle``. See :ref:`font-style`.
- ``$listStyle``. List style of the current element TYPE\_NUMBER, - ``$listStyle``. List style of the current element TYPE\_NUMBER,
TYPE\_ALPHANUM, TYPE\_BULLET\_FILLED, etc. See list of constants in PHPWord\_Style\_ListItem. TYPE\_ALPHANUM, TYPE\_BULLET\_FILLED, etc. See list of constants in PHPWord\\Style\\ListItem.
- ``$paragraphStyle``. See :ref:`paragraph-style`. - ``$paragraphStyle``. See :ref:`paragraph-style`.
Advanced usage: Advanced usage:
@ -297,7 +297,7 @@ Your TOC can only be generated if you have add at least one title (See "Titles")
Options for ``$tocStyle``: Options for ``$tocStyle``:
- ``tabLeader``. Fill type between the title text and the page number. Use the defined constants in PHPWord\_Style\_TOC. - ``tabLeader``. Fill type between the title text and the page number. Use the defined constants in PHPWord\\Style\\TOC.
- ``tabPos``. The position of the tab where the page number appears in twips. - ``tabPos``. The position of the tab where the page number appears in twips.
- ``indent``. The indent factor of the titles in twips. - ``indent``. The indent factor of the titles in twips.