Commit Graph

1003 Commits

Author SHA1 Message Date
Adrien Crivelli 2b7b4ddc5f
Revert "Add destructor wich will try to clean up temp file of the template"
This reverts commit e9cd17d4c7. Because
the temp file is the result of the `save()` method and it's up to the calling
code to handle the result appropriately. Or alternatively use `saveAs()` to
avoid handling it.
2022-09-20 11:05:16 +02:00
Adrien Crivelli 62444d2161
Merge pull request #2176 from maartendekeizer/cleanuptempfile
[TemplateProcessor] Clean up temp files
2022-09-17 23:21:07 +02:00
Adrien Crivelli b9f1151bc6
Drop most deprecations 2022-09-16 16:29:15 +02:00
Adrien Crivelli c5e7a535e6
Fix phpmd violation 2022-09-16 14:24:22 +02:00
Adrien Crivelli d59591b7ab
Automatic code style 2022-09-16 14:14:57 +02:00
Adrien Crivelli 2bc75771cc
Use same code style as PhpSpreadsheet 2022-09-16 11:45:45 +02:00
Adrien Crivelli 25c56a3e2d
Update all PHP dependencies
This way we can share the same dependencies across PHP 7.4 to PHP 8.1,
and simplify our CI pipeline
2022-09-16 11:27:29 +02:00
Adrien Crivelli 0e8bcb63e7
Drop PHP 7.3 and older
This is according to our formal, published, policy to only support
eol PHP after 6 months within PHPOffice organisation.

See https://phpspreadsheet.readthedocs.io/en/latest/#php-version-support
2022-09-16 10:17:31 +02:00
Adrien Crivelli 2ee6df65bc
Merge pull request #2272 from seamuslee001/php81_locale
PHP8.1 Fix issue with passing NULL value for locale into string function
2022-09-16 00:16:31 +02:00
Adrien Crivelli 93e16d4001
Merge pull request #2292 from neopheus/php8.1-fix-2290
Php 8.1 fix #2290
2022-09-16 00:12:45 +02:00
Adrien Crivelli 301e481fbe
loadConfig returns config that was actually applied 2022-09-15 19:07:28 +02:00
Adrien Crivelli 54415c113b
Fix code style 2022-09-15 17:55:24 +02:00
Progi1984 7df75b2efe
Merge pull request #2294 from Progi1984/htmlTableBorder
HTML Reader : Use `border` attribute for tables
2022-09-14 18:16:34 +02:00
Progi1984 62584900b5
Merge pull request #2239 from cscrewsandcaptains/develop
PHP 8.1 Support for addPreserveText
2022-09-14 18:12:50 +02:00
Progi1984 a4cdcd6250 HTML Reader : Use `border` attribute for tables 2022-09-14 17:50:54 +02:00
neopheus fa84160f7f str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated" 2022-09-12 13:59:21 +02:00
neopheus 077175efbe Fix : htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
2022-09-12 13:48:13 +02:00
neopheus 83b0bef3a8 Fix #2290 2022-09-12 12:56:45 +02:00
Progi1984 a006aa8780
Merge pull request #2289 from Progi1984/htmlBlockPageBreak
HTML Reader : Style page-break-after in paragraph
2022-09-07 21:14:10 +02:00
Progi1984 2de551647b HTML Reader : Style page-break-after in paragraph 2022-09-06 22:05:33 +02:00
Seamus Lee 2f93873a7c PHP8.1 Fix issue with passing NULL value for locale into string function 2022-07-30 07:28:01 +00:00
Progi1984 945cbd9b93 HTML Reader : Heading in Text Run is not allowed 2022-07-20 14:04:04 +02:00
Christian Stein 91416e48ac
XMLWriter ReturnTypeWillChange fix
add  #[\ReturnTypeWillChange] Attribute to the function writeAttribute (php 8.1 deprecate warning)
2022-06-08 14:22:51 +02:00
Christian Stein fc18246b20
PreserveText preg_split fix
third parameter must be -1 not null (php 8.1 deprecate warning)
2022-06-08 14:14:25 +02:00
Adrien Crivelli 3bcd4b5370
PHP 8.1 compatibility 2022-02-17 16:37:24 +01:00
Gareth Ellis c57c292915 #2187 Addresses deprecation on PHP 8.1 in ZipArchi 2022-02-08 12:40:06 +00:00
Maarten de Keizer e9cd17d4c7 Add destructor wich will try to clean up temp file of the template
processor
2022-01-04 10:35:29 +01:00
Artem Kolotilkin eec9e975da Added support for Garamond font 2021-06-04 22:29:29 +02:00
troosan 7fd0489567 fix checkstyle issues 2021-04-16 23:38:14 +02:00
Ebben Feagan 524c08bafb running composer fix 2021-04-16 15:19:55 -05:00
Ebben Feagan 94b74c27a4 when adding image to relationship list check that the generated relationship id is actually unique 2021-04-16 15:06:37 -05:00
troosan ab7d82274e
Merge pull request #2052 from dfsd534/develop
Update chart, don't write 'c:overlap' if grouping is 'clustered'
2021-04-15 22:23:24 +02:00
DE TROOSTEMBERGH Antoine 0692a55fa4 checkstyle fixes 2021-04-15 21:19:38 +02:00
DE TROOSTEMBERGH Antoine a4055fb7a0 'normal' line-height means default line height
Add unit test
2021-04-15 21:04:45 +02:00
DE TROOSTEMBERGH Antoine 8efd9ff9da Merge branch 'develop' into develop_tmp 2021-04-14 22:19:05 +02:00
DE TROOSTEMBERGH Antoine d731e9284f fix checkstyle issues 2021-04-14 22:15:58 +02:00
troosan 55defcc892 relax some phpmd rules 2021-04-14 00:16:28 +02:00
dfsd534 afed126ab1 update 2021-04-10 11:49:32 +08:00
joelgo 7f78322d04
Update html.php
For acept text in line-height how "line-height:normal", etc.
2021-03-17 13:09:13 -05:00
Kamil Mach 68cbca530f Fix image border in Word2007 Writer for LibreOffice 7 2021-02-17 09:22:32 +01:00
troosan 659d3d7b4b
Update Html.php
fix
2021-02-12 20:16:18 +01:00
troosan bed1f7afbf
pass the paragraph style 2021-02-11 21:44:20 +01:00
troosan a382f9d754
fix 2021-02-11 19:25:28 +01:00
troosan d4f08a3f8a Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into tmp
Conflicts:
	tests/PhpWord/Shared/HtmlTest.php
2021-02-10 21:04:16 +01:00
troosan 9736d37bc9
Merge pull request #1986 from emnabs/develop
add/setting page element border style.
2021-02-10 20:49:37 +01:00
troosan 81d613bc4d php 5.3 compatible code 2021-02-10 08:25:09 +01:00
troosan 4840faa422
Merge pull request #1922 from csk83/develop
Add Option for Dynamic Chart Legend Position #1699
2021-02-09 21:26:47 +01:00
troosan 1b7b43a4e5 fix code formatting 2021-02-08 22:58:14 +01:00
troosan b2585dfd28 move constants to simpleType 2021-02-08 22:20:00 +01:00
troosan 264f1590f0 make xmlReplaceBlock public 2021-02-08 22:08:29 +01:00