Re: Converting RTFD to Word with embedded images
Re: Converting RTFD to Word with embedded images
- Subject: Re: Converting RTFD to Word with embedded images
- From: Buddy Kurz <email@hidden>
- Date: Mon, 15 Jul 2013 11:41:57 -0700
I have no problem with the RTFD format.
The document is a bundle containing TXT.rtf and any attachment files.
The attachments are referenced in the rtf file with {\NeXTGraphic …} tags.
I am creating the documents I am trying to convert by starting with RTF and adding the graphics.
I was trying to avoid learning about the insides of a Word document.
I would rather leverage existing APIs if they exist.
thanks...
On Jul 15, 2013, at 10:52 AM, Jeffrey Oleander wrote:
>
> On 2013 Jul 15, at 13:06, Kyle Sluder wrote:
>
>> On Jul 15, 2013, at 8:59 AM, Buddy Kurz <email@hidden> wrote:
>>
>>>
>>> Pages can export to Word with the attachment. Why can't I?
>>
>> Pages probably doesn't use NSString's Word exporter.
>>
>> What happens if you use TextEdit?
>
> What is RTFD format? It's a directory, with an RTF file with references to the image files in its extended rtf tags, isn't it? (Sometimes I suddenly find an old, untouched RTFD "file" that doesn't want to open up in TextEdit as rtfd anymore, i.e. the images are no longer recognized as embedded.) Anyway, rtf tags are fairly simple to humanly read and figure out, though it's not really a "standard". Then the trick becomes parsing out how MSFT does it when you save one of their files with embedded images as rtf... or are they calling it rtfx or some such, now? Make your "file" be "the same" and MSFT should import it.
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden