🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19804

Re: Database Driven Catalog - ???

#19804
From: maxdunn
Date: Fri, 15 Nov 2002 17:00
10 lines
1279 bytes
Yes, you've got the idea. You can set the values in the array depending on the state of the counter: since in your case you know that the first four share the same top coordinates, you may want a counter that resets every four records, and simply add to the top coordinate value every four records, starting over when the main counter resets. Psuedo-code: 
iCounterTop = i + 1 
if iCounterTop = 5 then 
  dMyTop = dMyTop + dHeight 
  iCounterTop = 1 
End if 

... .GeometricBounds = Array(dMyTop,... 

And when you hit a new page you reset dMyTop.
Technical Details
Message-ID: <1de69529.17@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de69529.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4348409c0a586298
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-15 09:16:08 PST
From: maxdunn <maxdunn@siliconpublishing.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Database Driven Catalog - ???
Message-ID: <1de69529.17@WebX.la2eafNXanI>
Date: Fri, 15 Nov 2002 09:00:47 -0800
References: <1de69529.-1@WebX.la2eafNXanI>
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit