Article View: adobe.scripting.indesign
Article #21059Re: VB and 2.0 Page number of a Table Cell
From: Olav Kvern
Date: Mon, 13 May 2002 22:07
Date: Mon, 13 May 2002 22:07
9 lines
1359 bytes
1359 bytes
Kathleen-- I also meant to mention that the index of the table in the story is off by one--when you get Table.StoryOffset, you'd think that you could refer to the character containing the table using Story.Characters.Item(Table.StoryOffset), but you really need to use Item(Table.StoryOffset+1). If you do this, you can compare the page of the character containing the table to the page of the character following the table (which is Story.Characters.Item(Table.StoryOffset + 2)). If the two characters have the same Character.ParentTextFrame then you know that the table does not span multiple text frames or pages. Thanks, Ole
Technical Details
Message-ID:
<ef87b0d.6@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef87b0d.-1@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,147f9b4dbdbb6c48 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-05-13 15:37:44 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: VB and 2.0 Page number of a Table Cell Message-ID: <ef87b0d.6@WebX.aaQKaf7vad4> Date: Mon, 13 May 2002 15:07:54 -0700 References: <ef87b0d.-1@WebX.aaQKaf7vad4> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit