Article View: adobe.scripting.indesign
Article #18837Re: Find Style Changes
From: Olav Kvern
Date: Thu, 20 Feb 2003 18:19
Date: Thu, 20 Feb 2003 18:19
11 lines
1292 bytes
1292 bytes
Laurent-- Dave is correct--use the TextStyleRange object. All you need to do to see if the paragraph has overridden formatting is to get the Paragraph.TextStyleRanges.Count property--if it's greater than 1, then you can be certain that the paragraph's formatting contains a local override. If it's equal to 1, then you can compare the properties of the first character with those of the paragaraph--you would do this because the local formatting might be applied to every character in the paragraph. Does that make sense? Thanks, Ole
Technical Details
Message-ID:
<1de7f076.7@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<3E54B39E.8080606@comidoc.fr>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,2b4b87c2e77bbd7 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-02-20 10:37:58 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Find Style Changes Message-ID: <1de7f076.7@WebX.la2eafNXanI> Date: Thu, 20 Feb 2003 10:19:09 -0800 References: <3E54B39E.8080606@comidoc.fr> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit