import {FooterPositionEnum} from "./type/Enums"; import {JRSection} from "./JRSection"; export interface JRGroup { /** * Gets the group name */ getName():string; setName(value:string):void; /** * Gets the flag that signals if the group header should be printed always on a new column. */ isStartNewColumn():boolean; /** * Sets the flag that signals if the group header should be printed always on a new page, along with the * re-initialization of the page number. */ setStartNewColumn(value:boolean):void; /** * Gets the flag that signals if the group header should be printed always on a new page. */ isStartNewPage():boolean; /** * Sets the flag that signals if the group header should be printed always on a new page. */ setStartNewPage(isStart:boolean):void; /** * Gets the flag that signals if the group header should be printed always on a new page, along with the * re-initialization of the page number. */ isResetPageNumber():boolean; /** * Sets the flag that signals if the group header should be printed always on a new page, along with the * re-initialization of the page number. */ setResetPageNumber(value:boolean):void; /** * Gets the flag that signals if the group header should be reprinted at the beginning of each page. */ isReprintHeaderOnEachPage():boolean; /** * Sets the flag that signals if the group header should be reprinted at the beginning of each page. */ setReprintHeaderOnEachPage(value:boolean):void; /** * Gets the minimum amount of vertical space needed at the bottom of the column in order to place the * group header on the current column. */ getMinHeightToStartNewPage():number; /** * Sets the minimum amount of vertical space needed at the bottom of the column in order to place the * group header on the current column. */ setMinHeightToStartNewPage(value:number):void; /** * Specifies how the group footer section behaves with regards to its position on the current page. */ getFooterPositionValue():FooterPositionEnum; /** * Specifies the group footer section behavior with regards to its position on the current page. */ setFooterPosition(value:FooterPositionEnum):void; /** * Gets the flag that signals if the group should be prevented from splitting on first break attempt. */ isKeepTogether(); /** * Sets the flag that signals if the group should be prevented from splitting on first break attempt. */ setKeepTogether(value:boolean):void; /** * Gets the header section created for this group. */ getGroupHeaderSection():JRSection; /** * Gets the footer section created for this group. */ getGroupFooterSection():JRSection; }