Use this section level rule to reset the top or bottom dimensions of the current section based on the parameters you specify. This rule makes the objects on the section fit under the bottom of the header, over the top of the footer, or compresses the section to the smallest height possible, including all of its objects.
ResetImageDimensions (NewSize)
Parameter |
Description |
---|---|
NewSize |
Choose one of these options: FooterTop - Makes the objects on the section fit over the top of the footer by resetting the bottom dimensions. HeaderBottom - Makes the objects on the section fit under the bottom of the header by resetting the top dimensions. MinHeight - Resizes the section to occupy the least amount of space. No objects are omitted or resized, but unused space is removed. LastField - Resizes the section to occupy the least amount of space. Only the fields with data are examined when the system looks for the lowest point on the section. Use this option on sections that have only fields or no objects lower than the last few fields you expect to map |
Note | The parameters are not case sensitive. |
In legacy implementations, where only DDT files were loaded and not FAP files, fields are the only objects on a section the ResetImageDimension rule recognizes. That meant section bottoms were most likely being assigned at the last mapped field. In subsequent releases and because of new features and the new Studio model of development, FAP files are loaded during batch runs. Therefore, to get behavior similar to what you had in legacy implementations, you must either change the ResetImageDimension rules to use the LastField parameter, or use the RID_LastMapField INI option to change the behavior of the MinHeight parameter.
When you use the LastField option, the bottom of the section is moved to a position below the lowest mapped field on the section. This is what you want in situations where the next section should be placed immediately below where the last field was mapped. For instance, assume you have a small section used for addresses. It can contain up to eight lines, but depending upon the address only two or three lines might be used and you would like to set the bottom of the section below where the last field was mapped. Here is an example:
ResetImageDimension LastField
Note | Depending upon your print or display method, changing the bottom of the section with this parameter could mean that any objects below this point will not be visible and may not print. Or it could mean those objects will simply overprint the next section in sequence on the same page. |
You can also use the RID_LastMapField INI option to change the MinHeight parameter to work like the new LastField option described above.
< RunMode >
RID_LastMapField = Yes
(RID is an abbreviation for ResetImageDimension.)
The default is No. Enter Yes if you want to modify the behavior of the MinHeight parameter on all sections that would use the ResetImageDimension rule.
Note | Depending upon your print or display method, changing the bottom of the section with this option could mean that any objects below this point will not be visible and may not print. Or it could mean those objects will simply overprint the next section in sequence on the same page. |
Also note that the term last field refers to the lowest field mapped on a section and not the physical sequence in which the fields are mapped. The lowest field is the one that is the greatest distance from the top of the section.
© Copyright 2012, Oracle and/or its affiliates. All rights reserved. Legal notices.