Hi,
I just wrote some code to export an attributed string to a HTML file
wrapper, with images within a folder. It works fine, except the image
URLs in the HTML are invalid; they are just "file:///" and the image
name. Omitting that prefix would make them valid relative URLs. How
can I
On 16 May '08, at 3:42 AM, [EMAIL PROTECTED] wrote:
NSAttributedString*textValue = [[NSAttributedString alloc]
initWithString: [self messageField]];//where messageField returns
string.
That's going to produce an attributed string with no text styles at
all, because all you gave it was
hi,
I've to convert text or image to its corresponding html code.
i've done
setContentType: @"text/html";
setContentTransferEncoding:None;
setCharset: @"us-ascii"
NSDictionary*attr = [NSDictionary
dictionaryWithObject:NSHTMLTextDocumentType
forKey:NSDocumentTypeDocumentAttribute];
NSAtt