how to open a specified word document using carbon c?

Discussion in 'Mac Programming' started by chidambaram, Aug 7, 2008.

  1. chidambaram macrumors member

    Mar 9, 2008
    hi all,

    I am working in MAC machine (Version 10.4.7)

    I want to open a specified word document using carbon c?

    How can i do this?

    Thanks in advance.
  2. kainjow Moderator emeritus


    Jun 15, 2000
    Are you trying to open the document with a given path, or a path chosen by the user? If so, you could check out any of the LSOpenXXX() functions provided by Launch Services.
  3. Cromulent macrumors 603


    Oct 2, 2006
    The Land of Hope and Glory
    Do you mean a Microsoft Word document? If so you need to know the file format and then parse the file to get the proper data back. I'm not sure if Microsoft make the file format public or not, you could always look at the NeoOffice source code I guess for details.

Share This Page