Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Expand body part to fill page


This topic is 6194 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am generating a PDF from records in the found set. My layout has header, body, and footer parts. The page size is 11" x 15" with .5" margins on all sides. (Custom page size) The header is 1", the footer is .5"; both containing text.

Is there a way to have the body records equally spaced, with a rule above and below, to fill the 12.5" available space? (There will never be more than 20 records in the body space.)

Initially, I measured the size (in points) of a record including leading and created a "space" field that was placed above and below the data. Using a Case statement to count the number of records, I attempted to format the point size of the space field. This did not work, as FM won't accept 3.64 point text or similar.

Is there a way to set the size of a part based on a calculation?

Suggestions?

Thanks in advance for any help.

Posted

"Is there a way to have the body records equally spaced, with a rule above and below, to fill the 12.5" available space? (There will never be more than 20 records in the body space.)"

Only by fixing the size of the body part.

To get any fancier, export the text to a page layout program.

Posted

I believe you can make your spacer field expand in 1-pixel increments, if you format it to font size 1, and set the line spacing height to 1 pixel. Then let it have as many carriage returns as the required height in pixels.

This topic is 6194 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.