Possible Duplicate:
Reading a .doc (MSWord) file in ObjectiveC?
I am writing a printing application that supports to select image and send over Internet for ePrinting.
My client is asking whether it is possible to open MS Word and select/extract some image for above printing method
Is there any way to open MS Word document in my application ? OR is there any third-party (paid is not a problem) for opening and extracting pages in MS Word ?
Thanks.
Take a look at the QuickLook.framework. That can read all MS Office formats. Also can print from a supported AirPrint printer.
Your best bet would be to export to PDF, and utilise some image extraction from there.
Useful libraries for this (check which work on iOS)
There is an open source library called wordview, which you might want to take a look at. It is for MS Word formats up to Word 2000. The newer ones are XML-ish anyway, so you can probably parse them yourself using any XML reader you like.
Update: Notice that the license for this library is GPL. Not sure if that is compatible with your requirements.
Update 2: The wv2 branch seems to be LGPL, so it should fit all purposes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With