Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can an OpenOffice document be created in C++ [duplicate]

Possible Duplicate:
Creating, opening and printing a word file from C++

Hi,

I need to create a word document from a c++ program, Im using windows 2008 server,office automation fails sometimes here and also I need non interactive service to handle as automation provides interactive service.I've implemented automation it fails sometimes

What are the ways I can create openoffice / word doc?

can you please suggest me any links or tutorials to do the above.

PS - I came to know about couple of methods 1.Openoffice SDK 2.OpenXML SDK

If you have worked with the above please suggest me which of the above to use.

Thanks in advance

like image 537
Greenhorn Avatar asked Feb 04 '26 13:02

Greenhorn


1 Answers

Here's a newly released C library called libOPC which has the same intent as the Open XML SDK, but can be used in all of Linux/Windows/Mac/etc. You can read about it here: libOPC version 0.0.1 released and get the code from CodePlex (be sure to check the documentation page for demo videos).

like image 131
Todd Main Avatar answered Feb 06 '26 01:02

Todd Main