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

problem while importing ODT with text in table #2149

Open
vvasil3v opened this issue Oct 4, 2021 · 0 comments
Open

problem while importing ODT with text in table #2149

vvasil3v opened this issue Oct 4, 2021 · 0 comments

Comments

@vvasil3v
Copy link

vvasil3v commented Oct 4, 2021

Hello,
i am trying to extract the text and images from an ODT file .

$phpWord = \PhpOffice\PhpWord\IOFactory::load($source, 'ODText'); $objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'HTML'); ob_start(); $objWriter->save("php://output"); $document = ob_get_clean(); print_r($document);

All the text in this document is in one table. If i write some text outside the table - it is ok.
please let me know if this can be resolved.
Thank you !

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

No branches or pull requests

1 participant