Highlighted

How to find words too long for column width (not text overflow)

New Here ,
Aug 31, 2020

Copy link to clipboard

Copied

2020-08-31_17h48_31.jpg

Dear Framemaker community. I have a big problem with that, I spent a long time researching and couldn't find a solution. I don't know how to find too long words in tables, too long for a column width. It's not about a text overflow in table cell. I already scripted that. Here are a cells that are not overflowed in normal classic way. FM just breaks too long words into pieces without any warnings. I know I could hyphenate these places but I would love to know how to find these first. If you just give me a little clue how to find these places, I could script it for my needs, big thank you in advance! Les

Views

69

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

How to find words too long for column width (not text overflow)

New Here ,
Aug 31, 2020

Copy link to clipboard

Copied

2020-08-31_17h48_31.jpg

Dear Framemaker community. I have a big problem with that, I spent a long time researching and couldn't find a solution. I don't know how to find too long words in tables, too long for a column width. It's not about a text overflow in table cell. I already scripted that. Here are a cells that are not overflowed in normal classic way. FM just breaks too long words into pieces without any warnings. I know I could hyphenate these places but I would love to know how to find these first. If you just give me a little clue how to find these places, I could script it for my needs, big thank you in advance! Les

Views

70

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
Aug 31, 2020 0
Adobe Community Professional ,
Aug 31, 2020

Copy link to clipboard

Copied

It sounds like you are familiar with scripting so I will give you an idea and let you develop the code. I would parse the paragraph into words (in case there is more than one word per paragraph). Then I would loop through the words one-by-one. Make a text range for each word and check the text range for an FTI_LineEnd item. This will tell you if that word is splitting to a new line.

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...
Aug 31, 2020 1