Article View: adobe.scripting.indesign
Article #15479[VB] How to create table and populate
From: Raymond_Messier
Date: Thu, 04 Dec 2003 16:11
Date: Thu, 04 Dec 2003 16:11
10 lines
1601 bytes
1601 bytes
Okay, I am currently using InData as a plug-in to automate page creation, but I have run into a brick wall. The product does not support tables or the InDesign table tags. So, I am left with creating the tables in my document using the object model. I have been searching the forums but so far I can only find apple script. Perhaps someone could help me perform the following using vb script? I need to create a table and populate it with images and text, I do not know ahead of time how long the text will be as it is comming from a database. I know how to use ADO cold, so that is not a problem, my familiarity with the ID object model is what is weak. Here is a basic layout, I hope it doesn't ruin the ascii formatting... Rows = 3 Columns = 3 1st Row = Images in Cells 2nd Row = Text Cells 3rd Row = Text Cells So, this is basically the layout of a generic table. Can anyone show me the VB code that would create a 3,3 table and then populate the cells with both text and images? Thanks...
Technical Details
Message-ID:
<2ccebcfa.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b933a7649366945d,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-12-04 08:38:14 PST From: Raymond_Messier@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: [VB] How to create table and populate Message-ID: <2ccebcfa.-1@webx.la2eafNXanI> Date: Thu, 4 Dec 2003 08:11:46 -0800 Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit