realreport 1.11.27 → 1.11.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*
2
- RealReport v1.11.27
2
+ RealReport v1.11.29
3
3
  Copyright (C) 2013-2026 WooriTech Inc.
4
4
  All Rights Reserved.
5
5
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
- * RealReport v1.11.27
3
- * commit d6b6952
2
+ * RealReport v1.11.29
3
+ * commit 089b77a
4
4
 
5
5
  * {@link https://real-report.com}
6
6
  * Copyright (C) 2013-2026 WooriTech Inc.
@@ -8,10 +8,10 @@
8
8
  */
9
9
 
10
10
  /**
11
- * RealReport Core v1.11.27
11
+ * RealReport Core v1.11.29
12
12
  * Copyright (C) 2013-2026 WooriTech Inc.
13
13
  * All Rights Reserved.
14
- * commit 9dd44112b0bd75ca0c50e06eaeeb49a354015905
14
+ * commit 1b840042a94a4543a42dcb6197c59bda1cdc5959
15
15
  */
16
16
  type ConfigObject$2 = {
17
17
  [key: string]: any;
@@ -382,7 +382,7 @@ declare class DragTracker$1 extends Base$1 {
382
382
  activate(): void;
383
383
  deactivate(): void;
384
384
  start(eventTarget: HTMLElement, x: number, y: number, shift: boolean, alt: boolean): boolean;
385
- drag(eventTarget: HTMLElement, x: number, y: number, meta: boolean): boolean;
385
+ drag(eventTarget: HTMLElement, x: number, y: number, meta: boolean, shift?: boolean): boolean;
386
386
  cancel(): void;
387
387
  drop(eventTarget: HTMLElement, x: number, y: number): void;
388
388
  end(): void;
@@ -398,7 +398,7 @@ declare class DragTracker$1 extends Base$1 {
398
398
  protected _doActivate(): void;
399
399
  protected _doDeactivate(): void;
400
400
  protected _doStart(eventTarget: HTMLElement, x: number, y: number, shfit: boolean, alt: boolean): boolean;
401
- protected _doDrag(eventTarget: HTMLElement, x: number, y: number, meta: boolean): boolean;
401
+ protected _doDrag(eventTarget: HTMLElement, x: number, y: number, meta: boolean, shift?: boolean): boolean;
402
402
  protected _doCanceled(x: number, y: number): void;
403
403
  protected _canAccept(eventTarget: HTMLElement, x: number, y: number): boolean;
404
404
  protected _doCompleted(eventTarget: HTMLElement, x: number, y: number): void;
@@ -2111,6 +2111,7 @@ declare class DataBandCollection extends ReportGroupItem {
2111
2111
  canContainsBand(): boolean;
2112
2112
  canContainsBandGroup(): boolean;
2113
2113
  canSized(): boolean;
2114
+ canResize(_dir: ResizeDirection): boolean;
2114
2115
  protected _doItemAdded(item: ReportItem, index: number): void;
2115
2116
  }
2116
2117
 
@@ -2744,22 +2745,13 @@ declare class TableBandHeader extends TableBandSection {
2744
2745
  constructor(band: TableBand, pageSection?: boolean);
2745
2746
  get outlineLabel(): string;
2746
2747
  get pathLabel(): string;
2748
+ protected _getEditProps(): IPropInfo[];
2747
2749
  }
2748
2750
  declare class TableBandFooter extends TableBandSection {
2749
- static readonly PROP_ATTACH_TO_BODY = "attachToBody";
2750
2751
  static readonly PROPINFOS: IPropInfo[];
2751
2752
  static readonly $_ctor: string;
2752
- private _attachToBody;
2753
2753
  private _pageSection;
2754
2754
  constructor(band: TableBand, pageSection?: boolean);
2755
- /**
2756
- * true면 multi column 모드일 때 마지막 컬럼의 마지막 행에 붙여서 출력하고,
2757
- * false면 모든 컬럼의 가장 아래쪽에 붙여서 출력한다.
2758
- *
2759
- * @default false
2760
- */
2761
- get attachToBody(): boolean;
2762
- set attachToBody(value: boolean);
2763
2755
  get outlineLabel(): string;
2764
2756
  get pathLabel(): string;
2765
2757
  protected _getEditProps(): IPropInfo[];
@@ -2773,6 +2765,7 @@ declare class TableBandFooter extends TableBandSection {
2773
2765
  declare class TableBandDataRow extends TableBandSection {
2774
2766
  static readonly PROP_EQUAL_BLANK = "equalBlank";
2775
2767
  static readonly PROP_BLANK_FIELDS = "blankFields";
2768
+ static readonly PROP_EQUAL_BLANK_ACROSS_PAGE = "equalBlankAcrossPage";
2776
2769
  static readonly PROP_MERGED_IN_GROUP = "mergedInGroup";
2777
2770
  static readonly PROP_PARAGRAPH_FLOW = "paragraphFlow";
2778
2771
  static readonly PROPINFOS: IPropInfo[];
@@ -2925,6 +2918,8 @@ declare class TableBandRowGroupCollection extends ReportItemCollection<TableBand
2925
2918
  * design-time에는 section마다 별도의 table로 표시되지만 printing 시에는 하나의 table element로 구현한다.
2926
2919
  */
2927
2920
  declare class TableBand extends TableLikeBand {
2921
+ static readonly PARAGRAPH_FLOW_ROW = "paragraphFlowRow";
2922
+ static readonly PARAGRAPH_FLOW_REPEAT_CELL = "paragraphFlowRepeatCell";
2928
2923
  static readonly PROP_COL_COUNT = "colCount";
2929
2924
  static readonly PROP_COLUMNS = "columns";
2930
2925
  static readonly PROP_GROUPS = "groups";
@@ -2956,6 +2951,12 @@ declare class TableBand extends TableLikeBand {
2956
2951
  */
2957
2952
  get endRowMerged(): boolean;
2958
2953
  set endRowMerged(value: boolean);
2954
+ /**
2955
+ * true이면 모든 섹션(header, dataRow, footer)의 내부 table element 너비를
2956
+ * '100%'가 아닌 컬럼 너비들의 합으로 고정한다.
2957
+ */
2958
+ get fixed(): boolean;
2959
+ set fixed(value: boolean);
2959
2960
  /** columns */
2960
2961
  get columns(): TableBandColumnCollection;
2961
2962
  /** groups */
@@ -3138,6 +3139,7 @@ declare class SimpleBandFooter extends SimpleBandSection {
3138
3139
  declare class SimpleBandRow extends SimpleBandSection {
3139
3140
  static readonly PROP_EQUAL_BLANK = "equalBlank";
3140
3141
  static readonly PROP_BLANK_FIELDS = "blankFields";
3142
+ static readonly PROP_EQUAL_BLANK_ACROSS_PAGE = "equalBlankAcrossPage";
3141
3143
  static readonly CHILD_PROPS: IPropInfo[];
3142
3144
  static readonly $_ctor: string;
3143
3145
  private _blankItems;
@@ -3377,6 +3379,7 @@ declare class BandGroup extends ReportGroupItem {
3377
3379
  protected _doLoad(loader: IReportLoader, src: any): void;
3378
3380
  protected _doSave(target: object): void;
3379
3381
  canAdd(item: ReportItem): boolean;
3382
+ canResize(dir: ResizeDirection): boolean;
3380
3383
  private $_resetCells;
3381
3384
  }
3382
3385
 
@@ -3668,6 +3671,11 @@ declare abstract class TableElement<T extends TableBase> extends ReportGroupItem
3668
3671
  static readonly CLASS_NAME = "rr-table";
3669
3672
  static readonly INHERITED_CELL_ITEM_STYLES: string[];
3670
3673
  static setTableStyle(table: HTMLTableElement, fill?: boolean): void;
3674
+ /**
3675
+ * model.fixed가 true일 때 print table의 너비를 컬럼 너비 합계로 고정한다.
3676
+ * setTableStyle 호출 후에 사용한다.
3677
+ */
3678
+ static applyFixedWidth(table: HTMLTableElement, colGroup: HTMLTableColElement): void;
3671
3679
  static getTable(elt: VisualElement$1): TableElement<any>;
3672
3680
  private _masterView;
3673
3681
  private _table;
@@ -6611,6 +6619,12 @@ declare class DesignSheet extends Sheet {
6611
6619
  private _maxRow;
6612
6620
  private _minRow;
6613
6621
  get minRow(): number;
6622
+ /**
6623
+ * 아이템이 배치된 마지막 열의 exclusive upper bound.
6624
+ * 내부 _maxCol은 c + colSpan + 1로 계산되므로 -1 보정해서 반환한다.
6625
+ * 합산 시 0 ~ itemMaxCol-1 범위를 사용한다.
6626
+ */
6627
+ get itemMaxCol(): number;
6614
6628
  getColumn(col: number, create?: boolean): SheetColumn;
6615
6629
  getRow(row: number, create?: boolean): SheetRow;
6616
6630
  /**
@@ -9568,6 +9582,12 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
9568
9582
  maxImageHeights: number[];
9569
9583
  /** 각 행의 image 출력 여부 [행인덱스] */
9570
9584
  imageRendered: boolean[];
9585
+ /** 각 행의 각 컬럼별 rowspan에 의해 hidden된 셀 여부 [행인덱스][컬럼인덱스] */
9586
+ rowspanHidden: boolean[][];
9587
+ /** rowspan hidden 셀의 원본 셀 스타일 (td.style.cssText) [행인덱스][컬럼인덱스] */
9588
+ rowspanOriginStyles: string[][];
9589
+ /** rowspan hidden 셀의 원본 셀 innerHTML [행인덱스][컬럼인덱스] */
9590
+ rowspanOriginInnerHTML: string[][];
9571
9591
  } | null;
9572
9592
  isEnded(): boolean;
9573
9593
  getRows(): any[];
@@ -9654,7 +9674,11 @@ declare class TableBandElement extends BandElement<TableBand> implements ITable
9654
9674
  static readonly ROW_CLASS = "-rrp-tableband-row";
9655
9675
  static readonly DUMMY_CLASS = "-rrp-tableband-dummy";
9656
9676
  static readonly DUMMY_GROUP_FOOTER = "_dummy_group_footer_";
9657
- static checkBlanks(band: TableBand, r: number, rows: TableBodyLine): void;
9677
+ static checkBlanks(band: TableBand, r: number, rows: TableBodyLine, isFirstRow?: boolean): void;
9678
+ /**
9679
+ * ParagraphFlow 상태일 경우에 처리
9680
+ */
9681
+ static paragraphFlowMakeBlank(band: TableBand, printRow: number, rows: TableBodyLine, isFirstRow?: boolean): void;
9658
9682
  private _headerView;
9659
9683
  private _footerView;
9660
9684
  private _rowView;
@@ -10058,6 +10082,17 @@ declare class TextBandElement extends BandItemElement<TextBand> {
10058
10082
  protected _doLayoutContent(ctx: PrintContextBase): void;
10059
10083
  private $_getPrintText;
10060
10084
  private $_prepareHeads;
10085
+ /**
10086
+ * 데이터 바인딩된 경우: 데이터 소스의 모든 행에서 텍스트를 수집한다.
10087
+ *
10088
+ * - PrintContext의 row 상태를 갱신하여, 밴드 데이터 각 행의 텍스트를 수집한다.
10089
+ * - $_getPrintText는 데이터가 바인딩 된 경우 각 행(ctx.row)의 데이터를 반환함.
10090
+ *
10091
+ * @param ctx PrintContext
10092
+ * @param band 바인딩된 밴드 데이터
10093
+ * @returns 수집된 모든 텍스트(개행문자로 join됨)
10094
+ */
10095
+ private $_collectTexts;
10061
10096
  }
10062
10097
  declare class TextBandPrintInfo {
10063
10098
  band: TextBand;
@@ -14720,6 +14755,13 @@ declare abstract class ReportItem extends ReportPageItem {
14720
14755
  * 이 속성을 지정하지 않으면 value에 지정된 필드의 값으로 비교한다.
14721
14756
  */
14722
14757
  get blankFields(): string;
14758
+ /**
14759
+ * TableBandRow / SimpleBandRow.
14760
+ * equalBlank가 true일 때, 페이지가 넘어가도 이전 페이지 마지막 행과 값을 비교하여
14761
+ * 동일하면 blank 처리를 계속 적용한다.
14762
+ * false(기본값)이면 페이지 내부에서만 equalBlank를 처리한다.
14763
+ */
14764
+ get equalBlankAcrossPage(): boolean;
14723
14765
  /**
14724
14766
  * true로 지정되면 값과 상관 없이 leaf group 내의 모든 셀을 merge한다.
14725
14767
  * 또, 둘 이상의 table row로 출력되는 경우에도 이 아이템이 속한 컬럼 셀들을 모두 병합한다.
@@ -49936,6 +49978,7 @@ declare abstract class ReportViewBase {
49936
49978
  get page(): number;
49937
49979
  set page(v: number);
49938
49980
  get reportHtml(): string;
49981
+ get editableItems(): ReportEditableItem[];
49939
49982
  getHtml(): string;
49940
49983
  first(): void;
49941
49984
  prev(): void;
@@ -50253,6 +50296,10 @@ type ReportFormSet = {
50253
50296
  dataSet?: ReportDataSet;
50254
50297
  };
50255
50298
  type ReportFormSets = ReportFormSet[];
50299
+ type ReportEditableItem = {
50300
+ name: string;
50301
+ value: unknown;
50302
+ };
50256
50303
 
50257
50304
  type CommonStyleName = 'color' | 'backgroundColor' | 'fontSize' | 'fontWeight' | 'textAlign' | 'padding' | 'paddingLeft' | 'paddingRightt' | 'paddingTop' | 'paddingBottom';
50258
50305
  type CommonStyles = {
@@ -50507,4 +50554,4 @@ declare const IMG_EXPORT_DEFAULT_OPTIONS: ImageExportOptions;
50507
50554
  */
50508
50555
  declare const ZOOM_ERROR_MESSAGE = "\uD398\uC774\uC9C0 \uBC30\uC728 \uAC12\uC774 100%\uC778 \uACBD\uC6B0\uB9CC \uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uAC00\uB2A5\uD569\uB2C8\uB2E4. \uD398\uC774\uC9C0 \uBC30\uC728 \uAC12\uC774 100%\uC778\uC9C0 \uD655\uC778\uD574 \uC8FC\uC138\uC694.";
50509
50556
 
50510
- export { DOC_EXPORT_DEFAULT_OPTIONS, DocumentExportBlobOptions, DocumentExportOptions, DocumentsExportFromDataOptions, ExportImageOptions, FontStore, GridReportHeader, GridReportItemSource, GridReportLayout, GridReportLayoutHeader, GridReportOptions, GridReportSaveOptions, GridReportTitle, GridReportViewer, IMG_EXPORT_DEFAULT_OPTIONS, ImageExportBlobOptions, ImageExportOptions, LayoutColumn, PDFExportBlobOptions, PDFExportOptions, PreviewOptions, PrintOptions, ReportCompositeViewer, ReportData, ReportDataSet, ReportForm, ReportFormSet, ReportFormSets, ReportOptions, ReportViewer, ZOOM_ERROR_MESSAGE, getVersion, setLicenseKey };
50557
+ export { DOC_EXPORT_DEFAULT_OPTIONS, DocumentExportBlobOptions, DocumentExportOptions, DocumentsExportFromDataOptions, ExportImageOptions, FontStore, GridReportHeader, GridReportItemSource, GridReportLayout, GridReportLayoutHeader, GridReportOptions, GridReportSaveOptions, GridReportTitle, GridReportViewer, IMG_EXPORT_DEFAULT_OPTIONS, ImageExportBlobOptions, ImageExportOptions, LayoutColumn, PDFExportBlobOptions, PDFExportOptions, PreviewOptions, PrintOptions, ReportCompositeViewer, ReportData, ReportDataSet, ReportEditableItem, ReportForm, ReportFormSet, ReportFormSets, ReportOptions, ReportViewer, ZOOM_ERROR_MESSAGE, getVersion, setLicenseKey };