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
- Support reading of w:drawing for documents produced by word 2011+ @gthomas2#464#1324
42
+
- Fix missing column width in ODText writer @potofcoffee#413
43
+
- Disable entity loader before parsing XML to avoid XXE injection @Tom4t0#1427
44
+
45
+
### Changed
46
+
- Remove zend-stdlib dependency @Trainmaster#1284
47
+
- The default unit for `\PhpOffice\PhpWord\Style\Image` changed from `px` to `pt`.
48
+
49
+
### Miscelaneous
50
+
- Drop GitHub pages, switch to coveralls for code coverage analysis @czosel#1360
51
+
6
52
v0.14.0 (29 Dec 2017)
7
53
----------------------
8
54
This release fixes several bugs and adds some new features.
@@ -30,7 +76,8 @@ This version brings compatibility with PHP 7.0 & 7.1
30
76
### Fixed
31
77
- Loosen dependency to Zend
32
78
- Images are not being printed when generating PDF - @hubertinio#1074#431
33
-
- Fixed some PHP 7 warnings - @likeuntomurphy#927
79
+
- Fixed some PHP 7 warnings - @ likeuntomurphy #927
80
+
- Fixed PHP 7.2 compatibility (renamed `Object` class names to `ObjectElement`) - @SailorMax#1185
34
81
- Fixed Word 97 reader - @alsofronie@Benpxpx@mario-rivera#912#920#892
35
82
- Fixed image loading over https - @troosan#988
36
83
- Impossibility to set different even and odd page headers - @troosan#981
@@ -50,6 +97,8 @@ This version brings compatibility with PHP 7.0 & 7.1
50
97
### Deprecated
51
98
- PhpWord->getProtection(), get it from the settings instead PhpWord->getSettings()->getDocumentProtection();
52
99
100
+
101
+
53
102
v0.13.0 (31 July 2016)
54
103
-------------------
55
104
This release brings several improvements in `TemplateProcessor`, automatic output escaping feature for OOXML, ODF, HTML, and RTF (turned off, by default).
@@ -69,7 +118,7 @@ Manual installation feature has been dropped since the release. Please, use [Com
69
118
- Improved error message for the case when `autoload.php` is not found. - @RomanSyroeshko#371
70
119
- Renamed the `align` option of `NumberingLevel`, `Frame`, `Table`, and `Paragraph` styles into `alignment`. - @RomanSyroeshko
71
120
- Improved performance of `TemplateProcessor::setValue()`. - @kazitanvirahsan#614, #617
72
-
- Fixed some HTML tags not rendering any output (p, header & table) - #257, #324 - @twmobius and @garethellis
121
+
- Fixed some HTML tags not rendering any output (p, header & table) - #257, #324 - @twmobius and @garethellis
73
122
74
123
### Deprecated
75
124
-`getAlign` and `setAlign` methods of `NumberingLevel`, `Frame`, `Table`, and `Paragraph` styles.
@@ -447,4 +496,4 @@ This is the first release after a long development hiatus in [CodePlex](https://
447
496
- Basic CI with Travis - @Progi1984
448
497
- Added PHPWord_Exception and exception when could not copy the template - @Progi1984
449
498
- IMPROVED: Moved examples out of Classes directory - @Progi1984
450
-
- IMPROVED: Advanced string replace in setValue for Template - @Esmeraldo[#49](http://phpword.codeplex.com/workitem/49)
499
+
- IMPROVED: Advanced string replace in setValue for Template - @Esmeraldo[#49](http://phpword.codeplex.com/workitem/49)
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ We want to create a high quality document writer and reader library that people
6
6
7
7
-**Be brief, but be bold**. State your issues briefly. But speak out your ideas loudly, even if you can't or don't know how to implement it right away. The world will be better with limitless innovations.
8
8
-**Follow PHP-FIG standards**. We follow PHP Standards Recommendations (PSRs) by [PHP Framework Interoperability Group](http://www.php-fig.org/). If you're not familiar with these standards, please, [familiarize yourself now](https://github.com/php-fig/fig-standards). Also, please, use [PHPCodeSniffer](http://pear.php.net/package/PHP_CodeSniffer/) to validate your code against PSRs.
9
-
-**Test your code**. Nobody else knows your code better than you. So, it's completely yours mission to test the changes you made before pull request submission. We use [PHPUnit](https://phpunit.de/) for our testing purposes and recommend you using this tool too. [Here](https://phpunit.de/presentations.html) you can find PHPUnit best practices and additional information on effective unit testing, which helps us making PHPWord better day to day. Do not hesitate to smoke it carefully. It's a great investment in quality of your work, and it saves you years of life.
9
+
-**Test your code**. Nobody else knows your code better than you. So, it's completely your mission to test the changes you made before pull request submission. We use [PHPUnit](https://phpunit.de/) for our testing purposes and recommend you using this tool too. [Here](https://phpunit.de/presentations.html) you can find PHPUnit best practices and additional information on effective unit testing, which helps us making PHPWord better day to day. Do not hesitate to smoke it carefully. It's a great investment in quality of your work, and it saves you years of life.
10
10
-**Request pull in separate branch**. Do not submit your request to the master branch. But create a separate branch named specifically for the issue that you addressed. Read [GitHub manual](https://help.github.com/articles/using-pull-requests) to find out more about this. If you are new to GitHub, read [this short manual](https://help.github.com/articles/fork-a-repo) to get yourself familiar with forks and how git works in general. [This video](http://www.youtube.com/watch?v=-zvHQXnBO6c) explains how to synchronize your Github Fork with the Branch of PHPWord.
11
11
12
12
That's it. Thank you for your interest in PHPWord, and welcome!
[](https://gitter.im/PHPOffice/PHPWord)
10
10
11
11
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
12
13
-
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/) and the [API Documentation](http://phpoffice.github.io/PHPWord/docs/develop/).
13
+
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/).
14
14
15
15
If you have any questions, please ask on [StackOverFlow](https://stackoverflow.com/questions/tagged/phpword)
/* Note: we skip PDF, because "HTML-to-PDF" approach is used to create PDF documents. */
161
161
```
162
162
163
-
More examples are provided in the [samples folder](samples/). You can also read the [Developers' Documentation](http://phpword.readthedocs.org/) and the [API Documentation](http://phpoffice.github.io/PHPWord/docs/master/) for more detail.
163
+
More examples are provided in the [samples folder](samples/). For an easy access to those samples launch `php -S localhost:8000` in the samples directory then browse to [http://localhost:8000](http://localhost:8000) to view the samples.
164
+
You can also read the [Developers' Documentation](http://phpword.readthedocs.org/) and the [API Documentation](http://phpoffice.github.io/PHPWord/docs/master/) for more detail.
0 commit comments