FROM : Keith Blount
DATE : Wed Dec 01 20:52:28 2004
Hello,
I was wondering if anybody knew of a good way of
saving RTFD data from an NSTextView in a format that
can be read with all the bells and whistles in
Microsoft Word. I am surprised that Word doesn't just
import RTFD files, but as it doesn't, things are
difficult.
I know I can use docFormatForRange:documentAttributes:
to save in Word .doc format, or I can save as RTF or
TXT very easily, all formats that Word recognises.
However, none of these techniques save attachment data
such as pictures - docFormatForRange:... only saves
much the same as RTF data, and seems fairly
rudimentary at the present. (I wonder if this will be
improved in Tiger?)
A quick justification for why I want this: I am
writing a text editing program aimed at writers, but
it is not meant to be a fully-fledged Word Processor.
So it needs to be able to export in formats that the
most popular WPs can import for writers to make any
final alterations such as advanced formatting. More
importantly, there's a good chance that users will
e-mail their work to publishers using PCs, so a
cross-platform format that can store all picture data
etc is essential.
Many thanks in advance for any tips,
all the best,
Keith
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
DATE : Wed Dec 01 20:52:28 2004
Hello,
I was wondering if anybody knew of a good way of
saving RTFD data from an NSTextView in a format that
can be read with all the bells and whistles in
Microsoft Word. I am surprised that Word doesn't just
import RTFD files, but as it doesn't, things are
difficult.
I know I can use docFormatForRange:documentAttributes:
to save in Word .doc format, or I can save as RTF or
TXT very easily, all formats that Word recognises.
However, none of these techniques save attachment data
such as pictures - docFormatForRange:... only saves
much the same as RTF data, and seems fairly
rudimentary at the present. (I wonder if this will be
improved in Tiger?)
A quick justification for why I want this: I am
writing a text editing program aimed at writers, but
it is not meant to be a fully-fledged Word Processor.
So it needs to be able to export in formats that the
most popular WPs can import for writers to make any
final alterations such as advanced formatting. More
importantly, there's a good chance that users will
e-mail their work to publishers using PCs, so a
cross-platform format that can store all picture data
etc is essential.
Many thanks in advance for any tips,
all the best,
Keith
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

