view current cell; if cell overflows
var doc, tbl, row, cell;
doc = app.ActiveDoc;
tbl = doc.FirstTblInDoc;
while (tbl.ObjectValid ()) {
row = tbl.FirstRowInTbl;
while (row.ObjectValid ()) {
cell = row.FirstCellInRow;
while (cell.ObjectValid ()) {
if (cell.Overflowed === 1) {
alert ("Cell overflowed");
}
cell = cell.NextCellInRow;
}
row = row.NextRowInTbl;
}
tbl = tbl.NextTblInDoc;
}
am using the above code from this thread https://community.adobe.com/t5/framemaker/finding-cell-overflow-in-table-problem-with-script/m-p/11293026?page=1#M66796
can anyone help to take the script to the row/cell/page where the overflow takes place?
