how to open a specified word document using carbon c?

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

  1. chidambaram macrumors member

    Joined:
    Mar 9, 2008
    #1
    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

    kainjow

    Joined:
    Jun 15, 2000
    #2
    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

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #3
    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