Article View: adobe.scripting.indesign
Article #701Re: [JS CS3] Tab Stops in Table
From: Peter Kahrel
Date: Tue, 17 Mar 2009 10:45
Date: Tue, 17 Mar 2009 10:45
16 lines
1025 bytes
1025 bytes
Joaquin,
Strange indeed that that doesn't work. You can get around it by using this method:
function TabStopper (myPosition, xx){
myTable.columns.item(xx).cells.everyItem().texts[0].tabList =
[{position:6, alignment:TabStopAlignment.CHARACTER_ALIGN, alignmentCharacter:")"}];
}
When you set a tabList like this, any other tabstops are deleted, and this works in CS3. (CS4 restores CS2's behaviour.)
Peter
Technical Details
Message-ID:
<59b83ad5.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b83ad5.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,f8d980df89214e41 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Peter Kahrel" <kahrel@kahrel.plus.com> Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [JS CS3] Tab Stops in Table Message-ID: <59b83ad5.0@webcrossing.la2eafNXanI> Date: Tue, 17 Mar 2009 03:45:09 -0700 References: <59b83ad5.-1@webcrossing.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit