realreport 1.11.21 → 1.11.23

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.21
2
+ RealReport v1.11.23
3
3
  Copyright (C) 2013-2026 WooriTech Inc.
4
4
  All Rights Reserved.
5
5
  */
@@ -1088,7 +1088,6 @@ border-bottom: 1px solid #ccc; */
1088
1088
 
1089
1089
  .rr-crosstab-head {
1090
1090
  padding: 2px 1px !important;
1091
- font-size: 10px;
1092
1091
  text-align: center;
1093
1092
  background-color: "#f0f0f0";
1094
1093
  }
@@ -1,7 +1,7 @@
1
1
  /// <reference types="pdfkit" />
2
2
  /**
3
- * RealReport v1.11.21
4
- * commit 2ef8016
3
+ * RealReport v1.11.23
4
+ * commit 871e98a
5
5
 
6
6
  * {@link https://real-report.com}
7
7
  * Copyright (C) 2013-2026 WooriTech Inc.
@@ -12,10 +12,10 @@ import { Cvfo, Style } from 'exceljs';
12
12
  import { ExportOptions as ExportOptions$1 } from '@realgrid/realchart';
13
13
 
14
14
  /**
15
- * RealReport Core v1.11.21
15
+ * RealReport Core v1.11.23
16
16
  * Copyright (C) 2013-2026 WooriTech Inc.
17
17
  * All Rights Reserved.
18
- * commit 4bffe548e8787ebc316be46295c5571dde972305
18
+ * commit 2e80c0e2834efff45313765dbfe3331476fcfbcd
19
19
  */
20
20
 
21
21
 
