Find Text Overflow
FindTextOverflow.fsi
Problem description
Text overflow means that the amount of text exceeds the space in the text frame. FrameMaker marks a text overflow with a solid line on the lower edge of the text frame (1).
A text overflow often occurs when the frame in the English source document is dragged to ‘fit’ but the translated text is longer.
FrameMaker does not offer the option to search for such overflows.
In addition, there are hyphenation problems when the text frames are too narrow (2). This is especially the case when the hyphenation is disabled or not available for a language.
Another error source are graphic text lines that extend beyond the limits of a graphic container (3).
The same problem occurs in table cells that are too narrow.
Function description
The script checks text frames for overflows, words that are hyphenated at the end of a line without hyphen and text lines that extend beyond the graphic container.
The overflows and hyphenation errors that were found will be displayed in a dialog box.
By clicking on the ‘OK’ button, the script will search for the next overflow or hyphenation error.
When the script is started, the script will not begin on the first page but at the current insertion point. An overflow can thus (by pressing the ‘Cancel’ button) be corrected as needed and the search can continue from the same position.
To ensure that a document no longer contains overflows, position the insertion point outside of a text frame before invoking the script.
Requirements
- FrameMaker 6.0 or higher
- FrameScript/ElmScript 4.1 or higher
Notes
The script works with structured and unstructured documents.
Anchored frames are only searched in named text flows. Text frames in nested graphic objects will not be included. Master pages and reference pages will also not be searched.



Klaus Müller![[i]-frame Find Text Overflow [i]-frame Find Text Overflow](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/FindTextOverflow1.png)
![[i]-frame Find Text Overflow FrameScript Find Text Overflow](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/FindTextOverflow2.png)
![[i]-frame Find Text Overflow [i]-frame Find Text Overflow](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/FindTextOverflow3.png)
![[i]-frame Find Text Overflow [i]-frame Find Text Overflow](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/FindTextOverflow4.png)