🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18697

Re: Find Style Changes

#18697
From: Dave Saunders
Date: Thu, 20 Feb 2003 20:33
5 lines
1663 bytes
I was taking into account that text style ranges span more than one paragraph. A lot of processing time can be saved by taking that into account. It all depends on the complexity of the documents we're dealing with here. But there's no point in checking each paragraph individually if they're all formatted the same (is there)? You may need to record that information for each paragraph in a range.

And, I suppose, there's always the possibility that a series of paragraphs with different paragraph styles have been forced to the same local styling so that the delta to the underlying style is different for each, but I suspect that in this case ID will give a new text style range for each. Let me check that... Yes it does. I just created three paragraphs with the middle one in a different style from the other two, but then I forced everything to a common local style and I got three text style ranges.

Dave
Technical Details
Message-ID: <1de7f076.12@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <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 12:40:02 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!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.12@WebX.la2eafNXanI>
Date: Thu, 20 Feb 2003 12:33:32 -0800
References: <3E54B39E.8080606@comidoc.fr>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit