cocoams-wordms-officeexport-to-word

Exporting to MS Word in Cocoa?


Writing an application in Cocoa that will take input from the user, format it appropriately, and then export it to MS Word. Are there any references or built-in libraries available regarding how to go about this?


Solution

  • Yes, you can use -docFormatFromRange:documentAttributes: from NSAttributedString to do this. See Apple's documentation here.