Skip to content

WIP Do Not Install#2567

Draft
oleibman wants to merge 193 commits intoPHPOffice:masterfrom
oleibman:wordunimplemented2
Draft

WIP Do Not Install#2567
oleibman wants to merge 193 commits intoPHPOffice:masterfrom
oleibman:wordunimplemented2

Conversation

@oleibman
Copy link
Copy Markdown
Contributor

@oleibman oleibman commented Feb 6, 2024

All my unimplemented changes. Not intended for install.

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes # (issue)

Checklist:

  • I have run composer run-script check --timeout=0 and no errors were reported
  • The new code is covered by unit tests (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes

All my unimplemented changes. Not intended for install.
@oleibman oleibman marked this pull request as draft February 6, 2024 23:25
@coveralls
Copy link
Copy Markdown

coveralls commented Feb 6, 2024

Coverage Status

coverage: 98.535% (+1.8%) from 96.757%
when pulling f924e99 on oleibman:wordunimplemented2
into 0ab0b49 on PHPOffice:master.

Better from a technical standpoint.

Pre-processing much simplified.

Some post-processing added because loadHTML preserveWhiteSpace=false does not work well.

Not-UTF8 html can now be loaded.

No need to surround snippets with body tag.
It's debatable, but allow unescaped ampersand and unknown charset.
I made RTF usable some time ago. @rasamassen has recently done a lot of useful work to cover many missing areas. Since who knows when those changes will be merged, I intend to incorporate much of that work. I will do this with several pushes, each based on one or more of those changes. This one is based on PR PHPOffice#2817, PR PHPOffice#2834, and PR PHPOffice#2835.
Try again with a meaningless comment change.
I made RTF usable some time ago. @rasamassen has recently done a lot of useful work to cover many missing areas. Since who knows when those changes will be merged, I intend to incorporate much of that work. I will do this with several pushes, each based on one or more of those changes. This one is based on PR PHPOffice#2838.
Based on PR PHPOffice#2806 by @geo-fret. Fix PHPOffice#2795 (which also requests ico, but geo-fret believes that isn't supported in docx).
They can all be null in addition to bool. This addresses the problem in issue PHPOffice#2118.
Adapted from PR PHPOffice#2862 by @ger82. Corrected some errors (Word2007 should not write 2 `w:u` entries when `underlineColor` is specified, Html needs to be more careful about when to prepend `#`). Added read support for Word2007 and Html. Add RTF Reader support for various underline styles. RTF Reader does not appear to support colors at all; that will have to be the subject of another PR. ODText Reader does not appear to support any styles; that will have to be the subject of at least one far more complicated PR.
Apply colors to Font color, fgColor, and underlineColor.
Apply font names correctly. Also, font size needs to be divided by 2.
Also, langId for Slovenian was wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants