Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: Apply a paragraph style to the first cell of the first row of a table

$
0
0

for all tables in a document:

app.activeDocument.stories.everyItem().tables.everyItem().cells[0].tex ts[0].appliedParagraphStyle="MyPStylesName"; //assuming te PStyle is not in any group.

 

for a table (var myTable):

myTable.cells[0].texts[0].appliedParagraphStyle="MyPStylesName";


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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