Skip to content

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

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.

3 participants