These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#58030 - 06/03/21 09:35 AM Snap textbox to overflow object
Paul L Offline
OL Newbie

Registered: 03/31/21
Posts: 5
Good morning. I have an issue similar to the issue posted here:

I have a line repeat object that pulls parcel information from our data. The repeat and overflow works beautifully but we want to add text below the overflow and snap it to the last line.

Right now, when there is no overflow, the textbox snaps properly and grows and shrinks with the amount of lines displayed. When there is overflow the table "expands" to the next page but leaves a huge blank space and pushes the textbox off screen therefore not printing it.

Repeat Mode: Line repeat
From Line: 1
To line: 0
Repeat choice: Vertical only
Iteration condition: =true
Condition to exit and overflow: =&iterationcount >= 35

I've read in previous posts that there may be a checkbox "Do not overflow if last record reached" but I don't see it.

I have set all my snapping points correctly - I know this because the objects snap correctly when there is no overflow.

Any help would be greatly appreciated.


#58031 - 06/03/21 03:39 PM Re: Snap textbox to overflow object [Re: Paul L]
Paul L Offline
OL Newbie

Registered: 03/31/21
Posts: 5
Hello all,

I was able to answer my own question.

I added a placeholder text box with the "Top" value equal to a global variable "=&gvParagraph1Yposition". The global variable is updated AFTER each repetition of the textbox that is being repeated/overflowed.

&gvParagraph1Yposition := &physical.y + 0.125

The key here is &physical.y. It shows the placeholder where the last repetition will go.

Then I've simply allowed snapping of all the text that comes after the table. It works beautifully. eek

So now I'm using &physical.y on all the paragraphs that follow so see if they fit on the remaining space on the page. If not then they will be activated on the next page.

Took me a long time to figure out but it works. Hope this post helps anyone out there.

I found the final piece here: Sign up is free!