Highlighted

Table - How to distribute column space based on the cell text. (InDesign)

Contributor ,
Jun 22, 2020

Copy link to clipboard

Copied

Hi Friends,

 

How to distribute column space based on the cell text (not equal distribute option). I need to set each column as different width. If you have any formula is there (or) any ideas your side, please share with me.

 

0.png

 

Thanks,

Karthik 

 

TOPICS
How to, Scripting

Views

242

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Table - How to distribute column space based on the cell text. (InDesign)

Contributor ,
Jun 22, 2020

Copy link to clipboard

Copied

Hi Friends,

 

How to distribute column space based on the cell text (not equal distribute option). I need to set each column as different width. If you have any formula is there (or) any ideas your side, please share with me.

 

0.png

 

Thanks,

Karthik 

 

TOPICS
How to, Scripting

Views

243

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 22, 2020 0
Adobe Community Professional ,
Jun 22, 2020

Copy link to clipboard

Copied

Hi Karthik,

there are so many variables in this game, so that you should aim for a solution, that stops after a given time and use the best solution in that amount of time. What time frame would you think is bearable for the usage? Two minutes per table? Five minutes? 10 minutes?

 

Search the forum. We already discussed that issue 10 years ago, I think.

Hm. But so many threads from the old InDesign scripting forum were not moved over to this new InDesign forum, so we may start over again here…

 

Also see into this basic technique:

https://www.indiscripts.com/post/2016/03/on-dichotomic-divide-and-conquer-algorithms

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 22, 2020 0
Adobe Community Professional ,
Jun 22, 2020

Copy link to clipboard

Copied

Ah. And please give some guide lines like:

 

A. Overall width of table should be the same.

B. Maximum width of table should be text frame width.

Something like that.

 

Please attach a sample document we can discuss.

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 22, 2020 0
Contributor ,
Jun 22, 2020

Copy link to clipboard

Copied

Hi Uwe,

 

Thanks your reply!

I have attached the "indd" sample document below.

In document all details is there. (Portrait and landscape tables).

InDesing version CC 2018

 

https://drive.google.com/file/d/1EywM8F2X7rwAKsPeUA-cEMuPnZPgPs-k/view?usp=sharing 

 

Thanks,

Karthik S

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 22, 2020 0
Adobe Community Professional ,
Jun 22, 2020

Copy link to clipboard

Copied

Hi Karthik,

cannot download your sample doc without a password.

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 22, 2020 0
Adobe Community Professional ,
Jun 22, 2020

Copy link to clipboard

Copied

You could attach the document to your reply in the forum.

 

Thanks,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 22, 2020 0
Contributor ,
Jun 22, 2020

Copy link to clipboard

Copied

HI Uwe,

 

Okay, my attachement below: I have placed screenshot for your reference.

 

11.png

 

Thanks,

Karthik 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 22, 2020 0
Adobe Community Professional ,
Jun 23, 2020

Copy link to clipboard

Copied

Hi Karthik,

something went wrong witth your attachment. Perhaps the file size was too large?

Try Dropbox for sharing with a public link. I know, that will work.

 

Screenshot from the thread. You added an image:

AttachmentDidNotWork.PNG

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 23, 2020 0
Contributor ,
Jun 23, 2020

Copy link to clipboard

Copied

Hi Uwe

 

Try bleow link:

 

https://www.dropbox.com/s/3ns61hdl0yee0kj/Sample-Doc.indd?dl=0 

 

Thanks,

Karthik S

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 23, 2020 0