Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

column heads

$
0
0

Hi,

 

I need  the below requirement:

 

In all tables, some times there are more than one 'column heading' occurs. I need all Column heads should be a separate cell style.

 

I have put one empty row, once the column heads ending. (ex: first empty row is the identifier for column heads)

 

Script need for all the tables in a document.

 

1) Before the 'first empty row' cells should be a "TCH" cell Style.

2) Remaining row cells should be "Tbody" cell Style (except last row)

3) Table last row should be a "Tbody_last"

4) Based on the number of column heads table styles need to apply.

     if only one column head in a table, it should be "Table style 1" table style

     Two column heads in a table, it should be"Table style 2" table style

     Three column heads in a table, it should be "Table style 3" table style,  etc...

 

table.jpg

 

 

Regards,

Velu


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>