44 Commits

Author SHA1 Message Date
Ivan Lanin
0060e4316c PHPMD fixes and remove Style\Tabs (not needed) 2014-04-22 17:54:08 +07:00
Ivan Lanin
f829559f65 ODT Writer: Basic image writing support 2014-04-18 23:12:51 +07:00
Ivan Lanin
f5f03a5b2b Emulate \ZipArchive::extractTo for PCLZip 2014-04-18 02:58:38 +07:00
Ivan Lanin
4db75c37a9 QA: Additional tests for Word2007 writer 2014-04-17 16:19:23 +07:00
Roman Syroeshko
db1d89ab23 Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
	src/PhpWord/Element/Section.php
	src/PhpWord/Endnotes.php
	src/PhpWord/Footnotes.php
	src/PhpWord/Media.php
	src/PhpWord/PhpWord.php
	src/PhpWord/Reader/Word2007.php
	src/PhpWord/Writer/AbstractWriter.php
	src/PhpWord/Writer/ODText/Content.php
	src/PhpWord/Writer/Word2007.php
	src/PhpWord/Writer/Word2007/Notes.php
2014-04-16 17:39:26 +04:00
Roman Syroeshko
2c1c1ea60f [IMPROVED] Dockblocks as per https://github.com/PHPOffice/PHPWord/pull/187. 2014-04-16 17:22:30 +04:00
Ivan Lanin
2829fd8216 Enable image in HTML writer 2014-04-16 12:12:32 +07:00
Ivan Lanin
9c738f7eae Refactor Element\Image and some samples 2014-04-16 09:50:56 +07:00
Ivan Lanin
3cb6d86e22 Unit tests for PDF writer; Enable zip://zipFilename#archiveFilename construct for image source 2014-04-16 07:50:39 +07:00
Ivan Lanin
15ca8f294c Merge branch 'develop' into html 2014-04-13 22:11:31 +07:00
Ivan Lanin
19a69e2c39 Basic HTML writer 2014-04-13 22:04:07 +07:00
Ivan Lanin
e78489b36e Update unit test and changelog 2014-04-13 18:03:59 +07:00
Ivan Lanin
abc67edb50 Merge branch 'develop' of https://github.com/japonicus/PHPWord into develop 2014-04-13 17:45:50 +07:00
Ivan Lanin
a5c815d50c ODT: Basic table writing support 2014-04-11 23:46:12 +07:00
Ivan Lanin
a3a9af51e5 Additional unit tests and some code deduplication 2014-04-11 21:28:43 +07:00
Ivan Lanin
ae652a6379 Update upcoming version number to 0.10.0 as per #178 2014-04-11 19:04:53 +07:00
Ivan Lanin
39a5e8c51e Merge branch 'numbering' into develop 2014-04-11 17:11:21 +07:00
Ivan Lanin
47669f501a Ability to create custom list #10 and to read list definition from DOCX 2014-04-11 17:08:47 +07:00
Roman Syroeshko
5b4ed10999 [FIXED] Dockblock for https://github.com/PHPOffice/PHPWord/pull/187 2014-04-10 11:06:39 +04:00
Ivan Lanin
f837381238 Ability to add Endnotes 2014-04-10 01:36:41 +07:00
Ivan Lanin
0ccea9620c Merge remote-tracking branch 'upstream/develop' into xml-reader 2014-04-09 18:48:04 +07:00
Ivan Lanin
2cdad4b247 Reader: Ability to read header, footer, footnotes, link, preservetext, textbreak, pagebreak, table 2014-04-09 18:13:43 +07:00
Roman Syroeshko
191d37b280 Leading backslashes in global function/constant calls were removed. 2014-04-08 21:56:18 +04:00
japonicus
833dfea1e0 Keep image aspect ratio if only 1 dimension styled
If only one of image width or height is specified, then scale missing
dimension to maintain the aspect ratio.
2014-04-08 17:42:01 +01:00
Ivan Lanin
6456255300 Merge branch '#160-element-container' into xml-reader 2014-04-08 08:21:52 +07:00
Ivan Lanin
cd2dba0848 Element inheritance refinements 2014-04-08 03:27:19 +07:00
Ivan Lanin
dadfc2903c Merge branch '#160-element-container' into xml-reader 2014-04-08 01:15:14 +07:00
Ivan Lanin
f1108c48e6 Add Abstract- prefix and -Interface suffix for corresponding classes 2014-04-08 01:09:06 +07:00
Ivan Lanin
b594e32f04 Move container files 2014-04-08 00:03:53 +07:00
Ivan Lanin
177c523799 Remove underscore prefix from all private properties name 2014-04-06 18:16:28 +07:00
Ivan Lanin
a218202dbd Enhance unit tests 2014-04-06 15:19:09 +07:00
Ivan Lanin
50e9e0f029 Merge branch 'develop' into #160-element-container 2014-04-06 11:44:37 +07:00
Ivan Lanin
03934af334 Refactor header/footer and media model 2014-04-05 22:39:04 +07:00
Ivan Lanin
d7c18fe4b8 Move OOXML specific feature from Media to Word2007\Base 2014-04-05 00:19:45 +07:00
Ivan Lanin
b75403f9a1 Refactor Media, addObject to header and footer 2014-04-04 15:28:35 +07:00
Ivan Lanin
1751ab09ee Remove unused ZipStreamWrapper.php and cleanup some scripts 2014-04-03 13:05:07 +07:00
Ivan Lanin
7c549f5802 DocBlock and use fixes 2014-04-03 10:13:13 +07:00
Ivan Lanin
1ebd26ddc6 Fix some test error 2014-04-03 09:20:21 +07:00
Ivan Lanin
637c9fce6f Create new Element abstract class 2014-04-03 09:12:11 +07:00
Ivan Lanin
06ba9e7093 Make one level Element folder structure (move Cell and Row up one level) 2014-04-02 11:27:02 +07:00
Ivan Lanin
495930be9d Add element availability matrix and enable addObject in footnote and textrun 2014-04-02 10:05:24 +07:00
Ivan Lanin
07be5eaea3 Adding more functionalities to containers:
- Table: Ability to add footnote in table cell
- Footnote: Ability to add image in footnote
- ListItem: Ability to add list item in header/footer
- CheckBox: Ability to add checkbox in header/footer
- Link: Ability to add link in header/footer
2014-04-01 18:36:35 +07:00
Ivan Lanin
faba46cc05 Extends Container abstract class into Footnote, TextRun, and Cell element class. 2014-04-01 00:56:24 +07:00
Ivan Lanin
13e5ca0a84 #160 Refactor folders: Element, Container, and Exception
- Rename folder Section to Element
- Rename folder Exceptions to Exception
- Move Section, Header, Footer, Settings to Container folder
- Move Element\Footer\PreserveText to Element\PreserveText
2014-03-31 10:11:52 +07:00