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?
+5
A:
Yes, you can use -docFormatFromRange:documentAttributes:
from NSAttributedString
to do this. See Apple's documentation here.
Johan Kool
2009-11-28 08:06:17
Awesome. Thanks a lot!
Kaji
2009-11-28 08:18:50
A:
It somewhat depends on what you are trying to achieve, but you can use Applescript to control MS Word such as creating new documents, inserting text into a document etc.
Ian Turner
2009-12-04 06:05:39