开发者

RTF <-> RTFD anyone? How to display RTF with embedded images (Windows) in NSTextView on a Mac and vice versa?

I have some RTF data shared between Windows and Mac. I use RichEdit control to edit this data for Windows and so if user inserts some images, I get the RTF with embedded images.

Now I need to display (and edit) this data on a开发者_C百科 Mac, but NSTextView supports only RTFD (rtf with attachments) and just skips embedded images.

What is the proper way to convert RTF with images (Windows) to RTFD (Mac) and vice versa? Has anybody done this before?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