Article View: adobe.scripting.indesign
Article #20067Re: basedon para graph
From: Dave Saunders
Date: Wed, 06 Nov 2002 12:46
Date: Wed, 06 Nov 2002 12:46
13 lines
1793 bytes
1793 bytes
Ah, now I see what you're trying to do, I'm not so sure that the template soluton works. The point about the template is that it contains the paragraph styles that you want from the start. But if you don't know what they are at the start, then you indeed have to do the hard work in the script. But, since you're importing these styles (or seem to be) there does seem to be some place where the styles exist. Why can't that document serve as a template? Another lateral thought (which works if the target document starts out with no styles): Rather than import the styles in the manner you're doing it, why not, in the document that has the styles, create a story that has a paragraph with each style assigned to it (including character styles) and then copy and paste that into your target document? Seems to me that this would be a lot easier. The pasting will import all the styles, then you can delete the story and you're where you wanted to be. Dave
Technical Details
Message-ID:
<1de67a3f.2@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de67a3f.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,5b39f617248c4a89 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-06 05:34:54 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: basedon para graph Message-ID: <1de67a3f.2@WebX.la2eafNXanI> Date: Wed, 6 Nov 2002 04:46:29 -0800 References: <1de67a3f.-1@WebX.la2eafNXanI> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit