Bruce Lewis wrote/ schreef:
> 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). There are
> various XCMD's that people have written for that purpose. I believe
> Hugh Senior, who frequents this list, wrote one (though I don't use
> it.)
>
> Do these XCMD's work in Metacard? Is there some other way of doing it?
I don't know. 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.
>
> Bruce
Hope this helps,
Sjoerd
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.