Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for fractional font sizes (PHPOffice#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 <[email protected]> Co-authored-by: Progi1984 <[email protected]>
- Loading branch information