Xref: utzoo comp.text.desktop:1348 comp.text:7380 comp.sys.dec:4210 comp.unix.ultrix:4837 Path: utzoo!attcan!uunet!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!ryn.esg.dec.com!uninet!uninet.dec.com!morris From: morris@uninet.dec.com (Tom Morris) Newsgroups: comp.text.desktop,comp.text,comp.sys.dec,comp.unix.ultrix Subject: Re: Importing documents in DECwrite / FrameMaker Message-ID: <1990Oct8.143230@uninet.dec.com> Date: 8 Oct 90 14:28:50 GMT References: <1990Oct3.184114.22869@Matrix.COM> Sender: news@uninet.vbo.dec.com Reply-To: morris@casee.enet.dec.com Followup-To: comp.text.desktop Distribution: comp Organization: Digital Equipment Corporation, Valbonne, France Lines: 34 Path: uninet.dec.com!morris Newsgroups: comp.text.desktop,comp.text,comp.sys.dec,comp.unix.ultrix,mail.framers Distribution: comp References: <1990Oct3.184114.22869@Matrix.COM> From: morris@uninet.dec.com (Tom Morris) Message-ID: <1990Oct8.142137@uninet.dec.com> Reply-To: morris@casee.enet.dec.com Organization: Digital Equipment Corporation, Valbonne, France Subject: Re: Importing documents in DECwrite / FrameMaker |> What I need is a way to tell DECwrite that it must apply specific |> styles to the paragraphs while loading the document. (The load |> document is generated automatically and I can control what is |> generated, and how.) I think this can be done with a suitable CDA |> converter, but I don't have any experience with writing one. Without knowing what kind of document format you are trying to import into DECwrite it is hard to be specific, but I can think of two other possibilities in addition to the CDA Converter Library mentioned by Jim Gettys. The first possibility is to look for a CDA converter from someone other than Digital if the converter you need isn't in the Digital converter library. The second possibility is to use DECwrite's macro facility to apply search for markup tags in the imported document, delete them, and then apply the relevant style to the element. This will obviously only will work if you document has easily identifiable markup or you can generate the same, but it is a technique that I know several people have used successfully. -- Tom Morris morris@casee.enet.dec.com Digital Equipment, Centre Technique Europe S.A.R.L DTN 828-5729 B.P. 129 - Sophia Antipolis Tel. +33 92 95 57 29 06561 Valbonne Cedex - France Fax +33 93 65 41 58