How to convert html to doc in Objective-c
I have a problem to discuss with you that i want to convert html to doc in
objective-c and i have already convert html to rtf but don't know how to
convert from html to doc. This is my small code for converting from html
to rtf
var comStr="";
var result="";
for (var i in color_array) {
var txt_new =rtf_colorarray[i];
comStr+=txt_new +';';
var colortbl_text='{\\colortbl ;';
}
rtf_format_text1= colortbl_text+comStr+'}';
//alert(""+);
////////////////font faimly
var font_array = [ 'font-family: Arial',
'font-family: Courier',
'font-family: Georgia',
'font-family: Helvetica',
'font-family: Verdana',
'font-family: Times New Roman',
'font-family: BaskerVille',
];
var rtf_fontarray = [ 'fcharset0 Arial;',
'fcharset0 Courier;',
'fcharset0 Georgia;',
'fcharset0 Helvetica;',
'fcharset0 Verdana;',
'fcharset0 Times New Roman;',
'fcharset0 BaskerVille;'
];
any help would be most appreciable.....
No comments:
Post a Comment