Commit Graph

462 Commits

Author SHA1 Message Date
Ivan Lanin 0fc1a06267 Merge all Word2007 relationships writer 2014-04-03 22:09:14 +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 04e6dbc86a Remove some duplication on Word2007 writers 2014-04-03 06:54:45 +07:00
Ivan Lanin 237625d22a Merge branch 'develop' into #160-element-container 2014-04-02 20:02:36 +07:00
Ivan Lanin 51a8628209 Merge #190, reorder methods (public, protected, private), and add example to Sample_07_TemplateCloneRow 2014-04-02 19:07:28 +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 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
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 e405bf2b71 Merge pull request #185 from ivanlanin/#140-bskrtich-pclzip
Add PCLZIP alternative to ZipArchive (merge and close #140)
2014-03-31 00:33:41 +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 2d72446289 Merge branch 'develop' of github.com:ivanlanin/PHPWord into develop 2014-03-30 23:16:11 +07:00
Ivan Lanin 45b0baf7bc Refactor writer classes 2014-03-30 23:14:14 +07:00
Ivan Lanin 99c25c3abc Namespace updates 2014-03-30 23:04:48 +07:00
Ivan Lanin 13b6092124 Merge remote-tracking branch 'upstream/develop' into refactor-writer 2014-03-30 22:54:36 +07:00
Ivan Lanin f911f5ccbe Namespace alias 2014-03-30 22:53:47 +07:00
Ivan Lanin 41407825a2 Namespace adjustments on writer classes 2014-03-30 22:23:12 +07:00
Ivan Lanin acba6b448a Refactoring & remove underscore prefix from method and property names 2014-03-30 21:31:00 +07:00
Roman Syroeshko bf5eed4d26 List of authors has been updated in "composer.json". 2014-03-30 05:27:25 -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 1977685936 #156 Merge branch 'master' of https://github.com/ozilion/PHPWord 2014-03-30 03:19:17 +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 42b12db85e #156 Merge branch 'master' of https://github.com/ozilion/PHPWord 2014-03-30 03:00:48 +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
Julien Carignan 612ad85773 changed heightRule string to exactHeight bool 2014-03-28 15:21:01 -04: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
Julien Carignan 772017d8e3 empty space remove 2014-03-28 13:33:49 -04:00
Julien Carignan 9faaa1b566 reverted table/row
Signed-off-by: Julien Carignan <julien.carignan@hotmail.com>
2014-03-28 13:31:40 -04:00
Julien Carignan 8363ee27d1 table row height rule moved to rowStyle (ivanlanin)
new usage: $table->addRow($height, array("heightRule"=>"exact"));

Signed-off-by: Julien Carignan <julien.carignan@hotmail.com>
2014-03-28 13:26:39 -04:00
Ivan Lanin 86274aa428 Merge branch '#140-bskrtich-pclzip' of github.com:ivanlanin/PHPWord into #140-bskrtich-pclzip 2014-03-29 00:13:46 +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 e81b2d01a8 Merge and modify 'pclzip' of https://github.com/bskrtich/PHPWord to make it work with the latest develop branch 2014-03-28 23:29:20 +07:00
Ivan Lanin 92588ccfd9 Fix variable for MediaTest 2014-03-28 19:25:12 +07:00
Ivan Lanin 7a424318d2 Unit tests enhancement 2014-03-28 19:00:41 +07:00
Ivan Lanin 2d178a6724 Update CHANGELOG.md 2014-03-28 10:06:11 +07:00