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

Render elements instead of whole pages #3

Open
tuxiqae opened this issue Sep 12, 2021 · 5 comments
Open

Render elements instead of whole pages #3

tuxiqae opened this issue Sep 12, 2021 · 5 comments

Comments

@tuxiqae
Copy link

tuxiqae commented Sep 12, 2021

Do you think that it'd be possible to loop through the elements in the PDF in order to create matching elements in the DOCX version without using an image of the page?

@MikeWalrus
Copy link
Owner

I am not sure but isn't this something that MS Word or Adobe Acrobat does when converting PDFs?

@tuxiqae
Copy link
Author

tuxiqae commented Sep 12, 2021

When converting DOCX to PDF maybe, do they provide a way to convert PDFs into DOCX files?

@MikeWalrus
Copy link
Owner

Yes, I think they both provide such functionality. I remember you'll get editable DOCX files, and the structures are roughly the same as the PDF but look kind of ugly.

@tuxiqae
Copy link
Author

tuxiqae commented Sep 12, 2021

So maybe it'd be possible to move that functionality outside of those proprietary apps into your independent app.
Maybe it'll even be possible to make it perform better.

@MikeWalrus
Copy link
Owner

MikeWalrus commented Sep 12, 2021

Oh, there's pandoc as well. It's free software and does a good job. That's a real solution you can rely on, while I consider my docx-you-want as some sort of hack you can use once in a while or just for fun. 🤣

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

No branches or pull requests

2 participants