PHPOffice / PHPOffice/PHPWord

While read .doc files text is broken or cropped.

Open
#1,237 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
7.6k
Forks
2.7k
Avg merge
4d 13h
Merged PRs (30d)
15

Description

This is:

  • a bug report

Expected Behavior

While open and read .doc file, text is broken and cropped.

How to Reproduce

Create .doc file from MS Office, or save .doc from sample on github, and try to save to Word2007

Context
  • PHP version: 5.6.30
  • PHPWord version: 0.14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the problem with a .doc file created in MS Office or the linked sample, then trace the .doc reading and Word2007-saving paths. Done means the text is preserved without being broken or cropped.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
content
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.