|
2 | 2 |
|
3 | 3 | 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 | 4 |
|
| 5 | +## 0.11.0 - 1 June 2014 |
| 6 | + |
| 7 | +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. |
| 8 | + |
| 9 | +### Features |
| 10 | + |
| 11 | +- Image: Ability to define relative and absolute positioning - @basjan GH-217 |
| 12 | +- Footer: Conform footer with header by adding firstPage, evenPage and by inheritance - @basjan @ivanlanin GH-219 |
| 13 | +- Element: New `TextBox` element - @basjan @ivanlanin GH-228 GH-229 GH-231 |
| 14 | +- HTML: Ability to add elements to PHPWord object via html - @basjan GH-231 |
| 15 | +- Element: New `ListItemRun` element that can add a list item with inline formatting like a textrun - @basjan GH-235 |
| 16 | +- Table: Ability to add table inside a cell (nested table) - @ivanlanin GH-149 |
| 17 | +- RTF Writer: UTF8 support for RTF: Internal UTF8 text is converted to Unicode before writing - @ivanlanin GH-158 |
| 18 | +- Table: Ability to define table width (in percent and twip) and position - @ivanlanin GH-237 |
| 19 | +- RTF Writer: Ability to add links and page breaks in RTF - @ivanlanin GH-196 |
| 20 | +- ListItemRun: Remove fontStyle parameter because ListItemRun is inherited from TextRun and TextRun doesn't have fontStyle - @ivanlanin |
| 21 | +- Config: Ability to use a config file to store various common settings - @ivanlanin GH-200 |
| 22 | +- ODT Writer: Enable inline font style in TextRun - @ivanlanin |
| 23 | +- ODT Writer: Enable underline, strike/doublestrike, smallcaps/allcaps, superscript/subscript font style - @ivanlanin |
| 24 | +- ODT Writer: Enable section and column - @ivanlanin |
| 25 | +- PDF Writer: Add TCPDF and mPDF as optional PDF renderer library - @ivanlanin |
| 26 | +- ODT Writer: Enable title element and custom document properties - @ivanlanin |
| 27 | +- ODT Reader: Ability to read standard and custom document properties - @ivanlanin |
| 28 | +- Word2007 Writer: Enable the missing custom document properties writer - @ivanlanin |
| 29 | +- Image: Enable "image float left" - @ivanlanin GH-244 |
| 30 | +- RTF Writer: Ability to write document properties - @ivanlanin |
| 31 | +- RTF Writer: Ability to write image - @ivanlanin |
| 32 | +- Element: New `Field` element - @basjan GH-251 |
| 33 | +- RTF Reader: Basic RTF reader - @ivanlanin GH-72 GH-252 |
| 34 | +- Element: New `Line` element - @basjan GH-253 |
| 35 | +- Title: Ability to apply numbering in heading - @ivanlanin GH-193 |
| 36 | +- HTML Reader: Basic HTML reader - @ivanlanin GH-80 GH-254 |
| 37 | +- RTF Writer: Basic table writing - @ivanlanin GH-245 |
| 38 | + |
| 39 | +### Bugfixes |
| 40 | + |
| 41 | +- Header: All images added to the second header were assigned to the first header - @basjan GH-222 |
| 42 | +- Conversion: Fix conversion from cm to pixel, pixel to cm, and pixel to point - @basjan GH-233 GH-234 |
| 43 | +- PageBreak: Page break adds new line in the beginning of the new page - @ivanlanin GH-150 |
| 44 | +- Image: `marginLeft` and `marginTop` cannot accept float value - @ivanlanin GH-248 |
| 45 | +- Title: Orphan `w:fldChar` caused OpenOffice to crash when opening DOCX - @ivanlanin GH-236 |
| 46 | + |
| 47 | +### Deprecated |
| 48 | + |
| 49 | +- Static classes `Footnotes`, `Endnotes`, and `TOC` |
| 50 | +- `Writer\Word2007\Part`: `Numbering::writeNumbering()`, `Settings::writeSettings()`, `WebSettings::writeWebSettings()`, `ContentTypes::writeContentTypes()`, `Styles::writeStyles()`, `Document::writeDocument()` all changed into `write()` |
| 51 | +- `Writer\Word2007\Part\DocProps`: Split into `Writer\Word2007\Part\DocPropsCore` and `Writer\Word2007\Part\DocPropsApp` |
| 52 | +- `Element\Title::getBookmarkId()` replaced by `Element\Title::getRelationId()` |
| 53 | +- `Writer\HTML::writeDocument`: Replaced by `Writer\HTML::getContent` |
| 54 | + |
| 55 | +### Miscellaneous |
| 56 | + |
| 57 | +- License: Change the project license from LGPL 2.1 into LGPL 3.0 - GH-211 |
| 58 | +- Word2007 Writer: New `Style\Image` class - @ivanlanin |
| 59 | +- Refactor: Replace static classes `Footnotes`, `Endnotes`, and `TOC` with `Collections` - @ivanlanin GH-206 |
| 60 | +- QA: Reactivate `phpcpd` and `phpmd` on Travis - @ivanlanin |
| 61 | +- Refactor: PHPMD recommendation: Change all `get...` method that returns `boolean` into `is...` or `has...` - @ivanlanin |
| 62 | +- Docs: Create gh-pages branch for API documentation - @Progi1984 GH-154 |
| 63 | +- QA: Add `.scrutinizer.yml` and include `composer.lock` for preparation to Scrutinizer - @ivanlanin GH-186 |
| 64 | +- Writer: Refactor writer parts using composite pattern - @ivanlanin |
| 65 | +- Docs: Show code quality and test code coverage badge on README |
| 66 | +- Style: Change behaviour of `set...` function of boolean properties; when none is defined, assumed true - @ivanlanin |
| 67 | +- Shared: Unify PHP ZipArchive and PCLZip features into PhpWord ZipArchive - @ivanlanin |
| 68 | +- Docs: Create VERSION file - @ivanlanin |
| 69 | +- QA: Improve dan update requirement check in `samples` folder - @ivanlanin |
| 70 | + |
| 71 | + |
5 | 72 | ## 0.10.1 - 21 May 2014
|
6 | 73 |
|
7 | 74 | This is a bugfix release for `php-zip` requirement in Composer.
|
@@ -32,7 +99,7 @@ This release marked heavy refactorings on internal code structure with the creat
|
32 | 99 | - Link: Ability to add link in header/footer - @ivanlanin GH-187
|
33 | 100 | - Object: Ability to add object in header, footer, textrun, and footnote - @ivanlanin GH-187
|
34 | 101 | - Media: Add `Media::resetElements()` to reset all media data - @juzi GH-19
|
35 |
| -- General: Add `Style::resetStyles()`, `Footnote::resetElements()`, and `TOC::resetTitles()` - @ivanlanin GH-187 |
| 102 | +- General: Add `Style::resetStyles()` - @ivanlanin GH-187 |
36 | 103 | - DOCX Reader: Ability to read header, footer, footnotes, link, preservetext, textbreak, pagebreak, table, list, image, and title - @ivanlanin
|
37 | 104 | - Endnote: Ability to add endnotes - @ivanlanin
|
38 | 105 | - ListItem: Ability to create custom list and reset list number - @ivanlanin GH-10 GH-198
|
|
0 commit comments