Breaking News
Home / iOS / ObjectiveC / Creating MS Word Documents in iPhone using objective C

Creating MS Word Documents in iPhone using objective C


Question

I have created a Rich Text
Editor in UIWebview. My requirement is to save this text in .doc word
file. How to achieve this. I am getting html content by using

NSString *strWebText = [webView stringByEvaluatingJavaScriptFromString:@”document.body.innerHTML”];

Now how can I proceed further to convert it in .doc format? Or is there
any javascript function to convert text or save text to .doc file?

[pb_builder]

Check Also

How to print NSDictionary in Objective C?

Solution NSDictionary *dict = nil; dict = [NSDictionary dictionaryWithObject: @"1" forKey: @"one"]; // method 1 for(NSString *key in dict) {    NSLog(@”key : %@”,key);  …

Advertisment ad adsense adlogger