Copy link to clipboard
Copied
I need to change in a document (one per page) with many tables the 4 cell insets to a new measure.
It is possible?
Thanks
Palala Fog, Try this
Copy link to clipboard
Copied
Assuming you did not use Table and Cell styles, every table uses at least the Basic Table style (unless you set it to No Table Style when creating it).
However, table styles do not have a default Cell style assigned. Make a new Cell style (I called my "Cell Insets") and assign it under the Basic Table style.
Edit your cell style insets and all the tables should update. However, if you previously manually edited the insets, the style setting won't remove the override.
Copy link to clipboard
Copied
Hi,
Your tip is a big one discover.
It worked perfectly for almost all files!
(Just for two documents couldn't be applied: if you have the line of code will be splendid)
I am not marking for the moment «correct answer» dreaming other solution is possible, although yours seems fine...
Copy link to clipboard
Copied
You don't need any code. Just create another Cell style that fits your other two documents, select the cells, and click the Cell style.
Copy link to clipboard
Copied
Him Creamer:
Thanks. The idea is to modify all the cells with a new measure.
It is a huge file with 300 tables...
Think that the best path is to use a line of scripting.
Also, ID not always applies cell styles via the Table style menu.
Thanks.
Copy link to clipboard
Copied
>The idea is to modify all the cells with a new measure
OK--I don't see the problem. You might need to use some based-on cell styles. If you want to send me a sanitized version of your file, I'd be happy to take a look at it. (I'd need a data file too.)
> Also, ID not always applies cell styles via the Table style menu.
ID styles will work fine as long as the table does not have any manual formatting applied. It's important to use only table and cell styles to format the table--manual adjustments could easily break the link. Even if you want to apply a paragraph style, you need to create a cell style linked to that paragraph style.
>
It is a huge file with 300 tables...
The number of tables shouldn't matter as long as you have a good system. Even with a reasonably powerful system, I've had to walk away fro 15-20 minutes while updating a 1000-page book. It's also possible, depending on the document, that it could be broken up into separate sections and using an ID book file.
Copy link to clipboard
Copied
Clarification: Table styles can apply cell styles automatically to the header/footer, first column, middle columns, and last column. It cannot apply cell styles automatically to rows.
For that, one would indeed need to do it manually--or use a script or plugin.
Some script references:
Some plugin options:
https://www.woodwing.com/en/smart-styles-adobe-indesign-plugin
https://www.65bit.com/software/easycatalog/ (They make a "lite" version, but I would have to check to see if it has the options you need.)
Copy link to clipboard
Copied
Palala Fog, Try this
Copy link to clipboard
Copied
Thanks, Yes, it worked.