-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop #2423
Closed
Closed
Develop #2423
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The setWidth method did not change the width in the style, seems to be a small mistake. Now the width is correctly for the Cell Style.
classes not found and missing dollar sign
The `tempDocumentHeaders` and `tempDocumentFooters` array attributes are passed to this method parameter
HTML Reader : Set style name from the CSS class
improve TemplateProcessor#setValueForPart parameter phpdoc
Call static instead of self on protected method
Added Swedish language
HTML Reader : Set style name from the CSS class (and if not CSS is loaded)
Otherwise, `composer check` and `composer fix` are broken and contributing becomes much harder than it should be. Also using the same version everywhere is a benefit to get consistent result locally and on CI.
Word2007 : Read empty vmerge
Fixed setting width of Cell Style
Fixed code example
Allow to customize macro delimiters in TemplateProcessor
Add background color support for text box element for Word writer
Add softhyphen support to Word2007 Reader
* 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 <[email protected]> * Fix css * Fix test on pt Co-authored-by: Progi1984 <[email protected]>
* 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]>
We must have `composer.lock` as part of our repository. Otherwise, the tools used for development change and break things unexpectedly. Currently, this is the case with PHPUnit 10 that introduces quite a few breaking changes. We cannot `composer install` and hope that we will get a set of compatible dependencies. Instead, we must lock our tools and upgrade them only when we want/need to upgrade them specifically, in a dedicated commit, and not part of a totally unrelated work, because it just so happenned that PHPUnit released something. `composer.lock` is based on the oldest PHP version that is officially supported by PHP core. Currently, that is 8.0. This typically gives us compatibility out of the box for 8.0, 8.1 and 8.2 with a single lock file. EOL PHP versions, that we unfortunately keep supporting in PHPWord, are "the special cases", and as such they will generate a new lock files in CI, because we cannot have a single lock files that spread over such as long time (almost 4 years for PHP 7.1) with major breaking change in the language in between.
Add FR_CH Add DE_CH
remove space
add language IT_CH (2064)
Replaces table sample in list item with the better suited list item sample.
This sets the quality of JPEG files to their maximum. It does this by: - defining a property called `$imageQuality` and a method called `getImageQuality()` to PhpOffice\PhpWord\Element\Image - setting the property `$imageQuality` to `100` for JPG, but keep default compression level for PNG - refactor fragile string callbacks into proper closure that use the new `$imageQuality` In the case of a PNG, this is not the _quality_ of the image, but the _filesize_ of the image. So we use the default value for best speed/filesize balance.
This commit re-adds supports for nested tables as provided by @mathieuweber in PR PHPOffice#571
2、增加Laten样式获取与设置写回处理逻辑; 3、调整settings.xml文件配置与写入处理逻辑; 4、增加表格缩进样式处理; 5、增加表格缩进样式写入处理; 6、段落样式处理:完善了缩进样式读取与写回功能;完善了字体样式读取与写回功能;解决了段落内的w:t标签丢弃问题; 7、增加document.xml文件docGrid标签读取与写入功能(解决了某些文本的行间距丢失问题) 8、增加document.xml文件sectPr标签读取与写入功能(解决了文本的下划线只有文本有下划线问题)
2、修复表格的单元格丢失输出html时丢失padding问题;
2、排查多出一个元素的问题: 分页标签在分页时被记录了一次; 作为独立标签又记录了一次,导致插入数据时无法准确选中标签;
2、解决了w:tabs 以html格式输出时无法以等效样式显示问题; 3、解决了 生成新words w:tabs 丢失问题; 4、增加了在一个section中插入一个element功能;
2、Drawing元素增加Word文档图片元素关联功能,用于文件转成; 3、修复Phpword缺陷,优化文件转存文件名格式,调整为原文件名转存,否者每次转存都会使文件名增长; 4、增加插入一个元素元到文档任意位置的功能; 5、调整word文档默认setting的基础配置; 6、修复读取Phpword文档表格时因不读取TblGrid导致表头合并异常问题; 7、增加Drawing元素(用于页眉图片显示); 8、修复样式增加多国语言支持时参数类型错误bug; 9、增加DrawingStyle; 10、修复字体元素styleID丢失问题(引起页眉显示异常原因); 11、修复段落元素styleID丢失问题(引起页眉显示异常原因); 12、增加字体下划线类型支持; 13、写入操作增加Drawing元素 14、RelsPart增加drawing关联的图片转存功能; 15、StylesPart 默认字体调整,无字段时不设置默认; 16、优化StylesPart 样式丢失StyleID问题(引起页眉显示异常原因);
丢失了mc:AlternateContent标签,引起文档页码信息丢失,页脚下划线丢失; 优化重构了文档图片读取算法; 增加了读取AlternateContent标签的样式功能; 重新设计了AlternateContent标签关联各种子标签的架构设计; 增加了AlternateContent标签关子的子元素关联类:Line和Shape 调整了AlternateContent标签 关联主容器算法; 增加了AltLine写回功能; 增加了AltShage写回功能; 增加了AlternateContent写回功能; 2、从页码丢失重新分析instrText标签的信息: 重构了读取instrText标签的文本功能; 增加了读取文本隐藏信息功能; 优化了读取文本算法; 修改优化了instrText前台写入文本算法功能; 调整了instrText标签 关联主容器算法; 3、调整了表格的单元格校式读取功能: 增加了单元元格边框样式读取功能; 解决了黄金版合同读取尾部表格显示异常问题; 增加了单元格关联系统样式StyleID功能; 增加了表头背景填充功能; 增加了表格tblOverlap标签读取功能; 增加了word2007下上述四个新增功能的写回功能(4项); 4、修复了页眉的边框丢失问题: 增加样式读取功能; 增加样式写回功能;
This PR seems to be an mistake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
Checklist:
composer run-script check --timeout=0
and no errors were reported