Erik Hazington
aac3a601e1
Add support for fractional font sizes ( #2363 )
...
* Add support for fractional font sizes
Word supports fractional font sizes like 8.5pt, but PHPWord doesn't.
* Add background color support for textboxes
* Add background color support for text boxes for Word writer
* Added period to the comments to match the cs-fixer configuration
* Fixed cs-fixer issues.
* Added type hints and matching PHPDoc. Also added @return void.
* Added bgcolor unit test coverage
* Removed @return void as not compatible with projects coding standard.
* Fixed several CS-Fixer issues
* Replaced deprecated "assertRegExp" test method by assertMatchesRegularExpression.
* Address the CI coverage issue for the regex match assertion.
* Add support for fractional font sizes
Word supports fractional font sizes like 8.5pt, but PHPWord doesn't.
* The default font size method now supports int and float font sizes. Added type hinting to settings class and unit test coverage for fractional (float) font size.
* The default font size method now supports int and float font sizes. Added type hinting to settings class and unit test coverage for fractional (float) font size.
Co-authored-by: hazington <hazington@eweso.de>
Co-authored-by: Progi1984 <progi1984@gmail.com>
2023-01-06 21:04:39 +01:00
Yohann Tilotti
ef99fac8e1
Add support table row height when importing HTML ( #2350 )
...
* Add support table row height when importing HTML
* fix space
* fix phpcsfixer
* Add test table row height
* Fix xpath test table row height
* Fix attribute first test table row height
* Fix $cValue
Co-authored-by: Progi1984 <progi1984@gmail.com>
* Fix css
* Fix test on pt
Co-authored-by: Progi1984 <progi1984@gmail.com>
2023-01-06 16:26:34 +01:00
hazington
53d34fd049
Address the CI coverage issue for the regex match assertion.
2023-01-04 00:07:39 +01:00
hazington
679a738c42
Replaced deprecated "assertRegExp" test method by assertMatchesRegularExpression.
2023-01-03 23:56:04 +01:00
hazington
0f6fbf2b11
Fixed several CS-Fixer issues
2023-01-03 23:44:51 +01:00
hazington
a215501cc9
Added bgcolor unit test coverage
2023-01-03 23:35:37 +01:00
Progi1984
b453cf00ff
Merge pull request #2261 from ismail1432/customize-macro
...
Allow to customize macro delimiters in TemplateProcessor
2022-12-23 19:36:07 +01:00
Progi1984
02a92c8924
HTML Reader : Set style name from the CSS class
2022-11-22 21:38:41 +01:00
Progi1984
0af4ca1f6e
Merge pull request #2327 from Progi1984/htmlReaderExtractCssStyle
...
HTML Reader : Add basic support for CSS Style Tag
2022-11-18 10:42:04 +01:00
Progi1984
ab3a2c0418
HTML Reader : Add basic support for CSS Style Tag
2022-11-16 22:02:07 +01:00
simivar
f482f2600b
CS Fixer
2022-11-07 22:38:19 +01:00
Krystian Marcisz
46e61d4c18
Apply suggestions from code review
...
Co-authored-by: Progi1984 <progi1984@gmail.com>
2022-11-06 19:19:25 +01:00
simivar
91504dfddc
Introduce deleteRow() method for TemplateProcessor
2022-11-06 19:19:23 +01:00
Smaine Milianni
c4bcba9741
allow to customize macro in TemplateProcessor
2022-09-30 11:51:05 +01:00
Progi1984
c3e34a0d24
Support for PHP7.1 (min.)
2022-09-25 22:15:11 +02:00
Progi1984
f8d0b2ad87
HTML Reader : Override inline style on HTML attribute for table
2022-09-25 21:18:39 +02:00
Manunchik
f80f660457
Add PhpOffice\PhpWord\Cell\IOFactory::createWriter unit test
2022-09-20 11:12:53 +02:00
Adrien Crivelli
b9f1151bc6
Drop most deprecations
2022-09-16 16:29:15 +02:00
Adrien Crivelli
d59591b7ab
Automatic code style
2022-09-16 14:14:57 +02:00
Adrien Crivelli
c8d360e095
Use PSR autoload mechanism for tests
2022-09-16 14:09:17 +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
f853b9f125
Tolerate small imprecisions
2022-09-15 21:43:36 +02:00
Progi1984
a4cdcd6250
HTML Reader : Use border attribute for tables
2022-09-14 17:50:54 +02:00
Progi1984
2de551647b
HTML Reader : Style page-break-after in paragraph
2022-09-06 22:05:33 +02:00
DE TROOSTEMBERGH Antoine
a4055fb7a0
'normal' line-height means default line height
...
Add unit test
2021-04-15 21:04:45 +02:00
troosan
8bb0b73733
fix merge
2021-02-10 21:10:06 +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
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
e1bbc85cc4
Make syntax php 5.3 compliant
2021-02-08 22:40:46 +01:00
troosan
cba1edc9e8
remove trailing whitespaces
2021-02-08 00:59:44 +01:00
troosan
6db2927484
Merge pull request #1965 from naept/feature_handle-style-inheritance-for-html
...
feat: Update addHtml to handle style inheritance
2021-02-08 00:51:34 +01:00
troosan
6baf287a5f
Merge branch 'develop' into udz-checkbox-feature
2021-02-07 23:30:28 +01:00
troosan
9e322dd6e7
Merge pull request #1902 from lubosdz/develop
...
Enhancements to addHTML parser
2021-02-07 22:53:53 +01:00
troosan
dc9b1edb5b
fix formatting
2021-02-06 22:50:11 +01:00
Antoine de Troostembergh
1168789e8a
fix formatting
2021-02-06 21:32:30 +01:00
dbarzin
214df1a1cb
fix unit test
2021-02-06 12:57:16 +01:00
troosan
4e87e72110
Merge pull request #1716 from enflow/allowImageClosure
...
Allow a closure to be passed with image replacement tags
2021-02-05 22:08:56 +01:00
troosan
ca1272bd69
remove whitespace
2021-02-05 20:48:05 +01:00
troosan
554e90a46c
Merge pull request #1851 from oleibman/defaultpaper
...
Make Default Paper Configurable
2021-01-12 21:40:26 +01:00
troosan
c391b90823
Merge pull request #1924 from sven-ahrens/feature/parse-shapes
...
Feature Request: Read shape node values
2021-01-12 21:37:23 +01:00
Libor M
293efab0c2
TCPDF doesn't support PHP 8.0, skip test
2021-01-10 14:33:13 +01:00
Libor M
ea917c28da
fix coverage
2021-01-10 14:06:19 +01:00
Libor M
681d5c4709
fix PHP 8.0 compatibility
2021-01-02 09:08:43 +01:00
Libor M
a2c8d8c2d5
\PhpOffice\Common\XMLWriter -> \PhpOffice\PhpWord\Shared\XMLWriter
2021-01-02 08:26:46 +01:00
Libor M
357e905e8b
fix PasswordEncoder namespace
2021-01-01 16:52:15 +01:00
Libor M
0cca050bcd
\PhpOffice\Common\XMLReader -> \PhpOffice\PhpWord\Shared\XMLReader
2021-01-01 16:33:27 +01:00
Libor M
9a26ad9189
\PhpOffice\Common\Microsoft\PasswordEncoder -> \PhpOffice\PhpWord\Shared\Microsoft\PasswordEncoder
2021-01-01 16:23:58 +01:00