🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18835

Re: Find Style Changes

#18835
From: Dave Saunders
Date: Thu, 20 Feb 2003 17:26
9 lines
1496 bytes
OK, now I see. Tough challenge.

Well, what I said at first is what you need to do: look at every text style range and then compare the properties with the underlying paragraph style properties (modified by any character style that might be in effect) -- not pretty, but a lot quicker than looking at every character.

You might do best to convert the property lists to strings and save the strings off to two files (one showing what is supposed to be there and one showing what is there, each on a text style range by text style range basis) and then use file comparison to look for differences in the restulant files.

Sorry, but I don't think I can be much more help, except to recommend text style ranges to you. They can save a lot of processing time.

Dave
Technical Details
Message-ID: <1de7f076.6@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!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 09:38:44 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Find Style Changes
Message-ID: <1de7f076.6@WebX.la2eafNXanI>
Date: Thu, 20 Feb 2003 09:26:17 -0800
References: <3E54B39E.8080606@comidoc.fr>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit