RTF cut and paste problem

R

rosmord

Hello,

I'm writing a software in java which uses RTF as a medium to cut and
paste data into word (and others). The RTF contains pictures in
macpict (quicktime) format.

On MacOS X, with the latest version of word, the cut and paste works
apparently fine, and the result appears in word . I had, however a
problem importing the result to indesign, and, looking at the result
file once saved by word in another RTF file, it appears that a
spurious "0" byte had been added at the end of my included picture (it
wasn't in the original data). Suppressing it allowed the picture to be
included in indesign.

Now, I'd like to know if word has some specific requirement as to any
RTF data it might receive from the clipboard, especially as far as
vector pictures are concerned.

Best regards,

S. Rosmorduc
 
J

John McGhie [MVP Word, Word Mac]

Hi Rosmord:

The answer is "Yes" :)

If you want a more helpful answer than that, you are going to have to obtain
a copy of the Microsoft Word Binary File Format specification and the
Microsoft RTF specification. The RTF Specification is a publicly-released
document. I believe you can get it from the MSDN Website at Microsoft. The
Binary File Format is proprietary: you would have to write to Microsoft
requesting access to it and sign an NDA.

I have posted a query to the developers for you: but they're going to say
much the same thing if they answer at all.

Cheers

--

The question you are about to ask has probably already been answered at
http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Sydney, Australia. GMT + 10 Hrs
+61 4 1209 1410, mailto:[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top