Skip to content

Commit 6c3d1e7

Browse files
author
Roman Syroeshko
committed
License version has been added.
1 parent 4824985 commit 6c3d1e7

File tree

249 files changed

+291
-332
lines changed

Some content is hidden

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

249 files changed

+291
-332
lines changed

docs/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ No Windows operating system is needed for usage because the resulting
1616
DOCX, ODT, or RTF files can be opened by all major `word processing
1717
softwares <http://en.wikipedia.org/wiki/List_of_word_processors>`__.
1818

19-
PHPWord is an open source project licensed under LGPL. PHPWord is `unit
19+
PHPWord is an open source project licensed under LGPL version 3. PHPWord is `unit
2020
tested <https://travis-ci.org/PHPOffice/PHPWord>`__ to make sure that
2121
the released versions are stable.
2222

docs/src/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ PHPWord is a library written in pure PHP that provides a set of classes to write
4949

5050
No Windows operating system is needed for usage because the resulting DOCX, ODT, or RTF files can be opened by all major [word processing softwares](http://en.wikipedia.org/wiki/List_of_word_processors).
5151

52-
PHPWord is an open source project licensed under LGPL. PHPWord is [unit tested](https://travis-ci.org/PHPOffice/PHPWord) to make sure that the released versions are stable.
52+
PHPWord is an open source project licensed under LGPL version 3. PHPWord is [unit tested](https://travis-ci.org/PHPOffice/PHPWord) to make sure that the released versions are stable.
5353

5454
**Want to contribute?** [Fork us](https://github.com/PHPOffice/PHPWord/fork) or [submit](https://github.com/PHPOffice/PHPWord/issues) your bug reports or feature requests to us.
5555

src/PhpWord/Autoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord;

src/PhpWord/DocumentProperties.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord;

src/PhpWord/Element/AbstractContainer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;
1111

1212
use PhpOffice\PhpWord\Endnotes;
13+
use PhpOffice\PhpWord\Exception\InvalidObjectException;
1314
use PhpOffice\PhpWord\Footnotes;
1415
use PhpOffice\PhpWord\Media;
16+
use PhpOffice\PhpWord\Shared\String;
1517
use PhpOffice\PhpWord\Style;
1618
use PhpOffice\PhpWord\TOC as Titles;
17-
use PhpOffice\PhpWord\Exception\InvalidObjectException;
18-
use PhpOffice\PhpWord\Shared\String;
1919

2020
/**
2121
* Container abstract class

src/PhpWord/Element/AbstractElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Cell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/CheckBox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Endnote.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Footnote.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Header.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;
1111

12-
use PhpOffice\PhpWord\Element\Image;
13-
1412
/**
1513
* Header element
1614
*/

src/PhpWord/Element/Image.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;
1111

12-
use PhpOffice\PhpWord\Settings;
1312
use PhpOffice\PhpWord\Exception\InvalidImageException;
1413
use PhpOffice\PhpWord\Exception\UnsupportedImageTypeException;
14+
use PhpOffice\PhpWord\Settings;
1515
use PhpOffice\PhpWord\Style\Image as ImageStyle;
1616

1717
/**

src/PhpWord/Element/Link.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/ListItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Object.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/PageBreak.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/PreserveText.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Row.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Section.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;
1111

1212
use PhpOffice\PhpWord\Exception\Exception;
1313
use PhpOffice\PhpWord\Style\Section as SectionSettings;
14-
use PhpOffice\PhpWord\Element\PageBreak;
15-
use PhpOffice\PhpWord\Element\TOC;
1614

1715
/**
1816
* Section

src/PhpWord/Element/TOC.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;
1111

12-
use PhpOffice\PhpWord\TOC as Titles;
1312
use PhpOffice\PhpWord\Style\Font;
1413
use PhpOffice\PhpWord\Style\TOC as TOCStyle;
14+
use PhpOffice\PhpWord\TOC as Titles;
1515

1616
/**
1717
* Table of contents

src/PhpWord/Element/Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Text.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/TextBreak.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/TextRun.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Element/Title.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Element;

src/PhpWord/Endnotes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord;

src/PhpWord/Exception/Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Exception;

src/PhpWord/Exception/InvalidImageException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Exception;

src/PhpWord/Exception/InvalidObjectException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Exception;

src/PhpWord/Exception/InvalidStyleException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Exception;

src/PhpWord/Exception/UnsupportedImageTypeException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Exception;

src/PhpWord/Footnotes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord;

src/PhpWord/IOFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord;

src/PhpWord/Media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord;

src/PhpWord/PhpWord.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord;
1111

12-
use PhpOffice\PhpWord\DocumentProperties;
13-
use PhpOffice\PhpWord\Exception\Exception;
1412
use PhpOffice\PhpWord\Element\Section;
13+
use PhpOffice\PhpWord\Exception\Exception;
1514
use PhpOffice\PhpWord\Style;
16-
use PhpOffice\PhpWord\Template;
1715

1816
/**
1917
* PHPWord main class

src/PhpWord/Reader/AbstractReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Reader;

src/PhpWord/Reader/ODText.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @link https://github.com/PHPOffice/PHPWord
66
* @copyright 2014 PHPWord
7-
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
7+
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
88
*/
99

1010
namespace PhpOffice\PhpWord\Reader;

0 commit comments

Comments
 (0)