News for hackers. Stuff that matters.
Re:Open-source Libraries for Working with Open XML Documents... by FigBug on Thursday June 26, 2014 @03:08PM (#7951103)
So far this looks Windows only. I'm currently using LibXL (http://www.libxl.com/) to generate Excel documents. Anybody know of any other cross platform alternatives?
Re:Open-source Libraries for Working with Open XML Documents... by sheetjs on Thursday June 26, 2014 @03:17PM (#7951148)
Shameless plug: we are working on a javascript solution.

XLSX/XLSM/XLSB reader/writer: https://github.com/SheetJS/js-xlsx

XLS(BIFF8)/XML(2003-4) reader: https://github.com/SheetJS/js-xls

In-browser reader demo: http://oss.sheetjs.com/

In-browser writer demo: http://tokuhirom.github.io/js-xlsx-demo/

--

Some other alternatives:

Python xlrd https://github.com/python-excel/xlrd , xlwt https://github.com/python-excel/xlwt , XlsxWriter https://github.com/jmcnamara/XlsxWriter

Java POI https://poi.apache.org/

Re:Open-source Libraries for Working with Open XML Documents... by kevingadd on Thursday June 26, 2014 @03:38PM (#7951257)
I don't see any reason why it would be Windows only. All the code appears to be spec-compliant C# that doesn't use P/Invoke to call native modules or rely on C++/CLI. The only sticking point I see is the PowerShell script, and that's pretty trivial to replace since it's just a build script (you could use xbuild/msbuild, since mono supports that, or just use make)
Re:Open-source Libraries for Working with Open XML Documents... by clxl on Thursday June 26, 2014 @03:40PM (#7951263)
https://github.com/OfficeDev/Open-XML-SDK/pull/3 suggests that there are issues with use in mono
Re:Open-source Libraries for Working with Open XML Documents... by mattkrea on Thursday June 26, 2014 @09:14PM (#7952349)
I like that MS is attempting to take a big step into FOSS but having dependencies on their OS and their build environment is reason enough for me to dismiss this stuff. Thanks for generating some interest in the truly free libs out there.
Re:Open-source Libraries for Working with Open XML Documents... by cschmidt on Thursday June 26, 2014 @04:36PM (#7951469)
In python, I've had great luck with XlsxWriter

http://xlsxwriter.readthedocs.org/

Re:Open-source Libraries for Working with Open XML Documents... by dtbx on Thursday June 26, 2014 @06:15PM (#7951828)
Make a html, embed the images in base64 using mhtifier.py, and rename the html as doc. Word will open it without problems.

Further instructions:

http://sebsauvage.net/wiki/doku.php?id=word_document_generat...

Re:Open-source Libraries for Working with Open XML Documents... by darkstalker on Thursday June 26, 2014 @05:56PM (#7951766)