realreport 1.11.23 → 1.12.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,5 +1,5 @@
1
1
  /*
2
- RealReport v1.11.23
2
+ RealReport v1.12.0
3
3
  Copyright (C) 2013-2026 WooriTech Inc.
4
4
  All Rights Reserved.
5
5
  */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="pdfkit" />
2
2
  /**
3
- * RealReport v1.11.23
4
- * commit 871e98a
3
+ * RealReport v1.12.0
4
+ * commit 1e6aba5
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.23
15
+ * RealReport Core v1.12.0
16
16
  * Copyright (C) 2013-2026 WooriTech Inc.
17
17
  * All Rights Reserved.
18
- * commit 2e80c0e2834efff45313765dbfe3331476fcfbcd
18
+ * commit 8d8a7ffd20e18a7d91ddf235abd8cbedafc58cab
19
19
  */
20
20
 
21
21
 
@@ -9440,15 +9440,15 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
9440
9440
  prevGroupPageBreak: PageBreakMode;
9441
9441
  /** paragraphFlow 모드 상태 */
9442
9442
  paragraphFlowState: {
9443
- /** 현재 처리 중인 행의 컬럼별 라인들 [컬럼인덱스][라인인덱스] */
9444
- columnLines: {
9443
+ /** 현재 처리 중인 row의 텍스트 라인들 [컬럼인덱스][라인인덱스] */
9444
+ currentRowColumnTextLines: {
9445
9445
  r: IRect;
9446
9446
  line: string;
9447
9447
  }[][];
9448
9448
  /** 현재 처리 중인 DataRow 내 행 인덱스 (Row Count가 2이상인 경우) */
9449
9449
  rowIndex: number;
9450
- /** 모든 행의 컬럼별 라인들 [행인덱스][컬럼인덱스][라인인덱스] */
9451
- allColumnLines: {
9450
+ /** 모든 row의 텍스트 라인들 [행인덱스][컬럼인덱스][라인인덱스] */
9451
+ allRowColumnTextLines: {
9452
9452
  r: IRect;
9453
9453
  line: string;
9454
9454
  }[][][];
@@ -9456,6 +9456,16 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
9456
9456
  originalTexts: string[][];
9457
9457
  /** 각 행의 각 컬럼별 한 페이지 출력 가능 여부 (repeat 적용 조건) [행인덱스][컬럼인덱스] */
9458
9458
  canRepeat: boolean[][];
9459
+ /** 각 행의 각 컬럼별 상하 패딩 합 [행인덱스][컬럼인덱스] */
9460
+ columnPaddings: number[][];
9461
+ /** 각 행의 각 컬럼별 rich 텍스트 여부 [행인덱스][컬럼인덱스] */
9462
+ isRichCell: boolean[][];
9463
+ /** 각 행의 각 컬럼별 image 아이템 여부 [행인덱스][컬럼인덱스] */
9464
+ isImageCell: boolean[][];
9465
+ /** 각 행의 image 셀 중 최대 높이 [행인덱스] */
9466
+ maxImageHeights: number[];
9467
+ /** 각 행의 image 출력 여부 [행인덱스] */
9468
+ imageRendered: boolean[];
9459
9469
  } | null;
9460
9470
  isEnded(): boolean;
9461
9471
  getRows(): any[];
@@ -9471,10 +9481,23 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
9471
9481
  * paragraphFlow 상태 초기화 (리셋)
9472
9482
  */
9473
9483
  private $_resetParagraphFlowState;
9484
+ /**
9485
+ * 현재 row 이후로 paragraphFlow에서 아직 출력해야 할 text/image가 남아있는지 확인한다.
9486
+ */
9487
+ private $_hasPendingParagraphFlowWork;
9488
+ /**
9489
+ * 셀의 텍스트 아이템에서 실제 렌더링 스타일 정보를 캡처
9490
+ */
9491
+ private $_captureCellTextInfo;
9474
9492
  /**
9475
9493
  * paragraphFlow 상태 생성 및 초기화
9476
9494
  */
9477
9495
  private $_createParagraphFlowState;
9496
+ /**
9497
+ * 이미지 셀의 실제 출력 높이를 계산한다.
9498
+ * table row의 균등 높이(td.offsetHeight) 대신 이미지 컨텐츠 높이를 우선 사용한다.
9499
+ */
9500
+ private $_getImageCellHeight;
9478
9501
  /**
9479
9502
  * 콘텐츠가 한 페이지에 출력 가능한지 계산
9480
9503
  */
@@ -9567,7 +9590,7 @@ declare class TableBandElement extends BandElement<TableBand> implements ITable
9567
9590
  getColRect(col: number, count?: number): IRect;
9568
9591
  getTableView(table: TableBase): TableView;
9569
9592
  getTableViews(): TableView[];
9570
- isTextLineOverflowEligible(band: TableBand): boolean;
9593
+ isParagraphFlowEligible(band: TableBand): boolean;
9571
9594
  get debugLabel(): string;
9572
9595
  protected _getCssSelector(): string;
9573
9596
  protected _needDesignBox(): boolean;
@@ -11510,23 +11533,23 @@ declare class FontResource extends EventAware$1 {
11510
11533
  private $_fireFontRemoved;
11511
11534
  }
11512
11535
 
11513
- declare enum CCITTScheme$1 {
11536
+ declare enum CCITTScheme {
11514
11537
  GROUP_3 = "g3",
11515
11538
  GROUP_3_2D = "g3-2d",
11516
11539
  GROUP_4 = "g4"
11517
11540
  }
11518
11541
 
11519
- interface ITiffOptions$1 {
11542
+ interface ITiffOptions {
11520
11543
  dpi?: number;
11521
11544
  grayscale?: boolean;
11522
- encoding?: CCITTScheme$1;
11545
+ encoding?: CCITTScheme;
11523
11546
  }
11524
11547
 
11525
- interface ImageExportOptions$1 {
11548
+ interface ImageExportOptions {
11526
11549
  type?: 'png' | 'jpeg' | 'jpg' | 'gif' | 'tif' | 'tiff';
11527
11550
  fileName?: string;
11528
11551
  zipName?: string;
11529
- tiff?: ITiffOptions$1;
11552
+ tiff?: ITiffOptions;
11530
11553
  }
11531
11554
  interface PdfFont {
11532
11555
  name: string;
@@ -49785,7 +49808,7 @@ declare abstract class ReportViewBase {
49785
49808
  constructor(container: string | HTMLDivElement, options?: ReportOptions);
49786
49809
  abstract preview(options: PreviewOptions): Promise<void>;
49787
49810
  abstract exportPdf(options: PDFExportOptions): Promise<void>;
49788
- abstract exportImage(imageOptions: ImageExportOptions$1): void;
49811
+ abstract exportImage(imageOptions: ImageExportOptions): void;
49789
49812
  abstract exportDocument(options: DocumentExportOptions): void;
49790
49813
  protected abstract _setReportForm(data: ReportForm | ReportForm | ReportFormSets): void;
49791
49814
  /**
@@ -49872,7 +49895,7 @@ declare class ReportViewer extends ReportViewBase {
49872
49895
  * 이미지 내보내기 함수
49873
49896
  * @param imageOptions
49874
49897
  */
49875
- exportImage(imageOptions: ImageExportOptions): Promise<void>;
49898
+ exportImage(imageOptions: ExportImageOptions): Promise<void>;
49876
49899
  /**
49877
49900
  * 리포트를 이미지로 변환 후 Blob 배열 형식으로 반환
49878
49901
  * @param imageOptions
@@ -49962,7 +49985,7 @@ declare class GridReportViewer extends ReportViewer {
49962
49985
  */
49963
49986
  print(options: PrintOptions): Promise<void>;
49964
49987
  saveReport(options?: GridReportSaveOptions): void;
49965
- exportImage(imageOptions?: ImageExportOptions$1): Promise<void>;
49988
+ exportImage(imageOptions?: ImageExportOptions): Promise<void>;
49966
49989
  /**
49967
49990
  * Report 객체 초기화 및 생성
49968
49991
  */
@@ -50081,7 +50104,7 @@ declare class ReportCompositeViewer extends ReportViewBase {
50081
50104
  * 이미지 내보내기 함수
50082
50105
  * @param imageOptions
50083
50106
  */
50084
- exportImage(imageOptions: ImageExportOptions): Promise<void>;
50107
+ exportImage(imageOptions: ExportImageOptions): Promise<void>;
50085
50108
  /**
50086
50109
  * 리포트를 이미지로 변환 후 Blob 배열 형식으로 반환
50087
50110
  * @param imageOptions
@@ -50356,22 +50379,8 @@ type PDFExportOptions = {
50356
50379
  pdfVersion?: '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.7ext3';
50357
50380
  };
50358
50381
  type PDFExportBlobOptions = Omit<PDFExportOptions, 'preview'>;
50359
- declare enum CCITTScheme {
50360
- GROUP_3 = "g3",
50361
- GROUP_3_2D = "g3-2d",
50362
- GROUP_4 = "g4"
50363
- }
50364
- interface ITiffOptions {
50365
- dpi?: number;
50366
- grayscale?: boolean;
50367
- encoding?: CCITTScheme;
50368
- }
50369
- interface ImageExportOptions {
50370
- type?: 'png' | 'jpeg' | 'jpg' | 'gif' | 'tif' | 'tiff';
50371
- fileName?: string;
50382
+ interface ExportImageOptions extends ImageExportOptions {
50372
50383
  filename?: string;
50373
- zipName?: string;
50374
- tiff?: ITiffOptions;
50375
50384
  }
50376
50385
  interface DocumentExportOptions {
50377
50386
  type: string;
@@ -50396,4 +50405,4 @@ declare const IMG_EXPORT_DEFAULT_OPTIONS: ImageExportOptions;
50396
50405
  */
50397
50406
  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.";
50398
50407
 
50399
- export { DOC_EXPORT_DEFAULT_OPTIONS, DocumentExportBlobOptions, DocumentExportOptions, DocumentsExportFromDataOptions, 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 };
50408
+ 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 };