Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reader: Each Text Run in the DOCX is being put into a new Paragraph #604

Open
gitdeepsix opened this issue Aug 26, 2015 · 0 comments
Open

Comments

@gitdeepsix
Copy link

gitdeepsix commented Aug 26, 2015

Hello,

When the library simply reads in a Word DOCX and just writes it out again, the output DOCX appears to have each Text Run from the original DOCX inside a new Paragraph.

e.g.
<w:r><w:rPr/><w:t xml:space="preserve">XYZ </w:t></w:r>
in the original input,becomes
<w:p><w:r><w:rPr/><w:t xml:space="preserve">XYZ </w:t></w:r></w:p>
in the output.

Even when I take a very simple example, this seems to happen - i.e. I feed the DOCX output of Sample_01_SimpleText.php into Sample_11_ReadWord2007.php .

Does anyone else find this problem, and/or know why it might be doing this?

Thanks!


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant