Article View: adobe.scripting.indesign
Article #17545Re: [VB] Search & replace styles
From: Jens Schulze
Date: Wed, 28 May 2003 08:01
Date: Wed, 28 May 2003 08:01
11 lines
1413 bytes
1413 bytes
"Mouschi S." wrote: > (2) find every instance of a paragraph having a paragraph style > named "spit" and replace it with a paragraph style named "wine." > (3) Do variations on (2) for other named paragraph styles up to 7 times. First iterate on all text frames in the document, then iterate on the TextStyleRanges in this specific text frame, and check each style in each range, and replace it if neccessary. Jens
Technical Details
Message-ID:
<7FF4A9A8C33345B7488D6D5DA4FF0A62@in.WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de94b2d.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,c9ddfff45f26329f X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-28 01:09:20 PST From: "Jens Schulze" <adobeforums@trickbetrueger.org> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: [VB] Search & replace styles Message-ID: <7FF4A9A8C33345B7488D6D5DA4FF0A62@in.WebX.la2eafNXanI> Date: Wed, 28 May 2003 01:01:18 -0700 References: <1de94b2d.-1@WebX.la2eafNXanI> Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit