We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I am trying to load 97-2003 MS Word documents but the following error keeps showing up.
Following is simply an adaptation of the code provided in the Sample_11_ReadWord97.php file:
$source = "OldDoc.doc"; echo "Reading document ".$source."<br><br>"; if(str_contains($source, '.docx')) $phpWordObj = IOFactory::load($source); elseif(str_contains($source, '.doc')) $phpWordObj = IOFactory::load($source, 'MsDoc'); echo "Document reading complete";
I am using Laravel 5.1 and docx files seem to load just fine. Any idea where I might be going wrong with this?
The text was updated successfully, but these errors were encountered:
Library has bug in this place https://github.com/PHPOffice/PHPWord/blob/v0.12.1/src/PhpWord/Reader/MsDoc.php#L144
class OLERead hasn't property documentSummaryInformation. It rename in this commit 90d64bd
You have four way to solve this problem:
Similar topic:
#610 #503
Sorry, something went wrong.
fx issue PHPOffice#695
58e205b
See #503.
No branches or pull requests
Hello,
I am trying to load 97-2003 MS Word documents but the following error keeps showing up.
Following is simply an adaptation of the code provided in the Sample_11_ReadWord97.php file:
I am using Laravel 5.1 and docx files seem to load just fine. Any idea where I might be going wrong with this?
The text was updated successfully, but these errors were encountered: