🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1712

Re: Javascript to iterate over every cell in a table

#1712
From: Kevin_Bird
Date: Tue, 27 Jan 2009 16:43
14 lines
1379 bytes
Hi Peter & Dave

Yes, targeting Indesign resolved the problem.

Having run the script I can now see how Indesign renders the table, and yes, I have cellstyle rule conflicts.

So, I see two work rounds. One, re-jig my cellstyles so there are no conflicts (see note below), or two, write a script that re-applies cellstyles to only styles that contains rules.

Note: My table has 10 columns, the last row has one cell which spans all 10 columns and a rule is applied to the top of the cell. Applying the left-to-right top-to-bottom render, this rule should span across all 10 columns (as it is applied to the top of the spanned row), but only applies itself to the top of the first column, leaving the other nine blank. Any ideas?

Kind regards.

--
Kevin
Technical Details
Message-ID: <59b7b20d.4@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b7b20d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,1dcd16a2120b1ad6
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kevin_Bird@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Javascript to iterate over every cell in a table
Message-ID: <59b7b20d.4@webcrossing.la2eafNXanI>
Date: Tue, 27 Jan 2009 08:43:16 -0800
References: <59b7b20d.-1@webcrossing.la2eafNXanI>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit