CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2008
    Location
    india
    Posts
    53

    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.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

  3. #3
    Join Date
    Nov 2008
    Location
    india
    Posts
    53

    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.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: Reading Excel and Word files

    Quote Originally Posted by lok.vikram View Post
    ... 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!
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured