DocSpring / libreconv

Ruby gem that converts office documents to PDF using LibreOffice / OpenOffice.
MIT License
198 stars 63 forks source link

Support converting to other file formats. #11

Closed daneshd closed 9 years ago

daneshd commented 9 years ago

Figured this may be useful to others as I need it now. It's meant to allow you to pass the same kind of options to --convert-to output_file_extension[:output_filter_name]. I've never actually used the output_filter_name bit but I tested it and it works fine.

I'm not the biggest fan of the ordering of the convert_to param coming after the soffice_command param but I figured it would be better not to break existing implementations.

ricn commented 9 years ago

Thanks! I have merge the pull request to master now. I don't have time to maintain this project anymore because I have moved to using Elixir instead of Ruby. Do you mind if I add you as an collaborator to this project so you can continue the development?

daneshd commented 9 years ago

Honestly I don't think I'd have time for it either. I just happened to need HTML conversion instead and decided it would be easy enough to modify.

I'm not entirely sure how to build and deploy gems even.

Thanks for merging everything in!

ricn commented 9 years ago

Ah ok, I understand. I have pushed a new version (0.9.1) to Rubygems with your changes.

daneshd commented 9 years ago

Amazing, thanks!