Cell padding in InDesign

13 08 2008

We had a fair few hiccups in our overall Word to InDesign conversion recently (see previous posts regarding study guides and InDesign).  One of the problems involved table and cell styles in InDesign not applying the specified cell padding!

This was really frustrating, because even though you’d applied the table/cell styles to the tables in the document, you still had to manually add the cell padding in.  .. and yes, cell padding is entered in on the cell style specs so there’s no reason I can think of why it’d get ignored.  It is possible that the settings from Word were overriding the cell specs.. That’s probably all it was actually.

Anyway, a solution was found by trawling through the Adobe InDesign Exchange for third party scripts.  I ended up finding ‘TableStyle’, which was fantastic.  It lets you specify a whole range of table formatting, and does a selection or an entire document automatically.  All I had to do was copy the script into InDesign’s script panel directory and voila, double click on the scrip from the automation panel in InDesign and the whole document is done.

The only tweaking I did was to edit out the code which updated table borders and colours, since they interfered with our existing table styles.  That was only a quick 1 min javascript edit though.  Easy!

Overall I’m impressed by the scripting capabilities of InDesign, I’ll be looking in to what else we can do in the future to get around various problems.