@@ -2780,11 +2780,16 @@ declare class TableBandDataRow extends TableBandSection {
2780
2780
  static readonly PROP_EQUAL_BLANK = "equalBlank";
2781
2781
  static readonly PROP_BLANK_FIELDS = "blankFields";
2782
2782
  static readonly PROP_MERGED_IN_GROUP = "mergedInGroup";
2783
+ static readonly PROP_PARAGRAPH_FLOW = "paragraphFlow";
2784
+ static readonly PROPINFOS: IPropInfo[];
2783
2785
  static readonly CHILD_PROPS: IPropInfo[];
2784
2786
  static readonly $_ctor: string;
2785
2787
  private _blankItems;
2788
+ private _paragraphFlow;
2786
2789
  masterRow: number;
2787
2790
  get blankItems(): ReportItem[];
2791
+ get paragraphFlow(): boolean;
2792
+ set paragraphFlow(value: boolean);
2788
2793
  canBlank(item: ReportItem, row: number): boolean;
2789
2794
  getMergedColumns(): number[];
2790
2795
  getMergedCells(): TableCell$2[];
@@ -2796,6 +2801,9 @@ declare class TableBandDataRow extends TableBandSection {
2796
2801
  protected _getChildPropInfos(item: ReportItem): IPropInfo[];
2797
2802
  protected _doLoadChild(child: ReportItem, src: any): void;
2798
2803
  protected _doPreparePrint(ctx: PrintContext$1): void;
2804
+ getEditProps(): IPropInfo[];
2805
+ protected _doLoad(loader: IReportLoader, src: any): void;
2806
+ protected _doSave(target: object): void;
2799
2807
  private $_collectBlankItems;
2800
2808
  }
2801
2809
  declare class TableBandRowGroupSection extends TableBase {
@@ -2826,6 +2834,7 @@ declare class TableBandRowGroupHeader extends TableBandRowGroupSection {
2826
2834
  get outlineLabel(): string;
2827
2835
  get pathLabel(): string;
2828
2836
  canDelete(): boolean;
2837
+ protected _getEditProps(): IPropInfo[];
2829
2838
  }
2830
2839
  declare class TableBandRowGroupFooter extends TableBandRowGroupSection {
2831
2840
  static readonly PROP_MERGED = "merged";
@@ -3044,7 +3053,6 @@ declare class TableContainerCellItem extends TableCellItem {
3044
3053
  * 페이지를 넘어갈 수 없다.
3045
3054
  */
3046
3055
  declare class TableContainer extends TableBase {
3047
- static readonly PROP_BASE_TABLE = "baseTable";
3048
3056
  static readonly PROP_COL_COUNT = "colCount";
3049
3057
  static readonly PROP_COLUMNS = "columns";
3050
3058
  static readonly PROPINFOS: IPropInfo[];
@@ -3052,20 +3060,12 @@ declare class TableContainer extends TableBase {
3052
3060
  static readonly DEFAULT_COL_COUNT = 4;
3053
3061
  static readonly $_ctor: string;
3054
3062
  static readonly ITEM_TYPE = "Table";
3055
- private _baseTable;
3056
3063
  private _colCount;
3057
- private _baseContainer;
3058
3064
  private _columns;
3059
3065
  constructor(name: string);
3060
3066
  changeColumnWidth(col: number, delta: number): void;
3061
3067
  getColumnWidth(col: number): ValueString;
3062
3068
  get outlineItems(): IOutlineSource[];
3063
- /**
3064
- * 기준 table의 name.
3065
- * 기준 table의 cell 너비 설정을 따라간다.
3066
- */
3067
- get baseTable(): string;
3068
- set baseTable(value: string);
3069
3069
  /** cols */
3070
3070
  get colCount(): number;
3071
3071
  set colCount(value: number);
@@ -3076,6 +3076,7 @@ declare class TableContainer extends TableBase {
3076
3076
  addColumn(index: number, column: TableColumn): TableColumn;
3077
3077
  canMoveColumns(col: number, count: number, newCol: number, alert?: boolean): boolean;
3078
3078
  moveColumns(col: number, count: number, newCol: number, force?: boolean): boolean;
3079
+ getWidth(domain: number): number;
3079
3080
  getSaveType(): string;
3080
3081
  get outlineLabel(): string;
3081
3082
  get pathLabel(): string;
@@ -3089,7 +3090,6 @@ declare class TableContainer extends TableBase {
3089
3090
  protected _doSave(target: object): void;
3090
3091
  protected _createCell(item: ReportItem): TableContainerCellItem;
3091
3092
  getCellWidths(): DimensionCollection;
3092
- prepareLayout(): TableCellSpan[][];
3093
3093
  isAncestorOf(item: ReportPageItem): boolean;
3094
3094
  private $_columnChanged;
3095
3095
  }
@@ -3829,6 +3829,31 @@ declare class CrosstabCellCollection {
3829
3829
  private $_buildCells;
3830
3830
  }
3831
3831
 
3832
+ declare class CrosstabFieldHeader extends ReportItem {
3833
+ static readonly PROP_TEXT = "text";
3834
+ static readonly PROP_SUFFIX = "suffix";
3835
+ static readonly PROPINFOS: IPropInfo[];
3836
+ static readonly $_ctor: string;
3837
+ private _text;
3838
+ private _suffix;
3839
+ private _field;
3840
+ constructor(field: CrosstabField, source: any);
3841
+ get field(): CrosstabField;
3842
+ /** text */
3843
+ get text(): string;
3844
+ set text(value: string);
3845
+ /** suffix */
3846
+ get suffix(): string;
3847
+ set suffix(value: string);
3848
+ get page(): ReportPageBase;
3849
+ get outlineSource(): IOutlineSource;
3850
+ protected _getEditProps(): IPropInfo[];
3851
+ protected _getStyleProps(): string[];
3852
+ getSaveLabel(): string;
3853
+ protected _doLoad(loader: IReportLoader, src: any): void;
3854
+ protected _doSave(target: object): void;
3855
+ }
3856
+
3832
3857
  /**
3833
3858
  * 필드 summary 영역 (column 혹은 row)헤더 셀에 대한 설정.
3834
3859
  */
@@ -3881,31 +3906,6 @@ declare class CrosstabFieldSummary extends ReportItem {
3881
3906
  protected _doSave(target: object): void;
3882
3907
  }
3883
3908
 
3884
- declare class CrosstabFieldHeader extends ReportItem {
3885
- static readonly PROP_TEXT = "text";
3886
- static readonly PROP_SUFFIX = "suffix";
3887
- static readonly PROPINFOS: IPropInfo[];
3888
- static readonly $_ctor: string;
3889
- private _text;
3890
- private _suffix;
3891
- private _field;
3892
- constructor(field: CrosstabField, source: any);
3893
- get field(): CrosstabField;
3894
- /** text */
3895
- get text(): string;
3896
- set text(value: string);
3897
- /** suffix */
3898
- get suffix(): string;
3899
- set suffix(value: string);
3900
- get page(): ReportPageBase;
3901
- get outlineSource(): IOutlineSource;
3902
- protected _getEditProps(): IPropInfo[];
3903
- protected _getStyleProps(): string[];
3904
- getSaveLabel(): string;
3905
- protected _doLoad(loader: IReportLoader, src: any): void;
3906
- protected _doSave(target: object): void;
3907
- }
3908
-
3909
3909
  declare abstract class CrosstabField extends ReportItemCollectionItem {
3910
3910
  static readonly PROP_FIELD = "field";
3911
3911
  static readonly PROPINFOS: IPropInfo[];
@@ -3939,6 +3939,9 @@ declare abstract class CrosstabField extends ReportItemCollectionItem {
3939
3939
  protected _changed(prop: string, newValue: any, oldValue: any): void;
3940
3940
  protected _doLoad(src: any): void;
3941
3941
  protected _doSave(target: any): any;
3942
+ getPropDomain(prop: IPropInfo): any[];
3943
+ private getDataFieldNames;
3944
+ private getData;
3942
3945
  }
3943
3946
  declare class CrosstabRowField extends CrosstabField {
3944
3947
  static readonly $_ctor: string;
@@ -4037,23 +4040,6 @@ declare class CrosstabSummaryColumn extends CrosstabColumn {
4037
4040
  getHeader(): string;
4038
4041
  }
4039
4042
 
4040
- declare abstract class CrosstabRowBase {
4041
- abstract slice(count: number): any[];
4042
- abstract getValue(index: number): any;
4043
- abstract getColumnCell(column: CrosstabColumn): CrosstabCell;
4044
- }
4045
-
4046
- declare class CrosstabRowCollection {
4047
- private _band;
4048
- private _rows;
4049
- constructor(band: CrosstabBand);
4050
- get rowCount(): number;
4051
- getRow(index: number): CrosstabRowBase;
4052
- build(data: BandArrayData, cells: CrosstabCellCollection): void;
4053
- private $_collectRows;
4054
- private $_collectSummaryRows;
4055
- }
4056
-
4057
4043
  /**
4058
4044
  * @internal
4059
4045
  *
@@ -4094,6 +4080,23 @@ declare class CrosstabNullValue extends ReportItem {
4094
4080
  protected _doSave(target: object): void;
4095
4081
  }
4096
4082
 
4083
+ declare abstract class CrosstabRowBase {
4084
+ abstract slice(count: number): any[];
4085
+ abstract getValue(index: number): any;
4086
+ abstract getColumnCell(column: CrosstabColumn): CrosstabCell;
4087
+ }
4088
+
4089
+ declare class CrosstabRowCollection {
4090
+ private _band;
4091
+ private _rows;
4092
+ constructor(band: CrosstabBand);
4093
+ get rowCount(): number;
4094
+ getRow(index: number): CrosstabRowBase;
4095
+ build(data: BandArrayData, cells: CrosstabCellCollection): void;
4096
+ private $_collectRows;
4097
+ private $_collectSummaryRows;
4098
+ }
4099
+
4097
4100
  type CrosstabFieldCell = CrosstabField | CrosstabFieldHeader | CrosstabFieldSummary | CrosstabFieldSummaryHeader;
4098
4101
  /**
4099
4102
  * Crosstab band.
@@ -4103,7 +4106,6 @@ type CrosstabFieldCell = CrosstabField | CrosstabFieldHeader | CrosstabFieldSumm
4103
4106
  declare class CrosstabBand extends ReportGroupItem {
4104
4107
  static readonly PROP_TITLE = "title";
4105
4108
  static readonly PROP_NULL_VALUE = "nullValue";
4106
- static readonly PROP_MAX_ROW_COUNT = "maxRowCount";
4107
4109
  static readonly PROP_NO_SPLIT = "noSplit";
4108
4110
  static readonly PROP_VALUES_ON_ROWS = "valuesOnRows";
4109
4111
  static readonly PROPINFOS: IPropInfo[];
@@ -4111,7 +4113,6 @@ declare class CrosstabBand extends ReportGroupItem {
4111
4113
  static isFieldCell(item: ReportPageItem): boolean;
4112
4114
  static getFieldOf(cell: CrosstabFieldCell): CrosstabField;
4113
4115
  static getBandOf(cell: CrosstabFieldCell): CrosstabBand;
4114
- private _maxRowCount;
4115
4116
  private _noSplit;
4116
4117
  private _valuesOnRows;
4117
4118
  private _title;
@@ -4125,11 +4126,6 @@ declare class CrosstabBand extends ReportGroupItem {
4125
4126
  pageNo: number;
4126
4127
  rowIndex: number;
4127
4128
  constructor(name: string);
4128
- /**
4129
- * Cross table 생성시 사용될 원본 데이터 최대 행 수.
4130
- */
4131
- get maxRowCount(): number;
4132
- set maxRowCount(value: number);
4133
4129
  /**
4134
4130
  * true면 밴드 아이템 전체 높이가 출력 페이지의 남은 높이 보다 클 경우 다음 페이지에 출력한다. #612
4135
4131
  */
@@ -4176,6 +4172,8 @@ declare class CrosstabBand extends ReportGroupItem {
4176
4172
  isAncestorOf(item: ReportPageItem): boolean;
4177
4173
  protected _doLoad(loader: IReportLoader, src: any): void;
4178
4174
  protected _doSave(target: any): void;
4175
+ canAdd(item: ReportItem): boolean;
4176
+ canResize(dir: ResizeDirection): boolean;
4179
4177
  _fieldsChanged(field: CrosstabField): void;
4180
4178
  }
4181
4179
 
@@ -4750,9 +4748,10 @@ declare class RCAxisLine extends RCAxisObject<RCAxisLineConfig> {
4750
4748
  }
4751
4749
 
4752
4750
  declare class RCAxisGrid extends RCAxisObject<RCAxisGridConfig> {
4751
+ static readonly PROP_GRID_VISIBLE_DEFAULT_VALUE: any;
4753
4752
  static readonly PROP_START_VISIBLE = "startVisible";
4754
- static readonly PROP_START_VISIBLE_DEFUALT_VALUE = false;
4755
4753
  static readonly PROP_END_VISIBLE = "endVisible";
4754
+ static readonly PROP_END_VISIBLE_DEFAULT_VALUE = false;
4756
4755
  static readonly PROPINFOS: IPropInfo[];
4757
4756
  private static readonly STYLES;
4758
4757
  private _startVisible;
@@ -8914,6 +8913,8 @@ declare class TextBandHeader extends TextBandSection {
8914
8913
  get outlineLabel(): string;
8915
8914
  get pathLabel(): string;
8916
8915
  canDelete(): boolean;
8916
+ protected _doLoad(loader: IReportLoader, src: any): void;
8917
+ protected _doSave(target: object): void;
8917
8918
  }
8918
8919
  declare class TextBandFooter extends TextBandSection {
8919
8920
  static readonly PROPINFOS: IPropInfo[];
@@ -8984,7 +8985,7 @@ declare class TextBand extends ReportBandItem {
8984
8985
  protected _doSave(target: object): void;
8985
8986
  }
8986
8987
 
8987
- declare class MarkdownBand extends ReportItem {
8988
+ declare class MarkdownBand extends ReportBandItem {
8988
8989
  static readonly DEFAULT_WIDTH = "100%";
8989
8990
  static readonly DEFAULT_HEIGHT = 100;
8990
8991
  static readonly ALLOWED_TAGS: string[];
@@ -9437,11 +9438,47 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
9437
9438
  detailRows: number[];
9438
9439
  };
9439
9440
  prevGroupPageBreak: PageBreakMode;
9441
+ /** paragraphFlow 모드 상태 */
9442
+ paragraphFlowState: {
9443
+ /** 현재 처리 중인 행의 각 컬럼별 라인들 [컬럼인덱스][라인인덱스] */
9444
+ columnLines: {
9445
+ r: IRect;
9446
+ line: string;
9447
+ }[][];
9448
+ /** 현재 처리 중인 DataRow 내 행 인덱스 (Row Count가 2이상인 경우) */
9449
+ rowIndex: number;
9450
+ /** 모든 행의 각 컬럼별 라인들 [행인덱스][컬럼인덱스][라인인덱스] */
9451
+ allColumnLines: {
9452
+ r: IRect;
9453
+ line: string;
9454
+ }[][][];
9455
+ /** 각 행의 각 컬럼별 원본 텍스트 (repeat 속성용) [행인덱스][컬럼인덱스] */
9456
+ originalTexts: string[][];
9457
+ /** 각 행의 각 컬럼별 한 페이지 출력 가능 여부 (repeat 적용 조건) [행인덱스][컬럼인덱스] */
9458
+ canRepeat: boolean[][];
9459
+ } | null;
9440
9460
  isEnded(): boolean;
9441
9461
  getRows(): any[];
9442
9462
  resetRowIndex(): void;
9443
9463
  rollback(page: HTMLDivElement): void;
9444
9464
  getNextPage(doc: Document, ctx: PrintContext$1, pageWidth: number, parent: HTMLDivElement): HTMLDivElement | null;
9465
+ /**
9466
+ * paragraphFlowLines에서 현재 페이지에 맞는 라인들을 추출하여 trs에 적용
9467
+ * @returns 출력된 경우 { itemHeight, linesRemaining }, 출력할 라인이 없으면 null
9468
+ */
9469
+ private $_printParagraphFlowLines;
9470
+ /**
9471
+ * paragraphFlow 상태 초기화 (리셋)
9472
+ */
9473
+ private $_resetParagraphFlowState;
9474
+ /**
9475
+ * paragraphFlow 상태 생성 및 초기화
9476
+ */
9477
+ private $_createParagraphFlowState;
9478
+ /**
9479
+ * 콘텐츠가 한 페이지에 출력 가능한지 계산
9480
+ */
9481
+ private $_calculateFitsInOnePage;
9445
9482
  getNoPagingPage(doc: Document, ctx: PrintContext$1, width: number, parent: HTMLDivElement): HTMLDivElement | null;
9446
9483
  getEmptyDataBandPage(doc: Document, ctx: PrintContext$1, bandPrintInfo: TableBandPrintInfo, pageWidth: number, parent: HTMLDivElement): HTMLDivElement | null;
9447
9484
  private $_createContainer;
@@ -9530,6 +9567,7 @@ declare class TableBandElement extends BandElement<TableBand> implements ITable
9530
9567
  getColRect(col: number, count?: number): IRect;
9531
9568
  getTableView(table: TableBase): TableView;
9532
9569
  getTableViews(): TableView[];
9570
+ isTextLineOverflowEligible(band: TableBand): boolean;
9533
9571
  get debugLabel(): string;
9534
9572
  protected _getCssSelector(): string;
9535
9573
  protected _needDesignBox(): boolean;
@@ -9961,6 +9999,7 @@ declare class BandGroupElement extends ReportGroupItemElement<BandGroup> {
9961
9999
  private _cellPts;
9962
10000
  getCellPoints(): number[];
9963
10001
  prepareAsync(doc: Document, ctx: PrintContext$1, width: number, masterBandRow?: number): BandGroupPrintInfo;
10002
+ runStyleCallback(itemStyle: Styles, ctx: PrintContext$1, model: ReportItem): Styles;
9964
10003
  get debugLabel(): string;
9965
10004
  protected _needDesignBox(): boolean;
9966
10005
  protected _getCssSelector(): string;
@@ -9983,6 +10022,7 @@ declare class BandGroupPrintInfo extends BandPrintInfo<BandGroup> {
9983
10022
  left: string;
9984
10023
  gap: number;
9985
10024
  bandWidth: number;
10025
+ bandView: BandGroupElement;
9986
10026
  isEnded(): boolean;
9987
10027
  getRows(): any[];
9988
10028
  rollback(page: HTMLDivElement): void;