I wrote:
> > How can you import styled text from an MS Word document to a Metacard
> > field and vice versa while keeping the styles intact?
>> I do this in HyperCard using RTF (rich text format).
Sjoerd Op 't Land wrote:
> I do it like this: I save a Word document as HTML, and set the
>htmlText of a field to that file:
>
> on mouseUp
> ask "The name of the field:"
> put it into mFieldName
> answer file "Open HTML doc:"
> if the result is "Cancel" then exit mouseUp
> set the htmlText of field mFieldName to the htmlText of field mFieldName
>& url ("file:" & it) -- so that you keep earlier (formatted) contents of the
>field
> end mouseUp
Thanks,
I tried it using an Internet Explorer document saved as html. I can
see where it would work for me with some tweaking.
However, just as I am still using HyperCard, I am also using Word 5.1
for the Macintosh. It doesn't recognize html. I got Word 98, but
discarded it. I will get it out and experiment.
Sigh, the world changes.
Bruce
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.