🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16472

(VB) Table Questions

#16472
From: Eric Lee.
Date: Sat, 06 Sep 2003 05:16
8 lines
1422 bytes
1. How can I set an AppliedFont for all tables in a story? At present I have to loop through tables-cells-paragraphs to do this, which is rather slow. Is there a more efficient way?

2.	If I have a table, how can I reference the paragraph object that contains it? I need this reference to manipulate the left margin and justification of the table. My current approach is loop through each paragraph in the textframe, check whether it contains a table and, if so, compare the StoryOffset value to determine whether it is the paragraph holding the table in question. Is there a more direct way of doing this?
3. Is it possible to detect whether a cell is overset (i.e. with a red dot)?

Thanks in advance.

Eric
Technical Details
Message-ID: <2ccd478a.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,f07740d126323b00,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-09-05 22:37:50 PST
From: "Eric Lee." <ericlee868@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: (VB) Table Questions
Message-ID: <2ccd478a.-1@webx.la2eafNXanI>
Date: Fri, 5 Sep 2003 22:16:06 -0700
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit