realreport 1.10.0 → 1.10.2
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.
- package/dist/realreport.css +11 -1
- package/dist/realreport.d.ts +154 -46
- package/dist/realreport.es.js +3 -3
- package/dist/realreport.js +3 -3
- package/package.json +1 -1
package/dist/realreport.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
RealReport v1.10.
|
|
2
|
+
RealReport v1.10.2
|
|
3
3
|
Copyright (C) 2013-2025 WooriTech Inc.
|
|
4
4
|
All Rights Reserved.
|
|
5
5
|
*/
|
|
@@ -547,6 +547,16 @@ All Rights Reserved.
|
|
|
547
547
|
width: 100%;
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
+
.rr-text-band .rr-text-band-body[data-empty]:before {
|
|
551
|
+
background-color: #00000008;
|
|
552
|
+
color: #777;
|
|
553
|
+
text-align: center;
|
|
554
|
+
content: "[TEXT BAND]";
|
|
555
|
+
display: table;
|
|
556
|
+
width: 100%;
|
|
557
|
+
padding: 2px;
|
|
558
|
+
}
|
|
559
|
+
|
|
550
560
|
.rr-html[data-empty]:before {
|
|
551
561
|
color: #999;
|
|
552
562
|
text-align: center;
|
package/dist/realreport.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="pdfkit" />
|
|
2
2
|
/**
|
|
3
|
-
* RealReport v1.10.
|
|
4
|
-
* commit
|
|
3
|
+
* RealReport v1.10.2
|
|
4
|
+
* commit 97b0067
|
|
5
5
|
|
|
6
6
|
* {@link https://real-report.com}
|
|
7
7
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
import { Cvfo, Style } from 'exceljs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* RealReport Core v1.10.
|
|
14
|
+
* RealReport Core v1.10.2
|
|
15
15
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
16
16
|
* All Rights Reserved.
|
|
17
|
-
* commit
|
|
17
|
+
* commit 4cdcb307bd96df72a34275cc094312196b9849ee
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
|
|
@@ -1905,26 +1905,13 @@ declare abstract class DataBandRowGroup extends ReportGroupItem {
|
|
|
1905
1905
|
protected _doSave(target: object): void;
|
|
1906
1906
|
getPropDomain(prop: IPropInfo): any[];
|
|
1907
1907
|
}
|
|
1908
|
-
interface BandBorders {
|
|
1909
|
-
border: string;
|
|
1910
|
-
borderLeft: string;
|
|
1911
|
-
borderRight: string;
|
|
1912
|
-
borderTop: string;
|
|
1913
|
-
borderBottom: string;
|
|
1914
|
-
}
|
|
1915
|
-
interface BorderWidths {
|
|
1916
|
-
left: number;
|
|
1917
|
-
right: number;
|
|
1918
|
-
top: number;
|
|
1919
|
-
bottom: number;
|
|
1920
|
-
}
|
|
1921
1908
|
/**
|
|
1922
1909
|
* Data band base class.
|
|
1923
1910
|
*
|
|
1924
1911
|
* [제한 사항]
|
|
1925
1912
|
* 1. detail band는 multi columns 불가. (TODO: master가 multi column이 아니면 가능하지 않을까?)
|
|
1926
1913
|
*/
|
|
1927
|
-
declare abstract class DataBand extends
|
|
1914
|
+
declare abstract class DataBand extends ReportBandItem {
|
|
1928
1915
|
static readonly PROP_DATA_BAND_MASTER_FIELDS = "masterFields";
|
|
1929
1916
|
static readonly PROP_DATA_BAND_KEY_FIELDS = "keyFields";
|
|
1930
1917
|
static readonly PROP_DATA_BAND_ROWS_PER_MASTER = "rowsPerMaster";
|
|
@@ -2227,23 +2214,18 @@ declare abstract class DataBand extends ReportGroupItem {
|
|
|
2227
2214
|
getMin(field: string, count: number, rows?: number[]): number;
|
|
2228
2215
|
getMax(field: string, count: number, rows?: number[]): number;
|
|
2229
2216
|
getAvg(field: string, count: number, rows?: number[]): number;
|
|
2230
|
-
getBandBorders(): BandBorders;
|
|
2231
|
-
getBandBorderWidths(): BorderWidths;
|
|
2232
|
-
hasBorder(): boolean;
|
|
2233
2217
|
getPropDomain(prop: IPropInfo): any[];
|
|
2234
2218
|
/**
|
|
2235
2219
|
* 출력시 사용되는 밴드의 정보를 초기값으로 초기화
|
|
2236
2220
|
*/
|
|
2237
2221
|
resetBandPrintingValue(): void;
|
|
2222
|
+
getNextSiblingsOf(detail: DataBand): ReportItem[];
|
|
2238
2223
|
abstract containsInSection(item: ReportItem): boolean;
|
|
2239
2224
|
get designLevel(): number;
|
|
2240
2225
|
get dataDominant(): boolean;
|
|
2241
2226
|
protected _datable(): boolean;
|
|
2242
2227
|
protected _getEditProps(): IPropInfo[];
|
|
2243
2228
|
protected _getStyleProps(): string[];
|
|
2244
|
-
canAddTo(group: ReportGroupItem): boolean;
|
|
2245
|
-
canResize(dir: ResizeDirection): boolean;
|
|
2246
|
-
canPageBreak(): boolean;
|
|
2247
2229
|
protected _canChildData(): boolean;
|
|
2248
2230
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
2249
2231
|
protected _doSave(target: object): void;
|
|
@@ -3251,15 +3233,11 @@ declare abstract class SimpleBandSection extends StackContainer {
|
|
|
3251
3233
|
static readonly PROP_SIMPLE_BAND_SECTION_REPEAT = "repeat";
|
|
3252
3234
|
static readonly PROPINFOS: IPropInfo[];
|
|
3253
3235
|
static readonly PROP_FIELD = "field";
|
|
3254
|
-
private _repeat;
|
|
3255
3236
|
private _child_field;
|
|
3256
3237
|
private _band;
|
|
3257
3238
|
constructor(band: SimpleBand);
|
|
3258
3239
|
/** band */
|
|
3259
3240
|
get band(): SimpleBand;
|
|
3260
|
-
/** repeat */
|
|
3261
|
-
get repeat(): boolean;
|
|
3262
|
-
set repeat(value: boolean);
|
|
3263
3241
|
/**
|
|
3264
3242
|
* field
|
|
3265
3243
|
*/
|
|
@@ -3275,8 +3253,8 @@ declare abstract class SimpleBandSection extends StackContainer {
|
|
|
3275
3253
|
}
|
|
3276
3254
|
declare class SimpleBandHeader extends SimpleBandSection {
|
|
3277
3255
|
static readonly $_ctor: string;
|
|
3278
|
-
constructor(band: SimpleBand);
|
|
3279
3256
|
get outlineLabel(): string;
|
|
3257
|
+
get pathLabel(): string;
|
|
3280
3258
|
}
|
|
3281
3259
|
declare class SimpleBandFooter extends SimpleBandSection {
|
|
3282
3260
|
static readonly PROP_ATTACH_TO_BODY = "attachToBody";
|
|
@@ -3284,6 +3262,7 @@ declare class SimpleBandFooter extends SimpleBandSection {
|
|
|
3284
3262
|
static readonly $_ctor: string;
|
|
3285
3263
|
private _attachToBody;
|
|
3286
3264
|
/**
|
|
3265
|
+
* 두 컬럼 이상의 밴드에서,
|
|
3287
3266
|
* true면 multi column 모드일 때 마지막 컬럼의 마지막 행에 붙여서 출력하고,
|
|
3288
3267
|
* false면 모든 컬럼의 가장 아래쪽에 붙여서 출력한다.
|
|
3289
3268
|
*
|
|
@@ -3292,6 +3271,7 @@ declare class SimpleBandFooter extends SimpleBandSection {
|
|
|
3292
3271
|
get attachToBody(): boolean;
|
|
3293
3272
|
set attachToBody(value: boolean);
|
|
3294
3273
|
get outlineLabel(): string;
|
|
3274
|
+
get pathLabel(): string;
|
|
3295
3275
|
protected _getEditProps(): IPropInfo[];
|
|
3296
3276
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3297
3277
|
protected _doSave(target: object): void;
|
|
@@ -3306,6 +3286,7 @@ declare class SimpleBandRow extends SimpleBandSection {
|
|
|
3306
3286
|
get blankItems(): ReportItem[];
|
|
3307
3287
|
canBlank(item: ReportItem, row: number): boolean;
|
|
3308
3288
|
get outlineLabel(): string;
|
|
3289
|
+
get pathLabel(): string;
|
|
3309
3290
|
get dataDominant(): boolean;
|
|
3310
3291
|
get isDataRowContainer(): boolean;
|
|
3311
3292
|
protected _getChildPropInfos(item: ReportItem): IPropInfo[];
|
|
@@ -3325,11 +3306,13 @@ declare class SimpleBandRowGroupHeader extends SimpleBandRowGroupSection {
|
|
|
3325
3306
|
static readonly $_ctor: string;
|
|
3326
3307
|
constructor(group: SimpleBandRowGroup);
|
|
3327
3308
|
get outlineLabel(): string;
|
|
3309
|
+
get pathLabel(): string;
|
|
3328
3310
|
}
|
|
3329
3311
|
declare class SimpleBandRowGroupFooter extends SimpleBandRowGroupSection {
|
|
3330
3312
|
static readonly $_ctor: string;
|
|
3331
3313
|
constructor(group: SimpleBandRowGroup);
|
|
3332
3314
|
get outlineLabel(): string;
|
|
3315
|
+
get pathLabel(): string;
|
|
3333
3316
|
}
|
|
3334
3317
|
declare class SimpleBandRowGroup extends DataBandRowGroup {
|
|
3335
3318
|
static readonly PROPINFOS: IPropInfo[];
|
|
@@ -3350,6 +3333,8 @@ declare class SimpleBandRowGroup extends DataBandRowGroup {
|
|
|
3350
3333
|
get report(): ReportBase;
|
|
3351
3334
|
get collection(): SimpleBandRowGroupCollection;
|
|
3352
3335
|
get dataParent(): ReportGroupItem;
|
|
3336
|
+
get outlineLabel(): string;
|
|
3337
|
+
get displayPath(): string;
|
|
3353
3338
|
protected _ignoreItems(): boolean;
|
|
3354
3339
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3355
3340
|
protected _doSave(target: object): void;
|
|
@@ -3669,6 +3654,7 @@ declare abstract class ReportItemElement<T extends ReportItem = ReportItem> exte
|
|
|
3669
3654
|
layoutContent(ctx: PrintContextBase): void;
|
|
3670
3655
|
protected _doMeasureFolded(hintWidth: number, hintHeight: number): Size$1;
|
|
3671
3656
|
protected _doLayoutFolded(): void;
|
|
3657
|
+
protected _getStyleTarget(dom: HTMLElement): HTMLElement;
|
|
3672
3658
|
protected _doPrepareMeasure(ctx: PrintContext, dom: HTMLElement): void;
|
|
3673
3659
|
private $_setRotation;
|
|
3674
3660
|
protected _doAfterMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number, sz: Size$1): void;
|
|
@@ -3755,7 +3741,13 @@ declare abstract class ReportGroupItemElement<T extends ReportGroupItem = Report
|
|
|
3755
3741
|
protected _doPrint(doc: Document, ctx: PrintContext): void;
|
|
3756
3742
|
}
|
|
3757
3743
|
type ReportGroupItemView = ReportGroupItemElement<ReportGroupItem>;
|
|
3758
|
-
declare abstract class
|
|
3744
|
+
declare abstract class BandItemElement<T extends ReportBandItem = ReportBandItem> extends ReportGroupItemElement<T> {
|
|
3745
|
+
abstract getLines(): ReportItemElement[];
|
|
3746
|
+
getSibling(item: ReportItemElement, delta: number): ReportItemElement;
|
|
3747
|
+
protected _getNext(item: ReportItemElement): ReportItemElement;
|
|
3748
|
+
protected _getPrev(item: ReportItemElement): ReportItemElement;
|
|
3749
|
+
}
|
|
3750
|
+
declare abstract class BandElement<T extends DataBand = DataBand> extends BandItemElement<T> {
|
|
3759
3751
|
static readonly END_ROW_MESSAGE_CLASS = "rr-end-row-message";
|
|
3760
3752
|
static readonly END_ROW_CLASS = "rr-end-row";
|
|
3761
3753
|
static readonly BORDER_CONTAINER = "rr-band-border-container";
|
|
@@ -3763,17 +3755,13 @@ declare abstract class BandElement<T extends DataBand = DataBand> extends Report
|
|
|
3763
3755
|
private _needFooterView;
|
|
3764
3756
|
get needFooterView(): boolean;
|
|
3765
3757
|
set needFooterView(value: boolean);
|
|
3766
|
-
abstract getLines(): ReportItemElement[];
|
|
3767
3758
|
abstract printRow(ctx: PrintContext, row: number): any;
|
|
3768
|
-
getSibling(item: ReportItemElement, delta: number): ReportItemElement;
|
|
3769
3759
|
findMasterBand(band: DataBand): DataBand;
|
|
3770
3760
|
getBandLevel(masterBand: DataBand, band: DataBand): string;
|
|
3771
3761
|
abstract addMasterRow(page: HTMLDivElement, headerView: any, rowView: any, x: number, y: number): number;
|
|
3772
3762
|
abstract prepareAsync(doc: Document, ctx: PrintContext, width: number, subRows: number[], masterRow: number): BandPrintInfo<any>;
|
|
3773
3763
|
abstract prepareSubBand(doc: Document, ctx: PrintContext, width: number, dataRows: number[]): BandPrintInfo<any>;
|
|
3774
3764
|
protected _prepareDetail(doc: Document, ctx: PrintContext, band: DataBand, details: DataBandCollection, detailViews: BandCollectionElement, masterBandRow: number, rows: BandPrintRow[], width: number): void;
|
|
3775
|
-
protected _getNext(item: ReportItemElement): ReportItemElement;
|
|
3776
|
-
protected _getPrev(item: ReportItemElement): ReportItemElement;
|
|
3777
3765
|
private $_prepareDetailDataBand;
|
|
3778
3766
|
private $_prepareDetailBandGroup;
|
|
3779
3767
|
private $_setBandLevel;
|
|
@@ -5314,6 +5302,7 @@ declare enum ReportItemType {
|
|
|
5314
5302
|
BANDCELL = "bandcell",
|
|
5315
5303
|
CROSSTAB = "crosstab",
|
|
5316
5304
|
DATALIST = "datalist",
|
|
5305
|
+
TEXTBAND = "textband",
|
|
5317
5306
|
FLOATING = "floating",
|
|
5318
5307
|
SHAPE = "shape",
|
|
5319
5308
|
BARCODE = "barcode",
|
|
@@ -6440,7 +6429,7 @@ declare abstract class ReportBase<T extends ReportPageBase = ReportPageBase> ext
|
|
|
6440
6429
|
onI18nManagerFieldAdded(i18n: I18nManager, field: string): void;
|
|
6441
6430
|
onI18nManagerFieldRemoved(i18n: I18nManager, field: string): void;
|
|
6442
6431
|
onI18nManagerDefaultLanguageChanged(i18n: I18nManager, language: string): void;
|
|
6443
|
-
onDesignDataManagerDataAdded(dm: DesignDataManager, data: IReportData, silent: boolean): void;
|
|
6432
|
+
onDesignDataManagerDataAdded(dm: DesignDataManager, data: IReportData, silent: boolean, index: number): void;
|
|
6444
6433
|
onDesignDataManagerDataRemoved(dm: DesignDataManager, data: IReportData): void;
|
|
6445
6434
|
onDesignDataManagerDataUpdated(dm: DesignDataManager, data: IReportData): void;
|
|
6446
6435
|
onDesignDataManagerNameChanged(dm: DesignDataManager, data: IReportData, oldName: string): void;
|
|
@@ -7089,6 +7078,11 @@ declare class ReportPage extends ReportPageBase {
|
|
|
7089
7078
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
7090
7079
|
protected _createRemoveItemsCommand(items: ReportPageItem[]): ReportEditCommand;
|
|
7091
7080
|
afterLayout(printing: boolean): void;
|
|
7081
|
+
/**
|
|
7082
|
+
* ReportPage는 따로 visible 속성을 설정하지 않으므로 reportItem.isPrintable을 사용하지 않는다.
|
|
7083
|
+
* @returns
|
|
7084
|
+
*/
|
|
7085
|
+
isPrintable(context: PrintContextBase): boolean;
|
|
7092
7086
|
protected _initSections(): ReportGroupItem[];
|
|
7093
7087
|
protected _createPageBody(): PageBody;
|
|
7094
7088
|
protected _createReportFooter(): ReportFooter;
|
|
@@ -7467,6 +7461,9 @@ declare class PageBodyElement extends ReportElement {
|
|
|
7467
7461
|
*/
|
|
7468
7462
|
private $_createSubBandPrintRows;
|
|
7469
7463
|
private $_createSubBandPrintLines;
|
|
7464
|
+
/**
|
|
7465
|
+
*/
|
|
7466
|
+
private $_prepareTextBandElement;
|
|
7470
7467
|
private $_isLastChild;
|
|
7471
7468
|
}
|
|
7472
7469
|
|
|
@@ -8404,6 +8401,8 @@ declare abstract class ExcelDataBandSection extends ExcelGroupItem {
|
|
|
8404
8401
|
canDelete(): boolean;
|
|
8405
8402
|
canMove(): boolean;
|
|
8406
8403
|
validateChildProp(item: ExcelItems, prop: string, value: number): number;
|
|
8404
|
+
getRowPushedItems(row: number): ExcelItems[];
|
|
8405
|
+
getRowPulledItems(row: number): ExcelItems[];
|
|
8407
8406
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
8408
8407
|
protected _doSave(target: object): void;
|
|
8409
8408
|
}
|
|
@@ -11327,6 +11326,12 @@ declare class ReportView extends ReportViewBase$1<Report> implements IImageConta
|
|
|
11327
11326
|
findElementOf(dom: HTMLElement): ReportElement;
|
|
11328
11327
|
getElementOf(model: ReportPageItem): ReportElement;
|
|
11329
11328
|
getItemBoundingRect(element: VisualElement$1, rotated?: boolean): Rectangle$1;
|
|
11329
|
+
/**
|
|
11330
|
+
* onGetVisible 설정에 의해 출력 가능한 페이지의 시작 Index를 반환한다.
|
|
11331
|
+
* @param fromIndex 검색을 시작해야할 페이지 인덱스 정보
|
|
11332
|
+
* @returns
|
|
11333
|
+
*/
|
|
11334
|
+
getVisiblePageIndex(ctx: PrintContext, fromIndex?: number): number;
|
|
11330
11335
|
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
11331
11336
|
protected _resetPages(model: Report): void;
|
|
11332
11337
|
protected _createEmptyView(doc: Document): VisualElement$1;
|
|
@@ -11409,6 +11414,83 @@ interface ISimpleGroupPrintInfo extends IGroupPrintInfo {
|
|
|
11409
11414
|
}
|
|
11410
11415
|
type SimpleBandPrintRow = BandPrintRow | ISimpleGroupPrintInfo;
|
|
11411
11416
|
|
|
11417
|
+
declare abstract class TextBandSection extends StackContainer {
|
|
11418
|
+
static readonly PROP_REPEAT = "repeat";
|
|
11419
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
11420
|
+
private _repeat;
|
|
11421
|
+
private _band;
|
|
11422
|
+
constructor(band: TextBand);
|
|
11423
|
+
/** band */
|
|
11424
|
+
get band(): TextBand;
|
|
11425
|
+
/** repeat */
|
|
11426
|
+
get repeat(): boolean;
|
|
11427
|
+
set repeat(value: boolean);
|
|
11428
|
+
get designLevel(): number;
|
|
11429
|
+
get marqueeParent(): ReportItem;
|
|
11430
|
+
protected _datable(): boolean;
|
|
11431
|
+
canCopy(): boolean;
|
|
11432
|
+
canResize(dir: ResizeDirection): boolean;
|
|
11433
|
+
protected _getEditProps(): IPropInfo[];
|
|
11434
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
11435
|
+
protected _doSave(target: object): void;
|
|
11436
|
+
}
|
|
11437
|
+
declare class TextBandHeader extends TextBandSection {
|
|
11438
|
+
static readonly $_ctor: string;
|
|
11439
|
+
get outlineLabel(): string;
|
|
11440
|
+
get pathLabel(): string;
|
|
11441
|
+
}
|
|
11442
|
+
declare class TextBandFooter extends TextBandSection {
|
|
11443
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
11444
|
+
static readonly $_ctor: string;
|
|
11445
|
+
get outlineLabel(): string;
|
|
11446
|
+
get pathLabel(): string;
|
|
11447
|
+
protected _getEditProps(): IPropInfo[];
|
|
11448
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
11449
|
+
protected _doSave(target: object): void;
|
|
11450
|
+
}
|
|
11451
|
+
/**
|
|
11452
|
+
* 페이지를 넘길 수 있는 멀티 라인 텍스트 아이템.
|
|
11453
|
+
*/
|
|
11454
|
+
declare class TextBand extends ReportBandItem {
|
|
11455
|
+
static readonly PROP_TEXT = "text";
|
|
11456
|
+
static readonly PROP_LINE_SEPARATORS = "lineSeparators";
|
|
11457
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
11458
|
+
static readonly STYLE_PROPS: string[];
|
|
11459
|
+
static readonly $_ctor: string;
|
|
11460
|
+
static readonly ITEM_TYPE = "Text Band";
|
|
11461
|
+
private _text;
|
|
11462
|
+
private _lineSeparators;
|
|
11463
|
+
private _header;
|
|
11464
|
+
private _footer;
|
|
11465
|
+
prevHead: boolean;
|
|
11466
|
+
rowIndex: number;
|
|
11467
|
+
_pr: number;
|
|
11468
|
+
_pageNo: number;
|
|
11469
|
+
constructor(name: string);
|
|
11470
|
+
/** header */
|
|
11471
|
+
get header(): TextBandHeader;
|
|
11472
|
+
/** footer */
|
|
11473
|
+
get footer(): TextBandFooter;
|
|
11474
|
+
/** text */
|
|
11475
|
+
get text(): string;
|
|
11476
|
+
set text(value: string);
|
|
11477
|
+
/** html */
|
|
11478
|
+
get lineSeparators(): string;
|
|
11479
|
+
set lineSeparators(value: string);
|
|
11480
|
+
getText(v: any): string;
|
|
11481
|
+
getDesignText(): string;
|
|
11482
|
+
isEmpty(): boolean;
|
|
11483
|
+
get outlineLabel(): string;
|
|
11484
|
+
getSaveType(): string;
|
|
11485
|
+
protected _valueable(): boolean;
|
|
11486
|
+
protected _getEditProps(): IPropInfo[];
|
|
11487
|
+
protected _getStyleProps(): string[];
|
|
11488
|
+
canAdoptDragSource(source: any): boolean;
|
|
11489
|
+
canAdd(item: ReportItem): boolean;
|
|
11490
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
11491
|
+
protected _doSave(target: object): void;
|
|
11492
|
+
}
|
|
11493
|
+
|
|
11412
11494
|
interface AsyncLoadable {
|
|
11413
11495
|
loadAsync(ctx: PrintContextBase): Promise<void>;
|
|
11414
11496
|
}
|
|
@@ -11462,7 +11544,7 @@ declare class PrintContextBase<R extends ReportBase = ReportBase> extends Base$1
|
|
|
11462
11544
|
private _tags;
|
|
11463
11545
|
private _bandSave;
|
|
11464
11546
|
async: boolean;
|
|
11465
|
-
band: DataBand | CrosstabBand;
|
|
11547
|
+
band: DataBand | CrosstabBand | TextBand;
|
|
11466
11548
|
pages: PrintPage[];
|
|
11467
11549
|
floatings: HTMLDivElement[];
|
|
11468
11550
|
reportCount: number;
|
|
@@ -11522,6 +11604,7 @@ declare class PrintContextBase<R extends ReportBase = ReportBase> extends Base$1
|
|
|
11522
11604
|
* page count.
|
|
11523
11605
|
*/
|
|
11524
11606
|
get pageCount(): number;
|
|
11607
|
+
set pageCount(count: number);
|
|
11525
11608
|
/**
|
|
11526
11609
|
* page index.
|
|
11527
11610
|
*/
|
|
@@ -11560,7 +11643,6 @@ declare class PrintContextBase<R extends ReportBase = ReportBase> extends Base$1
|
|
|
11560
11643
|
preparePrint(report?: R): void;
|
|
11561
11644
|
preparePage(page: number, allPage: number): void;
|
|
11562
11645
|
setDetailPage(count: number, page: number): void;
|
|
11563
|
-
finishPrint(pageCount: number): void;
|
|
11564
11646
|
setCompositePageCount(compostePageCount: number): void;
|
|
11565
11647
|
getUserData(): any;
|
|
11566
11648
|
getCurrentValue(prop: string): any;
|
|
@@ -11598,6 +11680,10 @@ declare class PrintContextBase<R extends ReportBase = ReportBase> extends Base$1
|
|
|
11598
11680
|
loadAsyncLoadableElements(): Promise<void[]>;
|
|
11599
11681
|
getPrintValue(m: ReportItem): any;
|
|
11600
11682
|
getPrintLinkValue(m: ReportItem): any;
|
|
11683
|
+
/**
|
|
11684
|
+
* PrintContext에서 초기화가 필요한 속성들을 설정한다.
|
|
11685
|
+
*/
|
|
11686
|
+
initialize(): void;
|
|
11601
11687
|
}
|
|
11602
11688
|
type ContextValueCallback = (ctx: PrintContextBase) => any;
|
|
11603
11689
|
declare class PageBreaker {
|
|
@@ -11887,16 +11973,18 @@ interface ISelectionSource {
|
|
|
11887
11973
|
canSelectedWith(other: ISelectionSource): boolean;
|
|
11888
11974
|
canMakeSnippet(): boolean;
|
|
11889
11975
|
}
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
|
|
11976
|
+
interface ReportItemBorders {
|
|
11977
|
+
border: string;
|
|
11978
|
+
borderLeft: string;
|
|
11979
|
+
borderRight: string;
|
|
11980
|
+
borderTop: string;
|
|
11981
|
+
borderBottom: string;
|
|
11893
11982
|
}
|
|
11894
|
-
interface
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
hintHeight?: number;
|
|
11983
|
+
interface ReportItemBorderWidths {
|
|
11984
|
+
left: number;
|
|
11985
|
+
right: number;
|
|
11986
|
+
top: number;
|
|
11987
|
+
bottom: number;
|
|
11900
11988
|
}
|
|
11901
11989
|
/**
|
|
11902
11990
|
* Report page 구성 요소 기반 클래스.
|
|
@@ -12211,6 +12299,7 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
12211
12299
|
*/
|
|
12212
12300
|
get width(): ValueString;
|
|
12213
12301
|
set width(value: ValueString);
|
|
12302
|
+
protected _validateWidth(value: ValueString): ValueString;
|
|
12214
12303
|
/**
|
|
12215
12304
|
* height
|
|
12216
12305
|
*/
|
|
@@ -12446,6 +12535,9 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
12446
12535
|
* @returns 리포트 아이템 표시 여부
|
|
12447
12536
|
*/
|
|
12448
12537
|
isPrintable(context: PrintContextBase): boolean;
|
|
12538
|
+
getItemBorders(): ReportItemBorders;
|
|
12539
|
+
getItemBorderWidths(): ReportItemBorderWidths;
|
|
12540
|
+
hasItemBorder(): boolean;
|
|
12449
12541
|
get marqueeParent(): ReportItem;
|
|
12450
12542
|
get printable(): boolean;
|
|
12451
12543
|
isReadOnlyProperty(prop: IPropInfo): boolean;
|
|
@@ -12605,6 +12697,11 @@ declare abstract class ReportGroupItem extends ReportItem {
|
|
|
12605
12697
|
protected _doItemChanged(item: ReportItem, prop: string, value: any, oldValue: any): void;
|
|
12606
12698
|
protected _setOutlineOrders(start: number, ...items: ReportPageItem[]): void;
|
|
12607
12699
|
}
|
|
12700
|
+
declare abstract class ReportBandItem extends ReportGroupItem {
|
|
12701
|
+
canAddTo(group: ReportGroupItem): boolean;
|
|
12702
|
+
canResize(dir: ResizeDirection): boolean;
|
|
12703
|
+
canPageBreak(): boolean;
|
|
12704
|
+
}
|
|
12608
12705
|
declare abstract class ReportItemCollectionItem extends ReportPageItem {
|
|
12609
12706
|
private _collection;
|
|
12610
12707
|
private _styles;
|
|
@@ -13720,6 +13817,17 @@ declare enum SectionInherit {
|
|
|
13720
13817
|
HEAD = "head",
|
|
13721
13818
|
PREVIOUS = "previous"
|
|
13722
13819
|
}
|
|
13820
|
+
declare enum DropResultType {
|
|
13821
|
+
PROP = "prop",
|
|
13822
|
+
ITEM = "item"
|
|
13823
|
+
}
|
|
13824
|
+
interface IDropResult {
|
|
13825
|
+
type: DropResultType;
|
|
13826
|
+
prop?: string;
|
|
13827
|
+
value?: any;
|
|
13828
|
+
hintWidth?: number;
|
|
13829
|
+
hintHeight?: number;
|
|
13830
|
+
}
|
|
13723
13831
|
|
|
13724
13832
|
declare abstract class PrintContainerBase extends VisualContainer$1 {
|
|
13725
13833
|
static readonly CLASS_NAME = "rr-report-container";
|