troosan
254d300ea7
Merge pull request #1511 from carusogabriel/ternary-expressions
...
Remove unnecessary ternary expressions
2018-12-26 23:15:49 +01:00
Maxim
d5da80b56e
Support adding images in Templates ( #1170 )
...
* setImageValue() + fix adding files via ZipArchive
* fix phpdoc variable name
* Changed logic that determines extension image file extension for document to depend on MIME type. This same logic is used in Element/Image.php
* support <w:t> tags with arguments
* allow setup size of image into template variable
* support of 'ratio' replace attribute + documentation
2018-12-26 14:35:21 +01:00
Gabriel Caruso
3cf0770376
Remove unnecessary ternary expressions
2018-11-19 01:32:28 -02:00
troosan
77f2b16bc1
update copyright to 2018
2018-03-08 23:52:25 +01:00
troosan
b614497ae6
fix dependencies to have 7.1 compatible build ( #1228 )
...
* add assertions in test methods without assertions
* loosen dependencies so 7.0 & 7.1 builds can succeed
* fix some scrutinizer errors
* update release date
2017-12-29 02:30:53 +01:00
troosan
274f50ce5a
Add unit tests & add array type checks
2017-12-04 22:30:49 +01:00
troosan
23bc837666
Scrutinizer fixes
2017-11-26 17:54:47 +01:00
troosan
0459670a9c
Enable php-cs-fixer in build & fix resulting warnings ( #1099 )
...
* enable php 7.1 build
* upgrade to dompdf/dompdf 0.8.*
* update phpunit & hide output during tests
* run code coverage analysis on 1 build only
* Add php-cs
* Update Copyright
2017-11-04 22:44:12 +01:00
Roman Syroeshko
2bcfacfbf9
Updated copyright.
2016-07-31 12:35:08 +04:00
Roman Syroeshko
43fb23d896
Copyright update.
2015-12-05 21:26:01 +04:00
Roman Syroeshko
94c0d02330
Next round of refactoring of alignment-related functionality.
2015-10-10 19:06:23 +04:00
Roman Syroeshko
3d06c77fc1
Minor refactoring of "Shared\ZipArchive" class.
2014-08-10 21:01:46 +04:00
Roman Syroeshko
56c3d8eda2
https://github.com/PHPOffice/PHPWord/issues/310
2014-08-10 20:00:19 +04:00
Ivan Lanin
01853f7aac
Update change log and adjust some coding standards for #261 , #265 , and #267
2014-06-07 17:52:48 +07:00
Ivan Lanin
bc6b40dde5
Merge branch 'fix-rare-pclzip-temp-file-issue' of github.com:andrew-kzoo/PHPWord into develop
2014-06-07 17:36:37 +07:00
Andrew Collins
3d2cd163d3
Ensure temp file in pclzipAddFile() removed
...
Make pclzipAddFile() similar to pclzipAddFromString() in removing
temporary files.
2014-06-05 13:45:18 -04:00
Andrew Collins
d57606082d
Fix rare PclZip/realpath/PHP version problem
...
In PHP 5.4.4 realpath() handles absolute paths correctly, but in PHP 5.3.8 returns false.
2014-06-04 13:27:18 -04:00
Ivan Lanin
9839222492
QA: Additional unit tests
2014-05-31 22:28:13 +07:00
Ivan Lanin
553371f088
Type hinting and docblock update
2014-05-19 14:27:55 +07:00
Ivan Lanin
f825ef50c0
Reorder code
2014-05-18 02:21:26 +07:00
Ivan Lanin
3f61d1807c
Test fixes
2014-05-18 00:40:29 +07:00
Ivan Lanin
5519131f3e
Unify PHP ZipArchive and PCLZip features into PhpWord ZipArchive
2014-05-17 23:30:13 +07:00
Ivan Lanin
04a62f3255
QA: Code cleanup and some additional tests
2014-05-14 19:41:44 +07:00
Roman Syroeshko
2add5541ce
[CHANGED] https://github.com/PHPOffice/PHPWord/pull/179 - copyright notice has been added.
2014-05-05 13:06:53 +04:00
Roman Syroeshko
89f94b793d
[CHANGED] https://github.com/PHPOffice/PHPWord/pull/179 - copyright info has been changed.
2014-05-05 12:38:32 +04:00
Roman Syroeshko
6c3d1e721d
License version has been added.
2014-05-04 21:03:29 +04:00
Ivan Lanin
35d06cc2ce
Change PHPWord license to LGPL 3 as per #211
2014-05-04 17:55:54 +07:00
Ivan Lanin
b7480d81c0
Refactor: Apply composite design pattern to Word2007/OOXML writer
2014-04-25 14:48:44 +07:00
Ivan Lanin
f5f03a5b2b
Emulate \ZipArchive::extractTo for PCLZip
2014-04-18 02:58:38 +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
Progi1984
b40218da45
Add some unit tests for Shared & Element (100%!) - @Progi1984
2014-04-12 00:59:29 +02: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
2cdad4b247
Reader: Ability to read header, footer, footnotes, link, preservetext, textbreak, pagebreak, table
2014-04-09 18:13:43 +07:00
Ivan Lanin
6aa73544a6
Fix failed test
2014-04-05 01:41:48 +07:00
Ivan Lanin
1751ab09ee
Remove unused ZipStreamWrapper.php and cleanup some scripts
2014-04-03 13:05:07 +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
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