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

Can you give me a script to generate a DOCX file from the PDF file? #2372

Open
richardsonoge opened this issue Jan 23, 2023 · 1 comment
Open

Comments

@richardsonoge
Copy link

My goal is to translate several PDF files without losing the whole document format. To do this, I want to convert them to DOCX file in order to translate them and then convert them to PDF again.

Can you make me a script that will help me to convert them to DOCX and then convert them to PDF?

@SarahTrees
Copy link
Contributor

PHPWord is a library for reading and writing word processing documents.
To read PDF you need a pdf processing library.
https://stackoverflow.com/questions/61184098/reading-pdf-file-with-phpword-library

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

No branches or pull requests

2 participants