Skip to content

Commit 94c0d02

Browse files
author
Roman Syroeshko
committed
Next round of refactoring of alignment-related functionality.
1 parent 3a58c81 commit 94c0d02

File tree

100 files changed

+1097
-812
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+1097
-812
lines changed

CHANGELOG.md

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
1-
CHANGELOG
2-
=========
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.
1+
Change Log
2+
==========
3+
All notable changes to this project will be documented in this file.
4+
This project adheres to [Semantic Versioning](http://semver.org/).
55

66
0.13.0 (unreleased)
7-
------------
8-
7+
-------------------
98
Place announcement text here.
109

11-
### Changes
12-
- Introduced ``\PhpOffice\PhpWord\SimpleType\ST_JcTable`` simple type. - @RomanSyroeshko
13-
- Introduced ``\PhpOffice\PhpWord\SimpleType\ST_Jc`` simple type. - @RomanSyroeshko
10+
### Added
11+
- Introduced the ``\PhpOffice\PhpWord\SimpleType\ST_JcTable`` simple type. - @RomanSyroeshko
12+
- Introduced the ``\PhpOffice\PhpWord\SimpleType\ST_Jc`` simple type. - @RomanSyroeshko
13+
14+
### Changed
1415
- Improved error message for the case when ``autoload.php`` is not found. - @RomanSyroeshko #371
15-
- Renamed ``align`` option of ``NumberingLevel``, ``Frame``, ``Table``, and ``Paragraph`` styles into ``alignment``. Accessor and mutator methods renamed too. - @RomanSyroeshko
16+
- Renamed the ``align`` option of ``NumberingLevel``, ``Frame``, ``Table``, and ``Paragraph`` styles into ``alignment``. - @RomanSyroeshko
1617

18+
### Deprecated
19+
- ``getAlign`` and ``setAlign`` methods of ``NumberingLevel``, ``Frame``, ``Table``, and ``Paragraph`` styles.
20+
Use the correspondent ``getAlignment`` and ``setAlignment`` methods instead.
1721

1822

19-
0.12.1 (30 August 2015)
20-
-------------------
2123

24+
0.12.1 (30 August 2015)
25+
-----------------------
2226
Maintenance release. This release is focused primarily on ``TemplateProcessor``.
2327

2428
### Changes
@@ -33,7 +37,6 @@ Maintenance release. This release is focused primarily on ``TemplateProcessor``.
3337

3438
0.12.0 (3 January 2015)
3539
-----------------------
36-
3740
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.
3841

3942
### Features
@@ -93,7 +96,6 @@ This release added form fields (textinput, checkbox, and dropdown), drawing shap
9396

9497
0.11.1 (2 June 2014)
9598
--------------------
96-
9799
This is an immediate bugfix release for HTML reader.
98100

99101
- HTML Reader: `<p>` and header tags puts no output - @canyildiz @ivanlanin #257
@@ -102,7 +104,6 @@ This is an immediate bugfix release for HTML reader.
102104

103105
0.11.0 (1 June 2014)
104106
--------------------
105-
106107
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.
107108

108109
### Features
@@ -167,7 +168,6 @@ This release marked the change of PHPWord license from LGPL 2.1 to LGPL 3. Four
167168

168169
0.10.1 (21 May 2014)
169170
--------------------
170-
171171
This is a bugfix release for `php-zip` requirement in Composer.
172172

173173
- Change Composer requirements for php-zip from `require` to `suggest` - @bskrtich #246
@@ -176,7 +176,6 @@ This is a bugfix release for `php-zip` requirement in Composer.
176176

177177
0.10.0 (4 May 2014)
178178
-------------------
179-
180179
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.
181180

182181
### Features
@@ -261,7 +260,6 @@ This release marked heavy refactorings on internal code structure with the creat
261260

262261
0.9.1 (27 Mar 2014)
263262
-------------------
264-
265263
This is a bugfix release for PSR-4 compatibility.
266264

267265
- Fixed PSR-4 composer autoloader - @AntonTyutin
@@ -270,7 +268,6 @@ This is a bugfix release for PSR-4 compatibility.
270268

271269
0.9.0 (26 Mar 2014)
272270
-------------------
273-
274271
This release marked the transformation to namespaces (PHP 5.3+).
275272

276273
### Features
@@ -293,7 +290,6 @@ This release marked the transformation to namespaces (PHP 5.3+).
293290

294291
0.8.1 (17 Mar 2014)
295292
-------------------
296-
297293
This is a bugfix release for image detection functionality.
298294

299295
- Added fallback for computers that do not have exif_imagetype - @bskrtich, @gabrielbull
@@ -302,7 +298,6 @@ This is a bugfix release for image detection functionality.
302298

303299
0.8.0 (15 Mar 2014)
304300
-------------------
305-
306301
This release merged a lot of improvements from the community. Unit tests introduced in this release and has reached 90% code coverage.
307302

308303
### Features
@@ -351,7 +346,6 @@ This release merged a lot of improvements from the community. Unit tests introdu
351346

352347
0.7.0 (28 Jan 2014)
353348
-------------------
354-
355349
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.
356350

357351
### Features
@@ -375,4 +369,4 @@ This is the first release after a long development hiatus in [CodePlex](https://
375369
- Basic CI with Travis - @Progi1984
376370
- Added PHPWord_Exception and exception when could not copy the template - @Progi1984
377371
- IMPROVED: Moved examples out of Classes directory - @Progi1984
378-
- IMPROVED: Advanced string replace in setValue for Template - @Esmeraldo [#49](http://phpword.codeplex.com/workitem/49)
372+
- IMPROVED: Advanced string replace in setValue for Template - @Esmeraldo [#49](http://phpword.codeplex.com/workitem/49)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.12.0
1+
0.13.0

docs/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,17 @@ qthelp:
7777
@echo
7878
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
7979
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
80-
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/PhpWord.qhcp"
80+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/PHPWord.qhcp"
8181
@echo "To view the help file:"
82-
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/PhpWord.qhc"
82+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/PHPWord.qhc"
8383

8484
devhelp:
8585
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
8686
@echo
8787
@echo "Build finished."
8888
@echo "To view the help file:"
89-
@echo "# mkdir -p $$HOME/.local/share/devhelp/PhpWord"
90-
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/PhpWord"
89+
@echo "# mkdir -p $$HOME/.local/share/devhelp/PHPWord"
90+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/PHPWord"
9191
@echo "# devhelp"
9292

9393
epub:

docs/conf.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
master_doc = 'index'
4141

4242
# General information about the project.
43-
project = u'PhpWord'
44-
copyright = u'2014, PHPWord Contributors'
43+
project = u'PHPWord'
44+
copyright = u'2014-2015, PHPWord Contributors'
4545

4646
# The version info for the project you're documenting, acts as replacement for
4747
# |version| and |release|, also used in various other places throughout the
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '0.12.0'
51+
version = '0.13.0'
5252
# The full version, including alpha/beta/rc tags.
5353
release = version
5454

@@ -164,7 +164,7 @@
164164
#html_file_suffix = None
165165

166166
# Output file base name for HTML help builder.
167-
htmlhelp_basename = 'PhpWorddoc'
167+
htmlhelp_basename = 'PHPWorddoc'
168168

169169

170170
# -- Options for LaTeX output --------------------------------------------------
@@ -183,8 +183,8 @@
183183
# Grouping the document tree into LaTeX files. List of tuples
184184
# (source start file, target name, title, author, documentclass [howto/manual]).
185185
latex_documents = [
186-
('index', 'PhpWord.tex', u'PhpWord Documentation',
187-
u'The PhpWord Team', 'manual'),
186+
('index', 'PHPWord.tex', u'PHPWord Documentation',
187+
u'The PHPWord Team', 'manual'),
188188
]
189189

190190
# The name of an image file (relative to this directory) to place at the top of
@@ -213,8 +213,8 @@
213213
# One entry per manual page. List of tuples
214214
# (source start file, name, description, authors, manual section).
215215
man_pages = [
216-
('index', 'PhpWord', u'PhpWord Documentation',
217-
[u'The PhpWord Team'], 1)
216+
('index', 'PHPWord', u'PHPWord Documentation',
217+
[u'The PHPWord Team'], 1)
218218
]
219219

220220
# If true, show URL addresses after external links.
@@ -227,8 +227,8 @@
227227
# (source start file, target name, title, author,
228228
# dir menu entry, description, category)
229229
texinfo_documents = [
230-
('index', 'PhpWord', u'PhpWord Documentation',
231-
u'The PhpWord Team', 'PhpWord', 'One line description of project.',
230+
('index', 'PHPWord', u'PHPWord Documentation',
231+
u'The PHPWord Team', 'PHPWord', 'One line description of project.',
232232
'Miscellaneous'),
233233
]
234234

@@ -244,9 +244,9 @@
244244
# -- Options for Epub output ---------------------------------------------------
245245

246246
# Bibliographic Dublin Core info.
247-
epub_title = u'PhpWord'
248-
epub_author = u'The PhpWord Team'
249-
epub_publisher = u'The PhpWord Team'
247+
epub_title = u'PHPWord'
248+
epub_author = u'The PHPWord Team'
249+
epub_publisher = u'The PHPWord Team'
250250
epub_copyright = copyright
251251

252252
# The language of the text. It defaults to the language option

0 commit comments

Comments
 (0)