Converting RTFD to Word with embedded images

2013-07-15 Thread Buddy Kurz
I am trying to find the magic incantation to take an .RTFD document with a jpg attachment and convert it to a .DOC document. (in code) My first lazy thought was to use textutil -convert doc mydocument.rtfd This does not work. (10.7.5) It creates a perfect good Word document without the image.

Re: Converting RTFD to Word with embedded images

2013-07-15 Thread Kyle Sluder
On Jul 15, 2013, at 8:59 AM, Buddy Kurz buddyk...@mac.com 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? --Kyle Sluder ___ Cocoa-dev mailing

Re: Converting RTFD to Word with embedded images

2013-07-15 Thread Jeffrey Oleander
On 2013 Jul 15, at 13:06, Kyle Sluder wrote: On Jul 15, 2013, at 8:59 AM, Buddy Kurz buddyk...@mac.com 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

Re: Converting RTFD to Word with embedded images

2013-07-15 Thread Buddy Kurz
textEdit only allows Rich Text Format with Attachments or Web Archive when there is an image in the document. That could suggest that this is not supported. I am hoping that is not the case. On Jul 15, 2013, at 10:06 AM, Kyle Sluder wrote: On Jul 15, 2013, at 8:59 AM, Buddy Kurz

Re: Converting RTFD to Word with embedded images

2013-07-15 Thread Buddy Kurz
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

Re: Converting RTFD to Word with embedded images

2013-07-15 Thread Scott Ribe
On Jul 15, 2013, at 12:41 PM, Buddy Kurz wrote: I was trying to avoid learning about the insides of a Word document. Good move. Doing that would probably take the rest of your life. Seriously. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice

Re: Converting RTFD to Word with embedded images

2013-07-15 Thread Buddy Kurz
We were all put on this Earth to accomplish a certain number of things during our lifetimes and right now I am so far behind I am never going to die. ;-) On Jul 15, 2013, at 12:28 PM, Scott Ribe wrote: On Jul 15, 2013, at 12:41 PM, Buddy Kurz wrote: I was trying to avoid learning about the