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

Example of exporting sheet to pdf #60

Closed
davidlam-at-home opened this issue Aug 3, 2021 · 4 comments
Closed

Example of exporting sheet to pdf #60

davidlam-at-home opened this issue Aug 3, 2021 · 4 comments

Comments

@davidlam-at-home
Copy link

Hi @devlights your work look very useful. Would you be interested in creating an example for exporting a sheet to a pdf file?

Currently I am using python, similar to what is in
https://www.geeksforgeeks.org/convert-excel-to-pdf-using-python/

But I don't usually use python. It would be neater to do everything in go.

Thanks for reading.

@devlights
Copy link
Owner

Hi. Thanks for your comment. I'll try to prepare an API when I have time. In the meantime, I'll create an issue. 😃

@davidlam-at-home
Copy link
Author

Thanks @devlights you're the best!! 👍

@devlights
Copy link
Owner

@davidlam-at-home Here it is. (#62 )

https://github.com/devlights/goxcel/blob/master/examples/export_pdf/export_pdf.go

@davidlam-at-home
Copy link
Author

Thanks again @devlights this works better than my python version. The python version sometimes gets stuck when there is an existing excel.exe running, and this one doesn't have the problem.

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