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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+54-32Lines changed: 54 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,29 @@
1
-
# Changelog
1
+
CHANGELOG
2
+
=========
2
3
3
4
This is the changelog between releases of PHPWord. Releases are listed in reverse chronological order with the latest version listed on top, while additions/changes in each release are listed in chronological order. Changes in each release are divided into three parts: added or change features, bugfixes, and miscellaneous improvements. Each line contains short information about the change made, the person who made it, and the related issue number(s) in GitHub.
4
5
5
-
## 0.12.0 - 3 January 2015
6
+
0.12.1 (30 August 2015)
7
+
-------------------
8
+
9
+
Maintenance release. This release is focused primarily on ``TemplateProcessor``.
10
+
11
+
### Changes
12
+
- Changed visibility of all private properties and methods of ``TemplateProcessor`` to ``protected``. - @RomanSyroeshko#498
13
+
- Improved performance of ``TemplateProcessor::setValue()``. - @RomanSyroeshko@nicoSWD#513
14
+
15
+
### Bugfixes
16
+
- Fixed issue with "Access denied" message while opening ``Sample_07_TemplateCloneRow.docx`` and ``Sample_23_TemplateBlock.docx`` result files on Windows platform. - @RomanSyroeshko@AshSat#532
17
+
- Fixed ``PreserveText`` element alignment in footer (see ``Sample_12_HeaderFooter.php``). - @RomanSyroeshko@SSchwaiger#495
18
+
19
+
20
+
21
+
0.12.0 (3 January 2015)
22
+
-----------------------
6
23
7
24
This release added form fields (textinput, checkbox, and dropdown), drawing shapes (arc, curve, line, polyline, rect, oval), and basic 2D chart (pie, doughnut, bar, line, area, scatter, radar) elements along with some new styles. Basic MsDoc reader is introduced.
8
25
9
26
### Features
10
-
11
27
- Element: Ability to add drawing shapes (arc, curve, line, polyline, rect, oval) using new `Shape` element - @ivanlanin#123
12
28
- Font: New `scale`, `spacing`, and `kerning` property of font style - @ivanlanin
13
29
- Paragraph: Added shading to the paragraph style for full width shading - @lrobert#264
@@ -29,7 +45,6 @@ This release added form fields (textinput, checkbox, and dropdown), drawing shap
29
45
- Report style options enumerated when style unknown - @h6w
30
46
31
47
### Bugfixes
32
-
33
48
- Fix rare PclZip/realpath/PHP version problem - @andrew-kzoo#261
34
49
-`addHTML` encoding and ampersand fixes for PHP 5.3 - @bskrtich#270
35
50
- Page breaks on titles and tables - @ivanlanin#274
@@ -43,7 +58,6 @@ This release added form fields (textinput, checkbox, and dropdown), drawing shap
43
58
-`<th>` tag is closed with `</td>` tag: - @franzholz#438
44
59
45
60
### Deprecated
46
-
47
61
-`Element\Link::getTarget()` replaced by `Element\Link::getSource()`
48
62
-`Element\Section::getSettings()` and `Element\Section::setSettings()` replaced by `Element\Section::getStyle()` and `Element\Section::setStyle()`
49
63
-`Shared\Drawing` and `Shared\Font` merged into `Shared\Converter`
@@ -52,7 +66,6 @@ This release added form fields (textinput, checkbox, and dropdown), drawing shap
52
66
-`PhpWord->loadTemplate($filename)`
53
67
54
68
### Miscellaneous
55
-
56
69
- Docs: Add known issue on `README` about requirement for temporary folder to be writable and update `samples/index.php` for this requirement check - @ivanlanin#238
57
70
- Docs: Correct elements.rst about Line - @chrissharkman#292
58
71
- PclZip: Remove temporary file after used - @andrew-kzoo#265
@@ -63,18 +76,23 @@ This release added form fields (textinput, checkbox, and dropdown), drawing shap
63
76
- Renamed `Template` into `TemplateProcessor` - @RomanSyroeshko#216
64
77
- Reverted #51. All text escaping must be performed out of the library - @RomanSyroeshko#51
65
78
66
-
## 0.11.1 - 2 June 2014
79
+
80
+
81
+
0.11.1 (2 June 2014)
82
+
--------------------
67
83
68
84
This is an immediate bugfix release for HTML reader.
69
85
70
86
- HTML Reader: `<p>` and header tags puts no output - @canyildiz@ivanlanin#257
71
87
72
-
## 0.11.0 - 1 June 2014
88
+
89
+
90
+
0.11.0 (1 June 2014)
91
+
--------------------
73
92
74
93
This release marked the change of PHPWord license from LGPL 2.1 to LGPL 3. Four new elements were added: TextBox, ListItemRun, Field, and Line. Relative and absolute positioning for images and textboxes were added. Writer classes were refactored into parts, elements, and styles. ODT and RTF features were enhanced. Ability to add elements to PHPWord object via HTML were implemented. RTF and HTML reader were initiated.
75
94
76
95
### Features
77
-
78
96
- Image: Ability to define relative and absolute positioning - @basjan#217
79
97
- Footer: Conform footer with header by adding firstPage, evenPage and by inheritance - @basjan@ivanlanin#219
80
98
- Element: New `TextBox` element - @basjan@ivanlanin#228, #229, #231
@@ -104,23 +122,20 @@ This release marked the change of PHPWord license from LGPL 2.1 to LGPL 3. Four
- Header: All images added to the second header were assigned to the first header - @basjan#222
109
126
- Conversion: Fix conversion from cm to pixel, pixel to cm, and pixel to point - @basjan#233, #234
110
127
- PageBreak: Page break adds new line in the beginning of the new page - @ivanlanin#150
111
128
- Image: `marginLeft` and `marginTop` cannot accept float value - @ivanlanin#248
112
129
- Title: Orphan `w:fldChar` caused OpenOffice to crash when opening DOCX - @ivanlanin#236
113
130
114
131
### Deprecated
115
-
116
132
- Static classes `Footnotes`, `Endnotes`, and `TOC`
117
133
-`Writer\Word2007\Part`: `Numbering::writeNumbering()`, `Settings::writeSettings()`, `WebSettings::writeWebSettings()`, `ContentTypes::writeContentTypes()`, `Styles::writeStyles()`, `Document::writeDocument()` all changed into `write()`
118
134
-`Writer\Word2007\Part\DocProps`: Split into `Writer\Word2007\Part\DocPropsCore` and `Writer\Word2007\Part\DocPropsApp`
119
135
-`Element\Title::getBookmarkId()` replaced by `Element\Title::getRelationId()`
120
136
-`Writer\HTML::writeDocument`: Replaced by `Writer\HTML::getContent`
121
137
122
138
### Miscellaneous
123
-
124
139
- License: Change the project license from LGPL 2.1 into LGPL 3.0 - #211
125
140
- Word2007 Writer: New `Style\Image` class - @ivanlanin
126
141
- Refactor: Replace static classes `Footnotes`, `Endnotes`, and `TOC` with `Collections` - @ivanlanin#206
@@ -136,18 +151,22 @@ This release marked the change of PHPWord license from LGPL 2.1 to LGPL 3. Four
136
151
- QA: Improve dan update requirement check in `samples` folder - @ivanlanin
137
152
138
153
139
-
## 0.10.1 - 21 May 2014
154
+
155
+
0.10.1 (21 May 2014)
156
+
--------------------
140
157
141
158
This is a bugfix release for `php-zip` requirement in Composer.
142
159
143
160
- Change Composer requirements for php-zip from `require` to `suggest` - @bskrtich#246
144
161
145
-
## 0.10.0 - 4 May 2014
162
+
163
+
164
+
0.10.0 (4 May 2014)
165
+
-------------------
146
166
147
167
This release marked heavy refactorings on internal code structure with the creation of some abstract classes to reduce code duplication. `Element` subnamespace is introduced in this release to replace `Section`. Word2007 reader capability is greatly enhanced. Endnote is introduced. List numbering is now customizable. Basic HTML and PDF writing support is enabled. Basic ODText reader is introduced.
148
168
149
169
### Features
150
-
151
170
- Image: Get image dimensions without EXIF extension - @andrew-kzoo#184
152
171
- Table: Add `tblGrid` element for Libre/Open Office table sizing - @gianis6#183
153
172
- Footnote: Ability to insert textbreak in footnote `$footnote->addTextBreak()` - @ivanlanin
@@ -187,12 +206,10 @@ This release marked heavy refactorings on internal code structure with the creat
187
206
- Paragraph: Ability to define first line and right indentation - @ivanlanin
188
207
189
208
### Bugfixes
190
-
191
209
- Footnote: Footnote content doesn't show footnote reference number - @ivanlanin#170
192
210
- Documentation: Error in a function - @theBeerNut#195
193
211
194
212
### Deprecated
195
-
196
213
-`createTextRun` replaced by `addTextRun`
197
214
-`createFootnote` replaced by `addFootnote`
198
215
-`createHeader` replaced by `addHeader`
@@ -208,7 +225,6 @@ This release marked heavy refactorings on internal code structure with the creat
- Writer: Refactor writer classes and create a new `Write\AbstractWriter` abstract class - @ivanlanin#160
214
230
- General: Refactor folders: `Element` and `Exception` - @ivanlanin#187
@@ -228,27 +244,30 @@ This release marked heavy refactorings on internal code structure with the creat
228
244
- Refactor: Split `AbstractContainer` from `AbstractElement` - @ivanlanin
229
245
- Refactor: Apply composite pattern for Word2007 reader - @ivanlanin
230
246
231
-
## 0.9.1 - 27 Mar 2014
247
+
248
+
249
+
0.9.1 (27 Mar 2014)
250
+
-------------------
232
251
233
252
This is a bugfix release for PSR-4 compatibility.
234
253
235
254
- Fixed PSR-4 composer autoloader - @AntonTyutin
236
255
237
-
## 0.9.0 - 26 Mar 2014
256
+
257
+
258
+
0.9.0 (26 Mar 2014)
259
+
-------------------
238
260
239
261
This release marked the transformation to namespaces (PHP 5.3+).
240
262
241
263
### Features
242
-
243
264
- Image: Ability to use remote or GD images using `addImage()` on sections, headers, footer, cells, and textruns - @ivanlanin
244
265
- Header: Ability to use remote or GD images using `addWatermark()` - @ivanlanin
245
266
246
267
### Bugfixes
247
-
248
268
- Preserve text doesn't render correctly when the text is not the first word, e.g. 'Page {PAGE}' - @ivanlanin
249
269
250
270
### Miscellaneous
251
-
252
271
- Move documentation to [Read The Docs](http://phpword.readthedocs.org/en/develop/) - @Progi1984@ivanlanin#82
253
272
- Reorganize and redesign samples folder - @ivanlanin#137
254
273
- Use `PhpOffice\PhpWord` namespace for PSR compliance - @RomanSyroeshko@gabrielbull#159, #58
@@ -257,18 +276,23 @@ This release marked the transformation to namespaces (PHP 5.3+).
257
276
- Merge Style\TableFull into Style\Table. Style\TableFull is deprecated - @ivanlanin#160
258
277
- Merge Section\MemoryImage into Section\Image. Section\Image is deprecated - @ivanlanin#160
259
278
260
-
## 0.8.1 - 17 Mar 2014
279
+
280
+
281
+
0.8.1 (17 Mar 2014)
282
+
-------------------
261
283
262
284
This is a bugfix release for image detection functionality.
263
285
264
286
- Added fallback for computers that do not have exif_imagetype - @bskrtich, @gabrielbull
265
287
266
-
## 0.8.0 - 15 Mar 2014
288
+
289
+
290
+
0.8.0 (15 Mar 2014)
291
+
-------------------
267
292
268
293
This release merged a lot of improvements from the community. Unit tests introduced in this release and has reached 90% code coverage.
269
294
270
295
### Features
271
-
272
296
- Template: Permit to save a template generated as a file (PHPWord_Template::saveAs()) - @RomanSyroeshko#56, #57
273
297
- Word2007: Support sections page numbering - @gabrielbull
274
298
- Word2007: Added line height methods to mirror the line height settings in Word in the paragraph styling - @gabrielbull
@@ -300,7 +324,6 @@ This release merged a lot of improvements from the community. Unit tests introdu
300
324
- TextBreak: Allow font and paragraph style for text break - @ivanlanin#18
301
325
302
326
### Bugfixes
303
-
304
327
- Fixed bug with cell styling - @gabrielbull
305
328
- Fixed bug list items inside of cells - @gabrielbull
306
329
- Adding a value that contains "&" in a template breaks it - @SiebelsTim#51
@@ -309,15 +332,16 @@ This release merged a lot of improvements from the community. Unit tests introdu
309
332
- Footnote: Corrupt DOCX reported by MS Word when sections > 1 and not every sections have footnote - @ivanlanin#125
310
333
311
334
### Miscellaneous
312
-
313
335
- UnitTests - @Progi1984
314
336
315
-
## 0.7.0 - 28 Jan 2014
337
+
338
+
339
+
0.7.0 (28 Jan 2014)
340
+
-------------------
316
341
317
342
This is the first release after a long development hiatus in [CodePlex](https://phpword.codeplex.com/). This release initialized ODT and RTF Writer, along with some other new features for the existing Word2007 Writer, e.g. tab, multiple header, rowspan and colspan. [Composer](https://packagist.org/packages/phpoffice/phpword) and [Travis](https://travis-ci.org/PHPOffice/PHPWord) were added.
318
343
319
344
### Features
320
-
321
345
- Implement RTF Writer - @Progi1984#1
322
346
- Implement ODT Writer - @Progi1984#2
323
347
- Word2007: Add rowspan and colspan to cells - @kaystrobach
@@ -327,13 +351,11 @@ This is the first release after a long development hiatus in [CodePlex](https://
327
351
- Added support for image wrapping style - @gabrielbull
328
352
329
353
### Bugfixes
330
-
331
354
- "Warning: Invalid error type specified in ...\PHPWord.php on line 226" is thrown when the specified template file is not found - @RomanSyroeshko#32
332
355
- PHPWord_Shared_String.IsUTF8 returns FALSE for Cyrillic UTF-8 input - @RomanSyroeshko#34
333
356
- Temporary files naming logic in PHPWord_Template can lead to a collision - @RomanSyroeshko#38
334
357
335
358
### Miscellaneous
336
-
337
359
- Add superscript/subscript styling in Excel2007 Writer - @MarkBaker
0 commit comments