Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!ucbvax!mtxinu!sybase!mercury!eallen From: eallen@mercury.sybase.com (Ed Allen) Newsgroups: comp.sys.mac.hypercard Subject: Re: Exporting Formatted Text from HC2.0 Message-ID: <12304@sybase.sybase.com> Date: 11 Apr 91 17:49:19 GMT References: <670568447.1@blkcat.Fidonet.Org> <1991Apr2.081825.17264@metro.ucc.su.OZ.AU> <13779@blia.sharebase.com> <18203@crdgw1.crd.ge.com> Sender: news@Sybase.COM Reply-To: eallen@mercury.UUCP (Ed Allen) Organization: Sybase, Inc. Lines: 48 In article <18203@crdgw1.crd.ge.com> leue@galen.crd.ge.com (Bill Leue) writes: >Other people have more or less said this, but just to make it explicit: >One way to export styled text from HC is to use of the text-only >markup file formats like RTF or SGML. I think that somewhere in the >byzantine Microsoft documentation is a guide to RTF format. > >Of course, you still have to decide how to map the styled text in >your fields into this format. That process should be amenable to >standard scripting techniques, the exact details of which are left >as an exercise for the reader :-) > >-Bill Leue >leue@crd.ge.com To get you started there is an RTF stack for old HyperCard that helped you with writing RTF codes into a field with the text and then exporting an RTF file. I found it in the BMUG software library, awhile back. You could develop this to read the style info from your styled text field and compose the RTF field. Ed Allen Eallen@sybase.com m a k e t h e l i n e c o u n t er happy.