🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17099

(AS) ID crashes on "get contents"/"get properties" of anempty table cell

#17099
From: Shane Stanley
Date: Fri, 04 Jul 2003 22:49
24 lines
1745 bytes
On 5/7/03 12:01 AM +1000, Oleg Krapilsky, oleg_krapilsky@nm.ru, wrote:

> (AS) ID crashes on "get contents"/"get properties" of an empty table cell.
> 
> That's it. No error messages. It just quits. Any ideas on where I should start
> looking? 

I thought it only happened if there is some text in the cell, but it is all
in overset. 

There are two workarounds:

If you want all the text, including overset, use: "contents of parent story
of every cell".

If you want only the visible text, you have to first check for the
possibility of an all-overset cell with something like: "baseline of
character 1 of parent story of every cell". If that does not throw an error,
you're safe. If it does, you need to loop through each cell with something
like "baseline of character 1 of parent story of cell i" and skip those that
throw an error.

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BB2C4181.5E163%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de9caa5.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,d8ac48bd4e881509
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-07-04 16:08:03 PST
From: Shane Stanley <sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: (AS) ID crashes on "get contents"/"get properties" of anempty table cell
Message-ID: <BB2C4181.5E163%sstanley@myriad-com.com.au>
Date: Fri, 4 Jul 2003 15:49:06 -0700
References: <1de9caa5.-1@WebX.la2eafNXanI>
Lines: 34
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit