Skip to main content
dublove
Legend
December 20, 2024
Question

Is there a script to automatically “continue rows” of a table?

  • December 20, 2024
  • 1 reply
  • 348 views

You may need to determine if the first row is a “continuation row”.
If there is already a continuation row, skip it.


Then, using the selected row as the basis for the table header, add a merged blank row at the top and apply the “Continue” cell style, then  fill the cell with the “Continu” character.

 

Next, copy the initially selected rows, the initially selected rows and new rows will be converted to table headers.
Then, set up to skip the first page of the table header.

 

Than k you ,Great Gods.

 

Some good people had written about it, but it was incomplete.

var ContinuedRow = app.selection[0]

// Optional:
// Not optional. 
// Set the point size in a value, so that the text could be visible despite the minimal height of the cells:
ContinuedRow.cells.everyItem().appliedCellStyle = "Continue";//Applying unit styles
ContinuedRow.cells.everyItem().topInset = 0;//empty pace  above
ContinuedRow.cells.everyItem().leftInset = 0;//empty lpace  eft
ContinuedRow.cells.everyItem().bottomInset = 0;//empty space below
ContinuedRow.cells.everyItem().rightInset = 0;//empty space Right

ContinuedRow.cells.everyItem().rightEdgeStrokeWeight = 0;//Right column line is 0
ContinuedRow.cells.everyItem().leftEdgeStrokeWeight = 0;//Left column line is 0

ContinuedRow.cells.everyItem().minimumHeight  = "5mm";//Continued table row height

 

This topic has been closed for replies.

1 reply

dublove
dubloveAuthor
Legend
December 22, 2024
ContinuedRow.cells.everyItem().minimumHeight  = "5mm";

How should I write this sentence with a precise line height(exact row height)?

Or is there no such writing?

How not to check the first line, just have the cursor on the first line.

Merge the first line and fill in the “Continue” character.

Robert at ID-Tasker
Legend
December 22, 2024

 

ContinuedRow.cells.everyItem().autoGrow  = false;
ContinuedRow.cells.everyItem().minimumHeight  = "5mm";

 

dublove
dubloveAuthor
Legend
December 23, 2024

Right.

ContinuedRow.cells.everyItem().autoGrow  = false;
ContinuedRow.cells.everyItem().height  = "5mm";

Okay.
Thank you very much.
And.
Please help me again, I want to merging this row.
And then write the “Continue” character into this row.