Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open and read Excel from a Linux based C program?

Tags:

c

linux

excel

I am trying to locate a set of source code that would allow me to open and read the contents of an Excel file on Linux from within a C program.

I dont really want to link it to OpenOffice SDK if I can find something that just does these two things.

carl

like image 886
Carl Silva Avatar asked Feb 24 '09 21:02

Carl Silva


2 Answers

If following suites you, then You may take read routines from

Sourceforge

and write routines from

What is a simple and reliable C library for working with Excel files?

like image 177
lakshmanaraj Avatar answered Oct 19 '22 23:10

lakshmanaraj


As far as I know there is no library that does this. The common method is always to save the file as CVS in Excel, although then markup etc. is lost.

You could try to use the Excel plugin of Gnumeric:

http://svn.gnome.org/viewvc/gnumeric/trunk/plugins/excel/

It works very well (inside gnumeric).

like image 40
ypnos Avatar answered Oct 19 '22 23:10

ypnos