Reading Excel and Wrod files
Hi All,
I need to develop a command line
application to convert .xls and .doc files in to .odf(open document format) file.
I am wondering how to i read .xls files.
Please cal any body tell me using pure c ++ win32 (without mfC and ATL and managed )is it possible to do it.
If possible than provide me infor regarding how to read .xls file and win Api required to fo it.
Re: Reading Excel and Wrod files
Re: Reading Excel and Word files
Hi Victor,
Thanks for your valuable information.
but the problem this application needs to be run on both windows and linux.
as this appication will convert xls,doc.,ppt,odt,ods(open office files for both linux/windows) and pdf,wordstar in to odf format.
client want application in pure C++ without using COM/MFC .
though nobody will open word/excel file on linux platform but it would good to have neutral code that will run on both system.
Is there any way to read binary excel file than retrive the information accroding to format given in the following site.
what you have suggested that i have kept that as last option,by maintaning switch (compiler directive the code for linux and windows)
I have found excel file format.
http://download.microsoft.com/downlo...cification.pdf.
Re: Reading Excel and Word files
Quote:
Originally Posted by
lok.vikram
... but the problem this application needs to be run on both windows and linux.
as this appication will convert xls,doc.,ppt,odt,ods(open office files for both linux/windows) and pdf,wordstar in to odf format.
client want application in pure C++ without using COM/MFC ...
In this case you should have asked it in the C++ (Non Visual C++ Issues) Ask or answer C and C++ questions not related to Visual C++. This includes Console programming, Linux programming, or general ANSI C++. forum.
Nevertheless, I am glad that you have found the excel file format description! :)