-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
IOFactory::load() destroys format - Can't read a document #969
Comments
I'm having the same issue, PHP 5.4. |
Got the same issue trying to save documents as PDF or HTML. IOFactory::load destroys formatting |
Excuse me, is this problem settled? |
should be, in the dev branch at least. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe I'm just missing something basic like an extension or something, please help:
Here's a pastebin with the dump of my
$ php -i
Step to reproduce
1.1 [Optional] Checkout your favorite version, I tried 0.13 and 0.12
$ cd samples
$ php Sample_11_ReadWord2007.php
(with php 5.6.27 here)$ open results/Sample_11_ReadWord2007.docx
Expected Results
The opened document maintains the same formatting (spaces, breaklines, etc) as the original one:
![screen shot 2016-12-23 at 08 23 21](https://cloud.githubusercontent.com/assets/22173137/21454770/2eeee8f0-c8e9-11e6-8542-ee17730d3c89.png)
Actual Results
The text was updated successfully, but these errors were encountered: