What's the best way to generate Microsoft OOXML (docx) from a Ruby on Rails app?
I'm guessing it's not using ruby.
At the moment we use the rtf gem (http://rubygems.org/gems/rtf) to generate a document that can be completed from Microsoft Word. The document includes multiple header types, tables, and a few images.
but the RTF extensions we use to build tables and images are MSWord specific. Using OOXML, we'll get better compatibility with Word and also other apps. Unfortunately ODS is not an option, as there's an intention to use an ooxml-based iPad editor as well.
Also, it should be noted this would not be served off a Windows host, and therefore the relevant win32/.net libraries are not available.
I agree with Michael, but since that question was asked I've had to implement this myself and wrote up some notes that might help
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With