/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template */ package com.megatim.reporting.adhoc.pojo.layouts; /** * * @author ASUS */ public class SubReport extends MainReport { private String titleValue; private String pageTitleStyle; private int x; private int y; private int width = 722; private int height = 38; private String splitType = "Stretch"; private String stretchType = "ElementGroupHeight"; private String overflowType = "Stretch"; private boolean usingCache = true; private boolean runToBottom = true; //Nom du champ de l'entité qui va servir à peupler le sous-rapport, doit être de tytpe 'Liste' private String dataSource; private boolean printInFirtWholeBand = true; private boolean printWhenDetailOverflows = true; public SubReport() { columnWidth = 600; } public int getX() { return x; } public void setX(int x) { this.x = x; } public int getY() { return y; } public void setY(int y) { this.y = y; } public int getWidth() { return width; } public void setWidth(int width) { this.width = width; } public int getHeight() { return height; } public void setHeight(int height) { this.height = height; } public String getSplitType() { return splitType; } public void setSplitType(String splitType) { this.splitType = splitType; } public String getStretchType() { return stretchType; } public void setStretchType(String stretchType) { this.stretchType = stretchType; } public boolean isUsingCache() { return usingCache; } public void setUsingCache(boolean usingCache) { this.usingCache = usingCache; } public boolean isRunToBottom() { return runToBottom; } public void setRunToBottom(boolean runToBottom) { this.runToBottom = runToBottom; } public String getDataSource() { return dataSource; } public void setDataSource(String dataSource) { this.dataSource = dataSource; } public boolean isPrintInFirtWholeBand() { return printInFirtWholeBand; } public void setPrintInFirtWholeBand(boolean printInFirtWholeBand) { this.printInFirtWholeBand = printInFirtWholeBand; } public boolean isPrintWhenDetailOverflows() { return printWhenDetailOverflows; } public void setPrintWhenDetailOverflows(boolean printWhenDetailOverflows) { this.printWhenDetailOverflows = printWhenDetailOverflows; } public String getOverflowType() { return overflowType; } public void setOverflowType(String overflowType) { this.overflowType = overflowType; } public String getTitleValue() { return titleValue; } public void setTitleValue(String titleValue) { this.titleValue = titleValue; } public String getPageTitleStyle() { return pageTitleStyle; } public void setPageTitleStyle(String pageTitleStyle) { this.pageTitleStyle = pageTitleStyle; } }