A way to handle columns that span multiple rows. Request a script.
Copy link to clipboard
Copied
This solution does not require merging cells, you may need to manually modify the contents of a column that spans multiple rows to the appropriate position (of course it would be best to automate this).
I think this is a bit safer and less work, and easier to implement .
The biggest benefit is that only the initial discharge needs to be treated.
A specific program:
Insert a block at the cursor and apply the object style "point".
The point object style has automatic height and width adjustments and has non-printing properties.
The content of the block is "content across columns".
From the first row of the spanning column, to the penultimate row, apply the cell style "spRows-none".
Ask for a script.
Thank you very much.
Copy link to clipboard
Copied
Hi @dublove, I am having trouble understanding this post. Would it be possible to post a BEFORE and AFTER document? Make it as simple as possible, but showing what you want.
- Mark
Copy link to clipboard
Copied
Hi @m1b  Thanks a lot for the reply!
New samples have been provided
I would like Trying to automate it:
In the 1st row and 2nd column of each span, insert an in color block that fills in the contents of the span.
Automatically apply spRows-none cell style.
As for, 1980, 1985, 2001, 2002 vertical centering may have to be done manually.
Maybe it's safer to execute the script once per spanRow
Or do you have some other way to label it that will show up clearly ,and but won't be printed
Copy link to clipboard
Copied
Hi m1b
Copy link to clipboard
Copied
Hi m1b
What's the good news?
Do you have a better plan to share?
Copy link to clipboard
Copied
No offence, but if you want to save time - and make more money - why are you expecting a free solutions?
What you want to achieve - is very simple - maybe you should really learn scripting...
In case of your image to be resized:
1) get parent page of the selected object,
2) get bounds of this page,
3) check how many columns there is and their settings - calculate width(s),
4) set width of your object to the width of the column - or without margins area,
5) if object isn't aligned to the edge of the column - move it,
Of course, this is the "best case scenario" - assuming that your image is flush with the parent rectangle - if isn't then point 4) should be done differently - you would've to calcualte proportion - still pretty simple math - and use it to scale your object - including image inside.
Copy link to clipboard
Copied
Oh great Robert at ID-Tasker , you are very active ......
You can add this feature to your plugin, might be attractive.
Looking forward to ......
Copy link to clipboard
Copied
Yeah, I'll.
And I just got another brilliant idea 😄 that will elevate IDT even more 😄
Copy link to clipboard
Copied
Plugins are too complicated or scripts are convenient.
Long live scripts.

