realreport 1.4.2 → 1.6.0

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,18 +1,19 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="pdfkit" />
2
3
  /**
3
- * RealReport v1.4.2
4
- * commit 642bc5d
4
+ * RealReport v1.6.0
5
+ * commit 646372e
5
6
 
6
- * Copyright (C) 2013-2022 WooriTech Inc.
7
+ * Copyright (C) 2013-2023 WooriTech Inc.
7
8
  https://real-report.com
8
9
  * All Rights Reserved.
9
10
  */
10
11
 
11
12
  /**
12
- * RealReport Core v1.4.2
13
- * Copyright (C) 2013-2022 WooriTech Inc.
13
+ * RealReport Core v1.6.0
14
+ * Copyright (C) 2013-2023 WooriTech Inc.
14
15
  * All Rights Reserved.
15
- * commit c40fc49cbf656d9483a0fd72852cb2ba6efb8454
16
+ * commit 60c355abf73e264b6f108ea3e25004a3296d930b
16
17
  */
17
18
 
18
19
 
@@ -72,9 +73,11 @@ declare class Dimension {
72
73
  equals(other: any): boolean;
73
74
  toString(): string;
74
75
  getValue(): any;
76
+ getValueNull(): any;
75
77
  getPixel(domain: number): number;
76
78
  getFixedPixel(): number;
77
79
  $_getPixel(): number;
80
+ getFixedInch(): number;
78
81
  }
79
82
  /**
80
83
  * 상수로 다룬다.
@@ -111,6 +114,12 @@ declare enum PageBreakMode {
111
114
  AFTER = "after",
112
115
  BOTH = "both"
113
116
  }
117
+ declare enum LinkTarget {
118
+ SELF = "_self",
119
+ BLANK = "_blank",
120
+ PARENT = "_parent",
121
+ TOP = "_top"
122
+ }
114
123
  declare enum ResizeDirection {
115
124
  LEFT = "left",
116
125
  RIGHT = "right",
@@ -136,6 +145,56 @@ interface FindOptions {
136
145
  regularExpression?: boolean;
137
146
  inSelection?: boolean;
138
147
  }
148
+ declare enum BoxItemsAlign {
149
+ START = "start",
150
+ MIDDLE = "middle",
151
+ END = "end"
152
+ }
153
+ declare enum AnchorPosition {
154
+ CENTER = "center",
155
+ LEFT = "left",
156
+ RIGHT = "right",
157
+ TOP = "top",
158
+ BOTTOM = "bottom",
159
+ INNER_LEFT = "innerLeft",
160
+ INNER_RIGHT = "innerRight",
161
+ INNER_TOP = "innerTop",
162
+ INNER_BOTTOM = "innerBottom"
163
+ }
164
+ declare enum HichartStacking {
165
+ NORMAL = "normal",
166
+ PERCENT = "percent"
167
+ }
168
+ declare enum HichartDash {
169
+ DASH = "Dash",
170
+ DASH_DOT = "DashDot",
171
+ DOT = "Dot",
172
+ LONG_DASH = "LongDash",
173
+ LONG_DASH_DOT = "LongDashDot",
174
+ LONG_DASH_DOT_DOT = "LongDashDotDot",
175
+ SHORT_DASH = "ShortDash",
176
+ SHORT_DASH_DOT = "ShortDashDot",
177
+ SHORT_DASH_DOT_DOT = "ShortDashDotDot",
178
+ SHORT_DOT = "ShortDot",
179
+ SOLID = "Solid"
180
+ }
181
+ declare enum HichartLegendLayout {
182
+ HORIZONTAL = "horizontal",
183
+ VERTICAL = "vertical",
184
+ PROXIMATE = "proximate"
185
+ }
186
+ declare enum BandSectionLayout {
187
+ ACROSS_DOWN = "acrossDown",
188
+ DOWN_ACROSS = "downAcross"
189
+ }
190
+ declare enum CrosstabSummary {
191
+ SUM = "sum",
192
+ AVG = "avg",
193
+ MIN = "min",
194
+ MAX = "max",
195
+ COUNT = "count",
196
+ DISTINCT = "distinct"
197
+ }
139
198
 
140
199
  declare type ConfigObject$1 = {
141
200
  [key: string]: any;
@@ -192,6 +251,12 @@ interface IRect extends IPoint {
192
251
  width: number;
193
252
  height: number;
194
253
  }
254
+ interface ISides {
255
+ left: number;
256
+ top: number;
257
+ right: number;
258
+ bottom: number;
259
+ }
195
260
  /** @internal */
