Skip to content

Create writer class for Word2003#1

Open
qisthidev wants to merge 2 commits intomasterfrom
cursor/create-writer-class-for-word2003-d5e7
Open

Create writer class for Word2003#1
qisthidev wants to merge 2 commits intomasterfrom
cursor/create-writer-class-for-word2003-d5e7

Conversation

@qisthidev
Copy link
Owner

Description

This PR introduces a new Word2003 writer class, enabling PHPWord to export documents to the .doc file extension.

The motivation behind this change is to provide compatibility with Microsoft Word 2003 and older versions. Given the complexity of the proprietary Word 97-2003 Binary File Format, this implementation adopts a widely used and practical HTML-based approach. The generated .doc files contain HTML content with Microsoft Office XML namespaces, which Word 2003 and later versions correctly interpret and open as native documents. This approach ensures maintainability and broad compatibility.

Fixes # (issue)

Checklist:

  • My CI is 🟢
  • I have covered by unit tests my new code (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes
  • I have updated the changelog

cursoragent and others added 2 commits July 2, 2025 07:37
Co-authored-by: dizzy.leaps_0f <dizzy.leaps_0f@icloud.com>
Co-authored-by: dizzy.leaps_0f <dizzy.leaps_0f@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants