Skip to content

Commit

Permalink
Next round of refactoring of alignment-related functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Syroeshko committed Oct 10, 2015
1 parent 3a58c81 commit 94c0d02
Show file tree
Hide file tree
Showing 100 changed files with 1,097 additions and 812 deletions.
40 changes: 17 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
CHANGELOG
=========

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.
Change Log
==========
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

0.13.0 (unreleased)
------------

-------------------
Place announcement text here.

### Changes
- Introduced ``\PhpOffice\PhpWord\SimpleType\ST_JcTable`` simple type. - @RomanSyroeshko
- Introduced ``\PhpOffice\PhpWord\SimpleType\ST_Jc`` simple type. - @RomanSyroeshko
### Added
- Introduced the ``\PhpOffice\PhpWord\SimpleType\ST_JcTable`` simple type. - @RomanSyroeshko
- Introduced the ``\PhpOffice\PhpWord\SimpleType\ST_Jc`` simple type. - @RomanSyroeshko

### Changed
- Improved error message for the case when ``autoload.php`` is not found. - @RomanSyroeshko #371
- Renamed ``align`` option of ``NumberingLevel``, ``Frame``, ``Table``, and ``Paragraph`` styles into ``alignment``. Accessor and mutator methods renamed too. - @RomanSyroeshko
- Renamed the ``align`` option of ``NumberingLevel``, ``Frame``, ``Table``, and ``Paragraph`` styles into ``alignment``. - @RomanSyroeshko

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


0.12.1 (30 August 2015)
-------------------

0.12.1 (30 August 2015)
-----------------------
Maintenance release. This release is focused primarily on ``TemplateProcessor``.

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

0.12.0 (3 January 2015)
-----------------------

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.

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

0.11.1 (2 June 2014)
--------------------

This is an immediate bugfix release for HTML reader.

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

0.11.0 (1 June 2014)
--------------------

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.

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

0.10.1 (21 May 2014)
--------------------

This is a bugfix release for `php-zip` requirement in Composer.

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

0.10.0 (4 May 2014)
-------------------

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.

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

0.9.1 (27 Mar 2014)
-------------------

This is a bugfix release for PSR-4 compatibility.

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

0.9.0 (26 Mar 2014)
-------------------

This release marked the transformation to namespaces (PHP 5.3+).

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

0.8.1 (17 Mar 2014)
-------------------

This is a bugfix release for image detection functionality.

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

0.8.0 (15 Mar 2014)
-------------------

This release merged a lot of improvements from the community. Unit tests introduced in this release and has reached 90% code coverage.

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

0.7.0 (28 Jan 2014)
-------------------

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.

### Features
Expand All @@ -375,4 +369,4 @@ This is the first release after a long development hiatus in [CodePlex](https://
- Basic CI with Travis - @Progi1984
- Added PHPWord_Exception and exception when could not copy the template - @Progi1984
- IMPROVED: Moved examples out of Classes directory - @Progi1984
- IMPROVED: Advanced string replace in setValue for Template - @Esmeraldo [#49](http://phpword.codeplex.com/workitem/49)
- IMPROVED: Advanced string replace in setValue for Template - @Esmeraldo [#49](http://phpword.codeplex.com/workitem/49)
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.12.0
0.13.0
8 changes: 4 additions & 4 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@ qthelp:
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/PhpWord.qhcp"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/PHPWord.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/PhpWord.qhc"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/PHPWord.qhc"

devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/PhpWord"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/PhpWord"
@echo "# mkdir -p $$HOME/.local/share/devhelp/PHPWord"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/PHPWord"
@echo "# devhelp"

epub:
Expand Down
26 changes: 13 additions & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
master_doc = 'index'

# General information about the project.
project = u'PhpWord'
copyright = u'2014, PHPWord Contributors'
project = u'PHPWord'
copyright = u'2014-2015, PHPWord Contributors'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.12.0'
version = '0.13.0'
# The full version, including alpha/beta/rc tags.
release = version

Expand Down Expand Up @@ -164,7 +164,7 @@
#html_file_suffix = None

# Output file base name for HTML help builder.
htmlhelp_basename = 'PhpWorddoc'
htmlhelp_basename = 'PHPWorddoc'


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

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

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

Expand All @@ -244,9 +244,9 @@
# -- Options for Epub output ---------------------------------------------------

# Bibliographic Dublin Core info.
epub_title = u'PhpWord'
epub_author = u'The PhpWord Team'
epub_publisher = u'The PhpWord Team'
epub_title = u'PHPWord'
epub_author = u'The PHPWord Team'
epub_publisher = u'The PHPWord Team'
epub_copyright = copyright

# The language of the text. It defaults to the language option
Expand Down
Loading

0 comments on commit 94c0d02

Please sign in to comment.