Skip to content

Conversation

oleibman
Copy link
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

coveralls commented Feb 6, 2024

Coverage Status

coverage: 96.996% (+0.2%) from 96.757%
when pulling 7cac06e 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.
Couldn't resolve a good version for mpdf.
Dompdf (temporary till 8.5-compatible release available), `chr` in Reader/MsDoc, `setAccessible` in AbstractStyleTest.
Sample_11_ReadWord2007 reads a file with color=auto, and RTF Writer doesn't handle it properly. Change to treat it as black.
Still not out of the woods.

Write to Docx and Odt are fine.

Write to RTF and HTML are fine only if they follow write to ODT.
RTF now works.

In the process of saving, ODText creates a lot of new styles. Because it was being done before RTF and HTML in the samples, it was masking problems in the other formats. It is now changed to happen after the other formats.
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.

2 participants