rcorbitt Posted December 13, 2007 Posted December 13, 2007 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.
Vaughan Posted December 13, 2007 Posted December 13, 2007 "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.
rcorbitt Posted December 13, 2007 Author Posted December 13, 2007 Would it be possible to set the size of the body part using a calculated Applescript based on the case statement?
comment Posted December 14, 2007 Posted December 14, 2007 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now