Article View: adobe.scripting.indesign
Article #16367[VB] Center a right aligned paragraphs in a table
From: Guy Verville
Date: Thu, 18 Sep 2003 20:31
Date: Thu, 18 Sep 2003 20:31
20 lines
1486 bytes
1486 bytes
Hi, I've post this few days ago but with a misleading title. My clients want usually, and I understand them, that the alignment of, say a column of figures, should be set to right, but that the whole text in the column is centered . See <http://www.guyverville.com/column.jpg>. What I would like to understand here is the hierarchy of objects involved for doing the procedure below : 1. From the selection 2. Find the widest paragrah among the cells selected. 3. Get the width of the column. 4. Calculates the right indent for the widest paragraph so it would be centered in the column. 5. Apply the same right indent to other paragraphs. Thanks for your help. Guy www.guyvyerville.com To be published in Spring 2004 in French Les AnnοΏ½es-rebours (http://www.varia.com/livre.asp?id=74)
Technical Details
Message-ID:
<2ccd7909.-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!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,87869e3f37548296,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-18 13:38:08 PST From: "Guy Verville" <taddeus@spamcop.net> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: [VB] Center a right aligned paragraphs in a table Message-ID: <2ccd7909.-1@webx.la2eafNXanI> Date: Thu, 18 Sep 2003 13:31:58 -0700 Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit