From 6494941037ae2670876de9940853d50538eb5129 Mon Sep 17 00:00:00 2001
From: Kenmegne <stephanie.kenmegne@gmail.com>
Date: Fri, 19 Jun 2026 11:25:51 +0000
Subject: [PATCH] move to new repo
---
reporting-adhoc/src/main/java/com/megatim/reporting/adhoc/pojo/layouts/SubReport.java | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 157 insertions(+), 0 deletions(-)
diff --git a/reporting-adhoc/src/main/java/com/megatim/reporting/adhoc/pojo/layouts/SubReport.java b/reporting-adhoc/src/main/java/com/megatim/reporting/adhoc/pojo/layouts/SubReport.java
new file mode 100644
index 0000000..a4c81ff
--- /dev/null
+++ b/reporting-adhoc/src/main/java/com/megatim/reporting/adhoc/pojo/layouts/SubReport.java
@@ -0,0 +1,157 @@
+/*
+ * 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;
+ }
+}
--
Gitblit v1.10.0