🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1592

Detecting Permanent Overset

#1592
From: Dave_Saunders
Date: Sun, 01 Feb 2009 15:47
7 lines
1579 bytes
For years, I've used a RunPages function to flow overset text. One thing that such a function must do is detect a permanent overset condition and stop. The test I have in the function is to test to see (a) if the frame is still overset and (b) if the frame contains no characters.

I don't know why it has taken me this long to realize that this is an inadequate test. A text frame that contains only a part of a long table also has no characters. So, if my function were used to flow a story that contained such a long table it would fail because it would erroneously decide that the story was permanently overset the moment it got to a text frame in the middle of a long table.

Has anyone else run into this? And if so, did you find a solution?

I've posted the text of my function before, but I'll put it here again in the first reply for easy reference. I think were I writing it today I'd probably break it down into more function calls but on the principle that it wasn't broke I haven't done that. Only now I realize that it is broke.
Technical Details
Message-ID: <59b7bfd9.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,eed2f709e19dc3b7,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Detecting Permanent Overset
Message-ID: <59b7bfd9.-1@webcrossing.la2eafNXanI>
Date: Sun, 1 Feb 2009 07:47:14 -0800
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit