Copy link to clipboard
Copied
Hi Everyone,
I have updated the InDesign document with the new xml using scripts.
After the update i got an error as overset text issue and the code value moved to the next row and changed as three columns.
I have attached the screenshot here for reference
Help in this query is appreciated...
Thanks,
-Jothi
Hi Peter and Manan,
Thanks for your guidence. I have done with my work through script.
Thanks,
-Jothi
Copy link to clipboard
Copied
Help in what way? Avoiding the problem or fixing it?
It looks as if you use a script to size the columns -- if that's the case then the sizer needs to be fixed.
If on the other hand you place content in an existing table, then after inserting the content you should check whether there are any overset cells and fix them. The simplest (and probably the quickest) test to check whether a table contains overset cells is this one:
if (myTable.cells.everyItem().overflows.join('').indexOf('true') >= 0) {
// the table has at least one overset cell
}
If there are overset cells, look for them and widen the cell until it's no longer overset or decrease the type size to fit the cell's content to the cell.
P.
Copy link to clipboard
Copied
Hi Peter,
Yes, you're correct. I have fitted the cell content.
Now my problem is the code value moves to the second row after update then it appears as a 3 column, what to do for this scenario???????
Your help in this query is appreciated.
Copy link to clipboard
Copied
Hi @jothipriya,
@Peter Kahrel already gave you an idea to follow
If there are overset cells, look for them and widen the cell until it's no longer overset or decrease the type size to fit the cell's content to the cell.
By @Peter Kahrel
Did you try that? If no then do try and if yes then provide more details on what did not work. Share the code snippet accordingly so that someone can point out areas that can be changed.
-Manan
Copy link to clipboard
Copied
Hi Peter and Manan,
Thanks for your guidence. I have done with my work through script.
Thanks,
-Jothi