Class JRVirtualPrintPage

java.lang.Object
net.sf.jasperreports.engine.base.JRVirtualPrintPage
All Implemented Interfaces:
Serializable, JRPrintElementListContainer, JRPrintPage

public class JRVirtualPrintPage extends Object implements JRPrintPage, Serializable
A print page that can be virtualized to free heap memory.
Author:
John Bindel
See Also:
  • Field Details

    • log

      protected static final org.apache.commons.logging.Log log
    • PROPERTY_VIRTUAL_PAGE_ELEMENT_SIZE

      public static final String PROPERTY_VIRTUAL_PAGE_ELEMENT_SIZE
      Property that determines how many print elements will make up a virtual page handled as a unit by the virtualizer.

      For most paginated reports, a virtual page corresponds to a report page. But for non-paginated reports and for reports having very large pages, a report page is broken into several virtual pages which are handled individually by the virtualizer.

      This property provides the size of a virtual page in print elements. Note that virtual page sizes will actually vary around the configured size since there are cases when fewer elements remain on a report page and cases when the configured size is exceeded due to print frames being included at the end of virtual page.

      If set to 0 or negative, report pages will not be broken into several virtual pages.

      The property can be set at report and global levels or sent as a parameter value (as an integer, using the property name as parameter name). The default value is 2000.

      See Also:
    • elements

      protected VirtualizableElementList elements
  • Constructor Details

  • Method Details