Commit Graph

743 Commits

Author SHA1 Message Date
Ivan Lanin f0ee25f343 Deprecate `createSection` in favor of `addSection` 2014-04-02 11:02:56 +07:00
Ivan Lanin a2a00393c1 Remove HashTable and all related properties/methods. PHPWord doesn't (yet) need it. 2014-04-02 10:43:42 +07:00
Ivan Lanin 495930be9d Add element availability matrix and enable `addObject` in footnote and textrun 2014-04-02 10:05:24 +07:00
Dave Gudgeon 4f514d2159 Load any number of headers and footers 2014-04-01 22:13:03 +01:00
Dave Gudgeon 763de347df Add support for document headers and footers to Template class. 2014-04-01 13:25:05 +01:00
Ivan Lanin 6f7b97e3ab Add unit tests for refactoring results 2014-04-01 19:05:07 +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 2bf0bbb094 Container abstract class 2014-03-31 23:23:45 +07:00
Louis b7fd623121 Re-indent with spaces TOC Depth filter
Travis said spaces, not tab. Meh.
2014-03-31 17:07:58 +02: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
Ivan Lanin 9d3c2e8ae7 Update changelog and documentation for PCLZip 2014-03-31 00:26:41 +07:00
Ivan Lanin 71b60e9bd5 Merge branch 'develop' into #140-bskrtich-pclzip 2014-03-30 23:19:04 +07:00
Ivan Lanin 45b0baf7bc Refactor writer classes 2014-03-30 23:14:14 +07:00
Ivan Lanin 4127860f1e Refactor writers and readers
- Create Writer abstract class
- Inherit writers class from Writer
- Inherit ODText\WriterPart from Word2007\WriterPart
- Rename AbstractReader > Reader
2014-03-30 17:55:44 +07:00
Ivan Lanin 0e2f476cc2 Docblock updates 2014-03-30 14:15:23 +07:00
Ivan Lanin 05a4b95255 Unit test enhancements 2014-03-30 11:50:35 +07:00
Ivan Lanin f0803efabb #156 Merge branch 'master' of https://github.com/ozilion/PHPWord 2014-03-30 03:15:41 +07:00
Ivan Lanin 970cb32b45 Fix deprecated method, unused parts, initial definition, and @method annotation 2014-03-30 01:17:22 +07:00
Ivan Lanin 01f3f4071e #168 Merge branch 'develop' of https://github.com/jcarignan/PHPWord
- Comment header('Content-Length:'): HTTP header should not be in class that can be called via CLI
- Incorporate temporary location to ODT and RTF
- Update documentation
- Add unit tests
2014-03-29 23:56:28 +07:00
Ivan Lanin c91d6b61c9 Writer unit test enhancements 2014-03-29 22:26:00 +07:00
Ivan Lanin 255af437f2 Bugfix for footnote reference number and additional feature to insert text break and style the reference number 2014-03-29 01:26:18 +07:00
Ivan Lanin 338ceabdf0 Merge and modify 'pclzip' of https://github.com/bskrtich/PHPWord to make it work with the latest develop branch 2014-03-29 00:12:53 +07:00
Ivan Lanin 7a424318d2 Unit tests enhancement 2014-03-28 19:00:41 +07:00
Louis 88be3c962e TOC Depth filter function added
Add options to TOC to only show selected depth of titles ; ie pass 1,3
arguments to only show titles depth 1 to titles depth 3
Plus now you can have two+ TOC on your document, each different
2014-03-28 10:46:46 +01:00
Ivan Lanin de286936f2 Merge pull request #184 from andrew-kzoo/fix-exif-imagetype
Get image dimensions without EXIF extension
2014-03-28 09:56:37 +07:00
Ivan Lanin 160c2c7922 Merge branch 'master' of https://github.com/gianis6/PHPWord into gianis6-master 2014-03-28 09:49:16 +07:00
Andrew Collins a8da5b1b72 Get image dimensions without EXIF extension
Use `getimagesize` when `exif_imagetype` doesn't exist.
2014-03-27 17:25:09 -04:00
Ivan Lanin e6a26dd8fc Simplify all classes docblock 2014-03-27 23:55:06 +07:00
gianis6 b3c5a76a64 Update Base.php
added tblGrid element so that LibreOffice and OpenOffice can size the tables columns properly
2014-03-27 16:33:02 +01:00
Ivan Lanin a6568e988b Proposed simplified docblock 2014-03-26 17:21:23 +07:00
Ivan Lanin c72dc688ff Revert project name capitalization #176 2014-03-26 16:33:20 +07:00
Ivan Lanin dfccd54e66 Update README.md, docs, and version number 2014-03-26 15:53:17 +07:00
Ivan Lanin 3055a0e6fc Merge remote-tracking branch 'upstream/develop' into #160-refactoring 2014-03-26 15:16:16 +07:00
Roman Syroeshko 4aeef04afb Fix for tests 5. 2014-03-25 10:02:42 -07:00
Roman Syroeshko a0e8b43193 https://github.com/PHPOffice/PHPWord/issues/58 - "\PhpOffice\PhpWord\Shared\File" class was cut out. 2014-03-25 17:00:07 +04:00
Ivan Lanin 8aba90ded9 Change exception type 2014-03-25 17:53:10 +07:00
Ivan Lanin eed86f3768 Merge MemoryImage with Image, but left addMemoryImage for backward compatibility 2014-03-24 18:30:45 +07:00
Ivan Lanin b24550d060 Merge Table and TableFull style 2014-03-24 13:34:45 +07:00
Ivan Lanin aff112a13b Method name & code format for PSR/phpdoc compliance 2014-03-24 03:20:18 +07:00
Gabriel Bull 66c73c07c5 Fixed exceptions in reader/writer 2014-03-23 12:48:18 -04:00
Gabriel Bull 421b6e6f9d Made autoloader PSR-4 compliant and removed PHPWORD_BASE_DIR global constant 2014-03-23 12:48:18 -04:00
Ivan Lanin c7f03ecdf3 #159 #58 Merge branch 'develop' of https://github.com/RomanSyroeshko/PHPWord into develop 2014-03-23 21:10:48 +07:00