196
261
  declare class Rectangle$1 implements IRect {
197
262
  x: number;
@@ -1018,6 +1083,8 @@ declare abstract class VisualElement$1 extends EventAware$1 {
1018
1083
  hitTest(x: number, y: number): boolean;
1019
1084
  findChildAt(x: number, y: number, hitTesting: boolean, blockLayer: boolean): VisualElement$1;
1020
1085
  findChildOf(dom: Element): VisualElement$1;
1086
+ internalSetX(x: number): void;
1087
+ internalSetY(y: number): void;
1021
1088
  move(x: number, y: number, draw?: boolean): void;
1022
1089
  moveBy(dx: number, dy: number, draw?: boolean): void;
1023
1090
  resize(width: number, height: number, draw?: boolean): void;
@@ -1096,6 +1163,7 @@ declare abstract class PropertyItem extends Base$1 {
1096
1163
  hasColor(): boolean;
1097
1164
  }
1098
1165
  declare class PropertyGroup extends Base$1 {
1166
+ static readonly $_ctor: string;
1099
1167
  private _label;
1100
1168
  private _items;
1101
1169
  private _pool;
@@ -1149,11 +1217,6 @@ declare class PageItemContainer extends BoundedContainer {
1149
1217
  protected _doSave(target: object): void;
1150
1218
  }
1151
1219
 
1152
- declare enum BoxItemsAlign {
1153
- START = "start",
1154
- MIDDLE = "middle",
1155
- END = "end"
1156
- }
1157
1220
  declare abstract class BoxContainer extends ReportGroupItem {
1158
1221
  static readonly PROP_ITEMS_ALIGN = "itemsAlign";
1159
1222
  static readonly PROP_ITEM_GAP = "itemGap";
@@ -1439,6 +1502,7 @@ declare class PageBody extends PageSection {
1439
1502
  */
1440
1503
  get bodyItems(): ReportItem[];
1441
1504
  get itemsContainer(): ColumnBoxContainer;
1505
+ get itemsAlign(): BoxItemsAlign;
1442
1506
  get outlineLabel(): string;
1443
1507
  canParentOf(itemType: string): boolean;
1444
1508
  canResize(dir: ResizeDirection): boolean;
@@ -1777,7 +1841,8 @@ declare class DesignDataManager extends EventAware$1 implements IReportDataProvi
1777
1841
  removeData(data: string | IReportData): IReportData;
1778
1842
  dataNameChanged(data: IReportData, oldName: string): void;
1779
1843
  fieldNameChanged?(data: IReportData, newName: string, oldName: string): void;
1780
- load(source: any): DesignDataManager;
1844
+ clear(): DesignDataManager;
1845
+ load(source: any, clear?: boolean): DesignDataManager;
1781
1846
  save(target: object): void;
1782
1847
  getFieldIndex(data: string, field: string): number;
1783
1848
  updateField(data: BandData, index: number, field: IBandDataField): void;
@@ -1817,6 +1882,7 @@ declare abstract class TableCellItem extends CellGroup {
1817
1882
  declare class TableRow extends ReportItemCollectionItem {
1818
1883
  static readonly PROP_HEIGHT = "height";
1819
1884
  private static readonly styleProps;
1885
+ static readonly $_ctor: string;
1820
1886
  static readonly PROPINFOS: IPropInfo[];
1821
1887
  private _height;
1822
1888
  private _index;
@@ -1853,6 +1919,7 @@ declare class TableRowCollection extends ReportItemCollection<TableRow> {
1853
1919
  private _table;
1854
1920
  private _rows;
1855
1921
  private _heights;
1922
+ static readonly $_ctor: string;
1856
1923
  constructor(table?: TableBase);
1857
1924
  get outlineParent(): IOutlineSource;
1858
1925
  get outlineLabel(): string;
@@ -1915,6 +1982,7 @@ declare class TableCell$1 extends ReportItemCollectionItem {
1915
1982
  static readonly PROP_APPLY_END_STYLES = "applyEndStyles";
1916
1983
  static readonly PROP_ON_GET_STYLES = "onGetStyles";
1917
1984
  static readonly PROP_STYLE_CALLBACK = "styleCallback";
1985
+ static readonly $_ctor: string;
1918
1986
  static readonly PROPINFOS: IPropInfo[];
1919
1987
  private static readonly styleProps;
1920
1988
  private _colspan;
@@ -1950,6 +2018,7 @@ declare class TableCell$1 extends ReportItemCollectionItem {
1950
2018
  set rowspan(value: number);
1951
2019
  /**
1952
2020
  * true면 span 됐을 때 마지막 셀에 해당하는 tableRowStyles, tableColumnStyles를 적용한다.
2021
+ * autoMerge된 셀의 rowspan은 적용되지 않는다.
1953
2022
  */
1954
2023
  get applyEndStyles(): boolean;
1955
2024
  set applyEndStyles(value: boolean);
@@ -2000,6 +2069,7 @@ declare class TableCellCollection extends ReportItemCollection<TableCell$1> {
2000
2069
  private _table;
2001
2070
  private _cells;
2002
2071
  private _vcells;
2072
+ static readonly $_ctor: string;
2003
2073
  constructor(table?: TableBase);
2004
2074
  get outlineParent(): IOutlineSource;
2005
2075
  get outlineLabel(): string;
@@ -2405,6 +2475,7 @@ declare abstract class DataBand extends ReportGroupItem {
2405
2475
  static readonly PROP_DATA_BAND_MAX_END_ROW_COUNT = "maxEndRowCount";
2406
2476
  static readonly PROP_DATA_BAND_END_ROW_MESSAGE = "endRowMessage";
2407
2477
  static readonly PROP_DATA_BAND_ALWAYS_HEADER = "alwaysHeader";
2478
+ static readonly PROP_DATA_BAND_NO_SPLIT = "noSplit";
2408
2479
  static readonly PROPINFOS: IPropInfo[];
2409
2480
  private _sectionCount;
2410
2481
  private _sectionLayout;
@@ -2422,6 +2493,7 @@ declare abstract class DataBand extends ReportGroupItem {
2422
2493
  private _repeatDetailHeader;
2423
2494
  private _repeatDetailFooter;
2424
2495
  private _alwaysHeader;
2496
+ private _noSplit;
2425
2497
  private _detail;
2426
2498
  private _master;
2427
2499
  private _keyFlds;
@@ -2436,6 +2508,7 @@ declare abstract class DataBand extends ReportGroupItem {
2436
2508
  private _designData;
2437
2509
  private _fieldSummary;
2438
2510
  private _summaryRuntime;
2511
+ _pr: number;
2439
2512
  constructor(name: string);
2440
2513
  get dataObj(): IBandData;
2441
2514
  get designData(): IBandData;
@@ -2518,6 +2591,7 @@ declare abstract class DataBand extends ReportGroupItem {
2518
2591
  * 실제 데이터행 이후 행은 빈 행으로 표시된다.
2519
2592
  * 마지막 페이지에 적용된다.
2520
2593
  * 마지막 페이지에 출력할 수 있는 만큼만 빈 행을 출력한다.
2594
+ * band footer가 우선적으로 출력된다.
2521
2595
  * {@link endRowCount}가 0보다 큰 값으로 설정되면 이 속성은 무시된다.
2522
2596
  *
2523
2597
  * 그룹 설정과 같이 적용할 수 없다. 즉, 그룹이 설정되면 이 속성은 무시된다.
@@ -2577,6 +2651,11 @@ declare abstract class DataBand extends ReportGroupItem {
2577
2651
  */
2578
2652
  get alwaysHeader(): boolean;
2579
2653
  set alwaysHeader(value: boolean);
2654
+ /**
2655
+ * true면 밴드 아이템 전체 높이가 출력 페이지의 남은 높이 보다 클 경우 다음 페이지에 출력한다. #612
2656
+ */
2657
+ get noSplit(): boolean;
2658
+ set noSplit(value: boolean);
2580
2659
  /**
2581
2660
  * summary runtime
2582
2661
  */
@@ -2599,6 +2678,7 @@ declare abstract class DataBand extends ReportGroupItem {
2599
2678
  endRowCount: number;
2600
2679
  stopEndRow: boolean;
2601
2680
  };
2681
+ getEndRowMarker(): EndRowMarker;
2602
2682
  getCount(field: string, count: number, rows?: number[]): number;
2603
2683
  getVCount(field: string, count: number, rows?: number[]): number;
2604
2684
  getSum(field: string, count: number, rows?: number[]): number;
@@ -2633,6 +2713,7 @@ declare abstract class DataBand extends ReportGroupItem {
2633
2713
  */
2634
2714
  declare class DataBandCollection extends ReportGroupItem {
2635
2715
  static readonly PROPINFOS: IPropInfo[];
2716
+ static readonly $_ctor: string;
2636
2717
  private _owner;
2637
2718
  private _label;
2638
2719
  constructor(owner: DataBand, label: string);
@@ -2880,18 +2961,19 @@ declare class TableBand extends DataBand {
2880
2961
  static readonly PROP_COL_COUNT = "colCount";
2881
2962
  static readonly PROP_COLUMNS = "columns";
2882
2963
  static readonly PROP_GROUPS = "groups";
2964
+ static readonly PROP_END_ROW_MERGED = "endRowMerged";
2883
2965
  static readonly PROPINFOS: IPropInfo[];
2884
2966
  static readonly DEFAULT_COL_COUNT = 5;
2885
2967
  static readonly $_ctor: string;
2886
2968
  static readonly ITEM_TYPE = "Table Band";
2887
2969
  private _colCount;
2970
+ private _endRowMerged;
2888
2971
  private _columns;
2889
2972
  private _groups;
2890
2973
  private _header;
2891
2974
  private _footer;
2892
2975
  private _dataRow;
2893
2976
  private _tables;
2894
- private _pr;
2895
2977
  private _tr;
2896
2978
  private _lastTrs;
2897
2979
  constructor(name: string);
@@ -2899,6 +2981,11 @@ declare class TableBand extends DataBand {
2899
2981
  /** cols */
2900
2982
  get colCount(): number;
2901
2983
  set colCount(value: number);
2984
+ /**
2985
+ * true면 end row 행들을 하나로 묶어서 표시한다. #760
2986
+ */
2987
+ get endRowMerged(): boolean;
2988
+ set endRowMerged(value: boolean);
2902
2989
  /** columns */
2903
2990
  get columns(): TableBandColumnCollection;
2904
2991
  /** groups */
@@ -2954,6 +3041,7 @@ declare class TableBand extends DataBand {
2954
3041
  }
2955
3042
 
2956
3043
  declare class TableColumn extends TableColumnBase {
3044
+ static readonly $_ctor: string;
2957
3045
  constructor(collection: TableColumnCollection, src?: any);
2958
3046
  /** table */
2959
3047
  get table(): TableContainer;
@@ -2965,6 +3053,7 @@ declare class TableColumn extends TableColumnBase {
2965
3053
  protected _changed(prop: string, newValue: any, oldValue: any): void;
2966
3054
  }
2967
3055
  declare class TableColumnCollection extends TableColumnCollectionBase<TableContainer, TableColumn> {
3056
+ static readonly $_ctor: string;
2968
3057
  constructor(table?: TableContainer);
2969
3058
  /** table */
2970
3059
  get table(): TableContainer;
@@ -3194,7 +3283,6 @@ declare class SimpleBand extends DataBand {
3194
3283
  private _header;
3195
3284
  private _footer;
3196
3285
  private _dataRow;
3197
- private _pr;
3198
3286
  constructor(name: string);
3199
3287
  get outlineItems(): IOutlineSource[];
3200
3288
  /** groups */
@@ -3249,6 +3337,8 @@ declare class SpaceItem extends ReportItem {
3249
3337
  set size(value: ValueString);
3250
3338
  getSize(domain: number): number;
3251
3339
  getSaveType(): string;
3340
+ canAddToFrontContainer(): boolean;
3341
+ canAddToBackContainer(): boolean;
3252
3342
  get outlineLabel(): string;
3253
3343
  protected _sizable(): boolean;
3254
3344
  protected _boundable(): boolean;
@@ -3289,6 +3379,8 @@ declare class ReportElement extends VisualElement$1 {
3289
3379
  */
3290
3380
  get lazyLayout(): boolean;
3291
3381
  get floating(): boolean;
3382
+ hasModelWidth(): boolean;
3383
+ hasModelHeight(): boolean;
3292
3384
  measure(ctx: PrintContext, hintWidth: number, hintHeight: number): Size$1;
3293
3385
  layoutContent(ctx: PrintContext): void;
3294
3386
  print(doc: Document, ctx: PrintContext, w?: number): number;
@@ -3319,10 +3411,12 @@ declare class ReportElement extends VisualElement$1 {
3319
3411
  declare abstract class ReportItemElement<T extends ReportItem> extends ReportElement {
3320
3412
  protected _designView: HTMLDivElement;
3321
3413
  protected _bindMarker: HTMLSpanElement;
3414
+ private _a;
3322
3415
  private _model;
3323
3416
  protected _modelChanged: boolean;
3324
3417
  private _prevStyles;
3325
3418
  private _rotation;
3419
+ inCell: boolean;
3326
3420
  constructor(doc: Document, model?: T, name?: string);
3327
3421
  protected _doDispose(): void;
3328
3422
  /** model */
@@ -3335,7 +3429,6 @@ declare abstract class ReportItemElement<T extends ReportItem> extends ReportEle
3335
3429
  get designable(): boolean;
3336
3430
  get editable(): boolean;
3337
3431
  get isSpace(): boolean;
3338
- get isRelativeHeight(): boolean;
3339
3432
  get rotation(): number;
3340
3433
  setRotation(value: number): void;
3341
3434
  _clearDesign(): void;
@@ -3351,6 +3444,7 @@ declare abstract class ReportItemElement<T extends ReportItem> extends ReportEle
3351
3444
  findElement(modelName: string): ReportItemElement<ReportItem>;
3352
3445
  findElementOf(dom: HTMLElement): ReportItemElement<ReportItem>;
3353
3446
  getPrintValue(ctx: PrintContext, m: ReportItem, defaultValue?: any): any;
3447
+ getPrintLinkValue(ctx: PrintContext, m: ReportItem): any;
3354
3448
  protected _doModelChanged(oldModel: T): void;
3355
3449
  protected _setX(dom: HTMLElement, x: number): void;
3356
3450
  protected _setY(dom: HTMLElement, y: number): void;
@@ -3430,17 +3524,10 @@ interface ITable {
3430
3524
  getColPoints(): number[];
3431
3525
  }
3432
3526
 
3433
- declare enum CrosstabSummary {
3434
- SUM = "sum",
3435
- AVG = "avg",
3436
- MIN = "min",
3437
- MAX = "max",
3438
- COUNT = "count",
3439
- DISTINCT = "distinct"
3440
- }
3441
3527
  declare class CrosstabFieldHeader extends ReportItem {
3442
3528
  static readonly PROP_SUFFIX = "suffix";
3443
3529
  static readonly PROPINFOS: IPropInfo[];
3530
+ static readonly $_ctor: string;
3444
3531
  private _suffix;
3445
3532
  private _field;
3446
3533
  constructor(field: CrosstabField, source: any);
@@ -3462,6 +3549,7 @@ declare class CrosstabFieldHeader extends ReportItem {
3462
3549
  declare class CrosstabFieldSummaryHeader extends ReportItem {
3463
3550
  static readonly PROP_TEXT = "text";
3464
3551
  static readonly PROPINFOS: IPropInfo[];
3552
+ static readonly $_ctor: string;
3465
3553
  private _text;
3466
3554
  private _summary;
3467
3555
  constructor(summary: CrosstabFieldSummary, source: any);
@@ -3484,6 +3572,7 @@ declare class CrosstabFieldSummaryHeader extends ReportItem {
3484
3572
  */
3485
3573
  declare class CrosstabFieldSummary extends ReportItem {
3486
3574
  static readonly PROPINFOS: IPropInfo[];
3575
+ static readonly $_ctor: string;
3487
3576
  private _field;
3488
3577
  private _header;
3489
3578
  constructor(field: CrosstabField, source: any);
@@ -3566,15 +3655,18 @@ declare abstract class CrosstabFieldCollection<T extends CrosstabField> extends
3566
3655
  }
3567
3656
  declare type CrosstabFieldCell = CrosstabField | CrosstabFieldHeader | CrosstabFieldSummary | CrosstabFieldSummaryHeader;
3568
3657
  declare class CrosstabRowField extends CrosstabField {
3658
+ static readonly $_ctor: string;
3569
3659
  get itemType(): string;
3570
3660
  getCollectionLabel(): string;
3571
3661
  }
3572
3662
  declare class CrosstabRowFieldCollection extends CrosstabFieldCollection<CrosstabRowField> {
3663
+ static readonly $_ctor: string;
3573
3664
  constructor(owner: CrosstabBand);
3574
3665
  protected _createField(src: any): CrosstabRowField;
3575
3666
  }
3576
3667
  declare class CrosstabColumnField extends CrosstabField {
3577
3668
  static readonly PROPINFOS: IPropInfo[];
3669
+ static readonly $_ctor: string;
3578
3670
  private _prefix;
3579
3671
  private _suffix;
3580
3672
  constructor(collection: CrosstabColumnFieldCollection, source: any);
@@ -3585,6 +3677,7 @@ declare class CrosstabColumnField extends CrosstabField {
3585
3677
  protected _doSave(target: any): any;
3586
3678
  }
3587
3679
  declare class CrosstabColumnFieldCollection extends CrosstabFieldCollection<CrosstabColumnField> {
3680
+ static readonly $_ctor: string;
3588
3681
  constructor(owner: CrosstabBand);
3589
3682
  protected _createField(src: any): CrosstabColumnField;
3590
3683
  }
@@ -3595,6 +3688,7 @@ declare class CrosstabValueField extends CrosstabField {
3595
3688
  static readonly PROP_SUFFIX = "suffix";
3596
3689
  static readonly PROP_FORMAT = "format";
3597
3690
  static readonly PROPINFOS: IPropInfo[];
3691
+ static readonly $_ctor: string;
3598
3692
  private _value;
3599
3693
  private _prefix;
3600
3694
  private _suffix;
@@ -3625,6 +3719,7 @@ declare class CrosstabValueField extends CrosstabField {
3625
3719
  protected _doSave(target: object): void;
3626
3720
  }
3627
3721
  declare class CrosstabValueFieldCollection extends CrosstabFieldCollection<CrosstabValueField> {
3722
+ static readonly $_ctor: string;
3628
3723
  constructor(owner: CrosstabBand);
3629
3724
  protected _createField(src: any): CrosstabValueField;
3630
3725
  }
@@ -3660,8 +3755,10 @@ declare class CellCollection {
3660
3755
  private $_buildCells;
3661
3756
  }
3662
3757
  declare class CrosstabColumn {
3758
+ static readonly $_ctor: string;
3663
3759
  hash: number;
3664
3760
  parent: CrosstabColumn;
3761
+ vlevel: number;
3665
3762
  protected _field: CrosstabColumnField;
3666
3763
  private _value;
3667
3764
  private _children;
@@ -3679,6 +3776,8 @@ declare class CrosstabColumn {
3679
3776
  addSummary(column: CrosstabSummaryColumn): void;
3680
3777
  sort(): void;
3681
3778
  getHeader(): string;
3779
+ ancestorByLevel(level: number): CrosstabColumn;
3780
+ ancestorByVlevel(level: number): CrosstabColumn;
3682
3781
  }
3683
3782
  declare class CrosstabLeafColumn extends CrosstabColumn {
3684
3783
  protected _valueField: CrosstabValueField;
@@ -3774,12 +3873,14 @@ declare class CrosstabBand extends ReportGroupItem {
3774
3873
  static readonly PROP_TITLE = "title";
3775
3874
  static readonly PROP_NULL_VALUE = "nullValue";
3776
3875
  static readonly PROP_MAX_ROW_COUNT = "maxRowCount";
3876
+ static readonly PROP_NO_SPLIT = "noSplit";
3777
3877
  static readonly PROPINFOS: IPropInfo[];
3778
3878
  static readonly $_ctor: string;
3779
3879
  static isFieldCell(item: ReportPageItem): boolean;
3780
3880
  static getFieldOf(cell: CrosstabFieldCell): CrosstabField;
3781
3881
  static getBandOf(cell: CrosstabFieldCell): CrosstabBand;
3782
3882
  private _maxRowCount;
3883
+ private _noSplit;
3783
3884
  private _title;
3784
3885
  private _nullValue;
3785
3886
  private _rowFields;
@@ -3796,6 +3897,11 @@ declare class CrosstabBand extends ReportGroupItem {
3796
3897
  */
3797
3898
  get maxRowCount(): number;
3798
3899
  set maxRowCount(value: number);
3900
+ /**
3901
+ * true면 밴드 아이템 전체 높이가 출력 페이지의 남은 높이 보다 클 경우 다음 페이지에 출력한다. #612
3902
+ */
3903
+ get noSplit(): boolean;
3904
+ set noSplit(value: boolean);
3799
3905
  /**
3800
3906
  * title
3801
3907
  */
@@ -3875,6 +3981,7 @@ declare class PaperOptions extends Base$1 {
3875
3981
  /** size */
3876
3982
  get size(): PaperSize;
3877
3983
  set size(value: PaperSize);
3984
+ private $_checkSize;
3878
3985
  /** width */
3879
3986
  get width(): ValueString;
3880
3987
  set width(value: ValueString);
@@ -3895,6 +4002,7 @@ declare class PaperOptions extends Base$1 {
3895
4002
  set marginBottom(value: ValueString);
3896
4003
  load(src: any): void;
3897
4004
  getPageSize(): Size$1;
4005
+ getMargins(): ISides;
3898
4006
  getContentRect(r: Rectangle$1): Rectangle$1;
3899
4007
  getClientRect(): Rectangle$1;
3900
4008
  applyExtents(css: CSSStyleDeclaration): void;
@@ -3927,6 +4035,7 @@ declare class ReportRootItem extends ReportGroupItem {
3927
4035
  static readonly PROP_REPORT_AUTHOR = "author";
3928
4036
  static readonly PROP_REPORT_VERSION = "version";
3929
4037
  static readonly PROP_REPORT_DESCRIPTION = "description";
4038
+ static readonly PROP_PRINT_MAX_PAGE_COUNT = "maxPageCount";
3930
4039
  static readonly PROP_PAPER_ORIENTATION = "paperOrientation";
3931
4040
  static readonly PROP_PAPER_SIZE = "paperSize";
3932
4041
  static readonly PROP_PAPER_WIDTH = "paperWidth";
@@ -3938,6 +4047,7 @@ declare class ReportRootItem extends ReportGroupItem {
3938
4047
  static readonly PROPINFOS: IPropInfo[];
3939
4048
  static readonly $_ctor: string;
3940
4049
  private _report;
4050
+ private _maxPageCount;
3941
4051
  constructor(report: Report);
3942
4052
  get report(): Report;
3943
4053
  /** name */
@@ -3952,6 +4062,12 @@ declare class ReportRootItem extends ReportGroupItem {
3952
4062
  /** description */
3953
4063
  get description(): string;
3954
4064
  set description(value: string);
4065
+ /**
4066
+ * 최대 출력 페이지 수.
4067
+ * 내용에 상관 없이 이 속성에 지정한 페이지 수만큼만 출력한다.
4068
+ */
4069
+ get maxPageCount(): number;
4070
+ set maxPageCount(value: number);
3955
4071
  /** paperOrientation */
3956
4072
  get paperOrientation(): PaperOrientation;
3957
4073
  set paperOrientation(value: PaperOrientation);
@@ -4034,6 +4150,7 @@ declare class Report extends EventAware$1 implements IEditCommandStackOwner, IPr
4034
4150
  editCommandStackChanged(stack: EditCommandStack$1, cmd: EditCommand$1, undoable: boolean, redoable: boolean): void;
4035
4151
  editCommandStackDirtyChanged(stack: EditCommandStack$1): void;
4036
4152
  addCollectionItem(collection: IPropertySource): void;
4153
+ get designTime(): boolean;
4037
4154
  /** @internal */
4038
4155
  get loader(): IReportLoader;
4039
4156
  /** info */
@@ -4060,10 +4177,12 @@ declare class Report extends EventAware$1 implements IEditCommandStackOwner, IPr
4060
4177
  get canUndo(): boolean;
4061
4178
  /** canRedo */
4062
4179
  get canRedo(): boolean;
4180
+ /** dirty */
4063
4181
  get dirty(): boolean;
4064
4182
  load(src: any): Report;
4065
4183
  setSaveTagging(tag: string): Report;
4066
4184
  save(pageOnly?: boolean): object;
4185
+ getMaxPageCount(): number;
4067
4186
  prepareLayout(): void;
4068
4187
  preparePrint(ctx: PrintContext): void;
4069
4188
  getImageUrl(url: string): string;
@@ -4328,19 +4447,6 @@ declare abstract class ChartSeriesCollection<T extends ReportGroupItem> extends
4328
4447
  protected _doMoveItem(from: number, to: number): boolean;
4329
4448
  }
4330
4449
 
4331
- declare enum HichartDash {
4332
- DASH = "Dash",
4333
- DASH_DOT = "DashDot",
4334
- DOT = "Dot",
4335
- LONG_DASH = "LongDash",
4336
- LONG_DASH_DOT = "LongDashDot",
4337
- LONG_DASH_DOT_DOT = "LongDashDotDot",
4338
- SHORT_DASH = "ShortDash",
4339
- SHORT_DASH_DOT = "ShortDashDot",
4340
- SHORT_DASH_DOT_DOT = "ShortDashDotDot",
4341
- SHORT_DOT = "ShortDot",
4342
- SOLID = "Solid"
4343
- }
4344
4450
  /**
4345
4451
  * Chart title.
4346
4452
  */
@@ -4388,10 +4494,6 @@ declare class HichartSubtitle extends HichartTitle {
4388
4494
  protected _isDefaultVisible(): boolean;
4389
4495
  protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
4390
4496
  }
4391
- declare enum HichartStacking {
4392
- NORMAL = "normal",
4393
- PERCENT = "percent"
4394
- }
4395
4497
  /**
4396
4498
  * Highcharts chart item.
4397
4499
  */
@@ -4756,6 +4858,7 @@ declare abstract class HichartAxis extends ChartObject<HichartItem> {
4756
4858
  }
4757
4859
  declare class HichartXAxis extends HichartAxis {
4758
4860
  static readonly PROPINFOS: IPropInfo[];
4861
+ static readonly $_ctor: string;
4759
4862
  constructor(chart: HichartItem);
4760
4863
  getPropDomain(prop: IPropInfo): any[];
4761
4864
  getSaveLabel(): string;
@@ -4772,6 +4875,7 @@ declare class HichartYAxis extends HichartAxis {
4772
4875
  static readonly PROP_MIN = "min";
4773
4876
  static readonly PROP_MAX = "max";
4774
4877
  static readonly PROPINFOS: IPropInfo[];
4878
+ static readonly $_ctor: string;
4775
4879
  private _min;
4776
4880
  private _max;
4777
4881
  constructor(chart: HichartItem);
@@ -4843,11 +4947,6 @@ declare class HichartSeriesCollection extends ChartSeriesCollection<HichartItem>
4843
4947
  protected _createSeries(loader: IReportLoader, src: any): HichartSeries;
4844
4948
  protected _seriesChanged(series: HichartSeries): void;
4845
4949
  }
4846
- declare enum HichartLegendLayout {
4847
- HORIZONTAL = "horizontal",
4848
- VERTICAL = "vertical",
4849
- PROXIMATE = "proximate"
4850
- }
4851
4950
  declare class HichartLegend extends ChartObject<HichartItem> {
4852
4951
  static readonly PROP_HICHART_ALIGN = "align";
4853
4952
  static readonly PROP_HICHART_VERTICAL_ALIGN = "verticalAlign";
@@ -5053,6 +5152,9 @@ declare abstract class ReportItem extends ReportPageItem {
5053
5152
  static readonly PROP_PAGE_BREAK = "pageBreak";
5054
5153
  static readonly PROP_STYLE_CALLBACK = "styleCallback";
5055
5154
  static readonly PROP_ROTATION = "rotation";
5155
+ static readonly PROP_LINK_URL = "linkUrl";
5156
+ static readonly PROP_LINK_TARGET = "linkTarget";
5157
+ static readonly PROP_LINK_FIELD = "linkField";
5056
5158
  static readonly DATA_PROP: {
5057
5159
  name: string;
5058
5160
  category: PropCategory;
@@ -5070,8 +5172,19 @@ declare abstract class ReportItem extends ReportPageItem {
5070
5172
  domain: any;
5071
5173
  validate: (source: ReportItem, value: any) => void;
5072
5174
  };
5175
+ static readonly LINK_FIELD_PROP: {
5176
+ name: string;
5177
+ category: PropCategory;
5178
+ type: typeof ListableProperty;
5179
+ multiple: boolean;
5180
+ default: any;
5181
+ domain: any;
5182
+ validate: (source: ReportItem, value: any) => void;
5183
+ visible: (source: IPropertySource) => boolean;
5184
+ };
5073
5185
  static readonly PROPINFOS: IPropInfo[];
5074
5186
  static readonly SIZE_PROPINFOS: IPropInfo[];
5187
+ static readonly LINK_PROPINFOS: IPropInfo[];
5075
5188
  static readonly VALUE_PROPINFOS: IPropInfo[];
5076
5189
  static findFloatingAnchor(item: ReportPageItem): ReportItem;
5077
5190
  private _name;
@@ -5087,6 +5200,9 @@ declare abstract class ReportItem extends ReportPageItem {
5087
5200
  private _minWidth;
5088
5201
  private _minHeight;
5089
5202
  private _rotation;
5203
+ private _linkUrl;
5204
+ private _linkTarget;
5205
+ private _linkField;
5090
5206
  private _styles;
5091
5207
  private _styleCallback;
5092
5208
  private _onGetStyles;
@@ -5223,6 +5339,25 @@ declare abstract class ReportItem extends ReportPageItem {
5223
5339
  get rotation(): number;
5224
5340
  set rotation(value: number);
5225
5341
  get isRotated(): boolean;
5342
+ /**
5343
+ * linkUrl
5344
+ * linkValue의 값이 있을 경우 해당 속성은 무시된다.
5345
+ */
5346
+ get linkUrl(): string;
5347
+ set linkUrl(value: string);
5348
+ /**
5349
+ * linkTarget
5350
+ */
5351
+ get linkTarget(): LinkTarget;
5352
+ set linkTarget(value: LinkTarget);
5353
+ /**
5354
+ * 리포트에 지정된 data의 특정 값(들)을 지시하는 경로.
5355
+ * 자신으로 시작해서 Report까지 가장 가까운 곳(dataParent)에 설정된 data에서 값을 가져온다.
5356
+ * Link 기능을 사용할 수 있는 아이템에 Url로 사용이 된다.
5357
+ * print 시 해당 속성의 값이 linkUrl보다 우선 적용된다.
5358
+ */
5359
+ get linkField(): string;
5360
+ set linkField(value: string);
5226
5361
  /**
5227
5362
  * onGetValue
5228
5363
  */
@@ -5264,7 +5399,8 @@ declare abstract class ReportItem extends ReportPageItem {
5264
5399
  set designOrder(value: number);
5265
5400
  get designBorder(): boolean;
5266
5401
  set designBorder(value: boolean);
5267
- get isRelativeHeight(): boolean;
5402
+ isRelativeHeight(): boolean;
5403
+ isRelativeWidth(): boolean;
5268
5404
  /**
5269
5405
  * ColumnBoxContainer|BoundedContainer
5270
5406
  */
@@ -5320,7 +5456,7 @@ declare abstract class ReportItem extends ReportPageItem {
5320
5456
  * _loadObject(), _saveObject()에서 사용.
5321
5457
  */
5322
5458
  getSaveLabel(): string;
5323
- isContextValue(): boolean;
5459
+ isContextValue(value?: string): boolean;
5324
5460
  /**
5325
5461
  * 아이템이 특별한 부모에 포함될 때 추가되는 속성들.
5326
5462
  * 예를들어 아이템을 table의 cell로 이동시키면 table에 추가하기 전
@@ -5335,6 +5471,8 @@ declare abstract class ReportItem extends ReportPageItem {
5335
5471
  isStyleProp(prop: string): boolean;
5336
5472
  canParentOf(itemType: string): boolean;
5337
5473
  canAddTo(group: ReportGroupItem): boolean;
5474
+ canAddToFrontContainer(): boolean;
5475
+ canAddToBackContainer(): boolean;
5338
5476
  prepareLayout(printing: boolean): void;
5339
5477
  preparePrint(ctx: PrintContext): void;
5340
5478
  getLeft(domain: number): number;
@@ -5355,6 +5493,7 @@ declare abstract class ReportItem extends ReportPageItem {
5355
5493
  canResizeHeight(): boolean;
5356
5494
  resize(width: number, height: number): ReportItem;
5357
5495
  canRotate(): boolean;
5496
+ canLink(): boolean;
5358
5497
  hasStyle(style: string): boolean;
5359
5498
  getStyle(style: string): string;
5360
5499
  setStyle(style: string, value: string): void;
@@ -5374,6 +5513,7 @@ declare abstract class ReportItem extends ReportPageItem {
5374
5513
  * 출력 시 ReportItemElement에서 호출.
5375
5514
  */
5376
5515
  getPrintValue(dp: IReportDataProvider, row: number): any;
5516
+ getLinkValue(dp: IReportDataProvider, row: number): any;
5377
5517
  protected _getParentData(): string;
5378
5518
  canRemoveFrom(): boolean;
5379
5519
  canAdoptDragSource(source: any): boolean;
@@ -5458,6 +5598,8 @@ declare abstract class ReportGroupItem extends ReportItem {
5458
5598
  get(index: number): ReportItem;
5459
5599
  canContainsBand(): boolean;
5460
5600
  canContainsBandGroup(): boolean;
5601
+ canAddToFrontContainer(): boolean;
5602
+ canAddToBackContainer(): boolean;
5461
5603
  contains(item: ReportPageItem, deep?: boolean): boolean;
5462
5604
  indexOf(item: ReportPageItem): number;
5463
5605
  getNames(list: string[], recursive?: boolean): string[];
@@ -5600,17 +5742,6 @@ declare abstract class ReportItemCollection<T extends ReportPageItem> extends Re
5600
5742
  protected _indexChanged(): void;
5601
5743
  protected _doPreparePrint(ctx: PrintContext): void;
5602
5744
  }
5603
- declare enum AnchorPosition {
5604
- CENTER = "center",
5605
- LEFT = "left",
5606
- RIGHT = "right",
5607
- TOP = "top",
5608
- BOTTOM = "bottom",
5609
- INNER_LEFT = "innerLeft",
5610
- INNER_RIGHT = "innerRight",
5611
- INNER_TOP = "innerTop",
5612
- INNER_BOTTOM = "innerBottom"
5613
- }
5614
5745
  /**
5615
5746
  * 동일 그룹 내의 다른 아이템을 기준점으로 표시되는 아이템.
5616
5747
  * 자식으로 floating을 추가할 수 없다.
@@ -5686,10 +5817,6 @@ declare abstract class CellContainer extends ReportGroupItem {
5686
5817
  protected abstract _prepareCellGroup(item: ReportItem): CellGroup;
5687
5818
  protected _unprepareCellGroup(item: ReportItem): CellGroup;
5688
5819
  }
5689
- declare enum BandSectionLayout {
5690
- ACROSS_DOWN = "acrossDown",
5691
- DOWN_ACROSS = "downAcross"
5692
- }
5693
5820
 
5694
5821
  interface IPropertySource {
5695
5822
  getEditProps(): IPropInfo[];
@@ -5727,10 +5854,12 @@ declare enum PropCategory {
5727
5854
  TEXT = "text",
5728
5855
  DATA = "data",
5729
5856
  BOUND = "bound",
5857
+ LINK = "link",
5730
5858
  EVENT = "event",
5731
5859
  EDITOR = "editor",
5732
5860
  REPORT = "report",
5733
5861
  PAPER = "paper",
5862
+ PRINT = "print",
5734
5863
  BOX = "box",
5735
5864
  TABLE = "table",
5736
5865
  BARCODE = "barcode",
@@ -6284,13 +6413,13 @@ declare abstract class TextItemBase extends ReportItem {
6284
6413
  protected _doSave(target: object): void;
6285
6414
  protected _doApplyStyle(prop: string, value: string, target: CSSStyleDeclaration): boolean;
6286
6415
  canRotate(): boolean;
6416
+ canLink(): boolean;
6287
6417
  canAdoptDragSource(source: any): boolean;
6288
6418
  adoptDragSource(source: any): IDropResult;
6289
6419
  canPropAdoptDragSource(prop: IPropInfo, source: any): boolean;
6290
6420
  adoptPropDragSource(prop: IPropInfo, source: any): IDropResult;
6291
6421
  getPrintValue(dp: IReportDataProvider, row: number): any;
6292
6422
  }
6293
- declare type ContextValueCallback = (ctx: PrintContext) => any;
6294
6423
  /**
6295
6424
  * 고정된 텍스트나 데이터 필드의 값을 출력하는 아이템.
6296
6425
  */
@@ -6354,10 +6483,62 @@ declare abstract class TextItemElementBase<T extends TextItemBase> extends Repor
6354
6483
  protected abstract _getDesignText(m: T, system: boolean): string;
6355
6484
  }
6356
6485
 
6486
+ /**
6487
+ * html 속성으로 지정한 문자열을 dom의 innerHtml로 설정한다.
6488
+ * 문자열에 포함된 '${value}'나 '@{value}'는 연결된 field의 값으로 대체되고,
6489
+ * 나머지 '${xxx}', '@{xxx}'는 'xxx' 필드의 값으로 대체된다.
6490
+ */
6491
+ declare class HtmlItem extends ReportItem {
6492
+ static readonly PROP_HTML = "html";
6493
+ static readonly PROPINFOS: IPropInfo[];
6494
+ static readonly STYLE_PROPS: string[];
6495
+ static readonly $_ctor: string;
6496
+ static readonly ITEM_TYPE = "Html";
6497
+ private _html;
6498
+ private _tokens;
6499
+ constructor(name: string);
6500
+ /**
6501
+ */
6502
+ get html(): string;
6503
+ set html(value: string);
6504
+ getHtml(ctx: PrintContext): string;
6505
+ getSaveType(): string;
6506
+ get outlineLabel(): string;
6507
+ protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
6508
+ protected _getEditProps(): IPropInfo[];
6509
+ protected _getStyleProps(): string[];
6510
+ protected _doLoad(loader: IReportLoader, src: any): void;
6511
+ protected _doSave(target: object): void;
6512
+ canRotate(): boolean;
6513
+ canAdoptDragSource(source: any): boolean;
6514
+ adoptDragSource(source: any): IDropResult;
6515
+ canPropAdoptDragSource(prop: IPropInfo, source: any): boolean;
6516
+ adoptPropDragSource(prop: IPropInfo, source: any): IDropResult;
6517
+ getRowContextValue(value: string, ctx: PrintContext): string | number;
6518
+ private $_parse;
6519
+ private $_parseValues;
6520
+ }
6521
+
6522
+ /** @internal */
6523
+ declare class HtmlItemElement extends ReportItemElement<HtmlItem> {
6524
+ private _content;
6525
+ constructor(doc: Document, model: HtmlItem);
6526
+ protected _doDispose(): void;
6527
+ get debugLabel(): string;
6528
+ protected _getCssSelector(): string;
6529
+ protected _initDom(doc: Document, dom: HTMLElement): void;
6530
+ protected _doPrepareMeasure(ctx: PrintContext, dom: HTMLElement): void;
6531
+ protected _doMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number): Size$1;
6532
+ saveContextValue(ctx: PrintContext): string;
6533
+ replaceContextValue(ctx: PrintContext, value?: string): string;
6534
+ refreshPrintValues(ctx: PrintContext, save?: boolean): void;
6535
+ }
6536
+
6357
6537
  /**
6358
6538
  * Printing 관련 상태 정보 모델.
6359
6539
  */
6360
6540
  declare class PrintContext extends Base$1 {
6541
+ static readonly VALUES: string[];
6361
6542
  private _printing;
6362
6543
  private _compositePrinting;
6363
6544
  private _dp;
@@ -6376,8 +6557,10 @@ declare class PrintContext extends Base$1 {
6376
6557
  detailRows: number[];
6377
6558
  noValueCallback: boolean;
6378
6559
  preview: boolean;
6560
+ pageDelay: number;
6379
6561
  report: Report;
6380
6562
  container: HTMLDivElement;
6563
+ tableContainer: HTMLDivElement;
6381
6564
  headerHeight: number;
6382
6565
  footerHeight: number;
6383
6566
  reportHeaderHeight: number;
@@ -6392,7 +6575,10 @@ declare class PrintContext extends Base$1 {
6392
6575
  row: number;
6393
6576
  index: number;
6394
6577
  contextable: boolean;
6395
- contextValues: TextItemElementBase<any>[];
6578
+ contextValues: (TextItemElementBase<any> | HtmlItemElement)[];
6579
+ contextReplaces: {
6580
+ [hash: string]: HtmlItemElement;
6581
+ };
6396
6582
  private _userData;
6397
6583
  private _tags;
6398
6584
  private _bandSave;
@@ -6489,8 +6675,16 @@ declare class PrintContext extends Base$1 {
6489
6675
  saveBand(): void;
6490
6676
  restoreBand(): void;
6491
6677
  }
6678
+ declare type ContextValueCallback = (ctx: PrintContext) => any;
6492
6679
  declare class PageBreaker {
6493
6680
  }
6681
+ declare class ReportFooterPrintInfo {
6682
+ }
6683
+ declare class EndRowMarker {
6684
+ count: number;
6685
+ maxCount: number;
6686
+ constructor(count: number, maxCount: number);
6687
+ }
6494
6688
  declare abstract class BandPrintInfo<T extends ReportItem> {
6495
6689
  band: T;
6496
6690
  xBand: number;
@@ -6514,6 +6708,7 @@ declare abstract class BandPrintInfo<T extends ReportItem> {
6514
6708
  abstract isEnded(): boolean;
6515
6709
  abstract getRows(): any[];
6516
6710
  abstract getNextPage(doc: Document, ctx: PrintContext, width: number, parent: HTMLDivElement): HTMLDivElement | null;
6711
+ rollback(page: HTMLDivElement): void;
6517
6712
  setMaxCount(rows: any[], count: number): void;
6518
6713
  isRow(row: any): row is number;
6519
6714
  isBand(row: any): row is BandPrintInfo<any>;
@@ -6523,8 +6718,11 @@ declare abstract class BandPrintInfo<T extends ReportItem> {
6523
6718
  protected _setY(dom: HTMLElement, y: number): void;
6524
6719
  protected _setPos(dom: HTMLElement, x: number, y: number): void;
6525
6720
  protected _createPage(doc: Document, parent: HTMLDivElement): HTMLDivElement;
6721
+ protected _createSectionPage(doc: Document, parent: HTMLDivElement): HTMLDivElement;
6722
+ protected _buildEndRows(marker: EndRowMarker, rowCount: number, rows: any[]): void;
6723
+ protected _unshiftEndRows(row: any, rows: any[]): void;
6526
6724
  }
6527
- declare type PrintLine = HTMLElement | BandPrintInfo<any> | PageBreaker;
6725
+ declare type PrintLine = HTMLElement | BandPrintInfo<any> | ReportFooterPrintInfo | PageBreaker;
6528
6726
  interface IReportData {
6529
6727
  name: string;
6530
6728
  isBand: boolean;
@@ -6581,23 +6779,29 @@ interface IPrintReport {
6581
6779
  report: Report;
6582
6780
  data: IReportDataProvider;
6583
6781
  }
6584
- interface IPrintOptions {
6585
- report: Report | (Report | IPrintReport)[];
6586
- data: IReportDataProvider;
6587
- preview?: boolean;
6588
- id?: string;
6782
+ interface IPreviewOptions {
6783
+ debug?: boolean;
6589
6784
  async?: boolean;
6590
6785
  pageMark?: boolean;
6786
+ optimize?: boolean;
6787
+ pageDelay?: number;
6591
6788
  noScroll?: boolean;
6789
+ noIndicator?: boolean;
6592
6790
  callback?: PrintPageCallback;
6593
6791
  endCallback?: PrintEndCallback;
6594
6792
  }
6793
+ interface IPrintOptions {
6794
+ report: Report | (Report | IPrintReport)[];
6795
+ data: IReportDataProvider;
6796
+ preview?: boolean;
6797
+ id?: string;
6798
+ previewOptions?: IPreviewOptions;
6799
+ }
6595
6800
  /**
6596
6801
  */
6597
6802
  declare class PrintContainer extends VisualContainer$1 {
6598
6803
  static readonly CLASS_NAME = "rr-report-container";
6599
6804
  static readonly PREVIEW_CLASS = "rr-report-preview";
6600
- private static readonly CONFIRM_CLASS;
6601
6805
  private static readonly MARKER_CLASS;
6602
6806
  private static readonly PRINT_INDICATOR_CLASS;
6603
6807
  private static readonly PRINT_BACK_CLASS;
@@ -6630,10 +6834,8 @@ declare class PrintContainer extends VisualContainer$1 {
6630
6834
  get pages(): PrintPage[];
6631
6835
  print(options: IPrintOptions): void;
6632
6836
  printSingle(options: IPrintOptions): void;
6633
- private $_printSingle2;
6634
6837
  printAll(options: IPrintOptions): void;
6635
- private $_printAll2;
6636
- isAllRendered(): boolean;
6838
+ private $_printAll;
6637
6839
  getPrintHtml(): string;
6638
6840
  setStyles(styles: any): void;
6639
6841
  fitToWidth(): void;
@@ -6646,13 +6848,11 @@ declare class PrintContainer extends VisualContainer$1 {
6646
6848
  private $_showError;
6647
6849
  private $_createIndicator;
6648
6850
  private $_refreshContextValues;
6649
- private $_printAsync;
6650
- private $_print2Async;
6851
+ private $_printReport;
6651
6852
  private $_getContainer;
6652
6853
  private $_getPreviewer;
6653
6854
  private $_resetPreviewer;
6654
- private $_addPageSpace;
6655
- private $_buildOutputAsync;
6855
+ private $_buildOutput;
6656
6856
  private $_layoutFloatings;
6657
6857
  }
6658
6858
 
@@ -6663,6 +6863,15 @@ interface PdfFont {
6663
6863
  style?: 'normal' | 'italic';
6664
6864
  weight?: 'normal' | 'bold';
6665
6865
  }
6866
+ interface IPdfPermissions {
6867
+ printing?: 'lowResolution' | 'highResolution';
6868
+ modifying?: boolean;
6869
+ copying?: boolean;
6870
+ annotating?: boolean;
6871
+ fillingForms?: boolean;
6872
+ contentAccessibility?: boolean;
6873
+ documentAssembly?: boolean;
6874
+ }
6666
6875
 
6667
6876
  declare enum CCITTScheme {
6668
6877
  GROUP_3 = "g3",
@@ -6684,7 +6893,7 @@ interface ImageExportOptions {
6684
6893
  }
6685
6894
 
6686
6895
  interface DocExportOptions {
6687
- type: 'hwp' | 'docx';
6896
+ type: 'hwp' | 'docx' | 'pptx';
6688
6897
  fileName?: string;
6689
6898
  }
6690
6899
 
@@ -40628,6 +40837,7 @@ declare class ReportViewer extends ReportViewBase {
40628
40837
  constructor(container: string | HTMLDivElement, reportForm?: ReportForm, dataSet?: ReportDataSet, options?: ReportOptions);
40629
40838
  get reportForm(): ReportForm;
40630
40839
  set reportForm(v: ReportForm);
40840
+ get report(): Report;
40631
40841
  get dataSet(): ReportDataSet;
40632
40842
  set dataSet(v: any);
40633
40843
  /**
@@ -40674,6 +40884,7 @@ interface GridReportOptions extends ReportOptions {
40674
40884
  declare class GridReportViewer extends ReportViewer {
40675
40885
  private _grid;
40676
40886
  private _gridValues;
40887
+ private _gridTable;
40677
40888
  protected _options: GridReportOptions;
40678
40889
  constructor(container: string | HTMLDivElement, grid: GridView, options?: GridReportOptions);
40679
40890
  /**
@@ -40712,6 +40923,7 @@ declare class GridReportViewer extends ReportViewer {
40712
40923
  */
40713
40924
  private _addGridTable;
40714
40925
  private _prepare;
40926
+ exportImage(imageOptions?: ImageExportOptions): void;
40715
40927
  }
40716
40928
 
40717
40929
  /**
@@ -40760,6 +40972,10 @@ declare type GridReportLayout = {
40760
40972
  * 리포트 프리뷰 옵션
40761
40973
  */
40762
40974
  declare type PreviewOptions = {
40975
+ /**
40976
+ * 리포트간 간격 조절 옵션
40977
+ */
40978
+ pageGap?: number;
40763
40979
  /**
40764
40980
  * 비동기 출력 여부
40765
40981
  * default: false;
@@ -40802,6 +41018,21 @@ declare type PDFExportOptions = {
40802
41018
  * 지원되는 브라우저가 제한될 수 있습니다.
40803
41019
  */
40804
41020
  preview?: boolean;
41021
+ /**
41022
+ * 이 옵션을 이용해 내보낸 PDF문서에
41023
+ * 소유자(owner)권한의 암호를 설정할 수 있습니다.
41024
+ */
41025
+ ownerPassword?: string;
41026
+ /**
41027
+ * 이 옵션을 이용해 내보낸 PDF문서에
41028
+ * 사용자(user)권한의 암호를 설정할 수 있습니다.
41029
+ */
41030
+ userPassword?: string;
41031
+ /**
41032
+ * 권한에 따른 기능을 제한 할 수 있습니다.
41033
+ */
41034
+ permissions: IPdfPermissions;
41035
+ pdfVersion: '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.7ext3';
40805
41036
  };
40806
41037
 
40807
41038
  export { GridReportLayout, GridReportViewer, PDFExportOptions, PreviewOptions, ReportCompositeViewer, ReportData, ReportDataSet, ReportForm, ReportFormSet, ReportFormSets, ReportOptions, ReportViewer };