realreport-designer 1.11.4 → 1.11.5

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.
@@ -3456,6 +3456,9 @@ declare class ExcelDataBandDataRow extends ExcelDataBandSection {
3456
3456
  get pathLabel(): string;
3457
3457
  getHiddenText(): string;
3458
3458
  writeAll(ctx: ExcelPrintContext, drows?: number[]): IExcelCell[];
3459
+ /**
3460
+ * Group용 데이터 행 작성
3461
+ */
3459
3462
  writeRow(ctx: ExcelPrintContext, drow: number, col: number): IExcelCell[];
3460
3463
  protected _getSectionType(): BandSectionType;
3461
3464
  private $_writeRow;
@@ -12304,6 +12307,11 @@ declare abstract class ReportItemCollectionItem extends ReportPageItem {
12304
12307
  protected _changed(prop: string, newValue: any, oldValue: any): void;
12305
12308
  }
12306
12309
 
12310
+ /**
12311
+ * - Table Band 아이템에서 셀 안에 TextItem일 경우 사용가능한 ColSpanCallback
12312
+ */
12313
+ declare type ReportItemColSpanCallback = (ctx: PrintContextBase, item: ReportItem, row: number, value: any) => number;
12314
+
12307
12315
  /* Excluded from this release type: ReportItemElement */
12308
12316
 
12309
12317
  /**
@@ -14901,6 +14909,11 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
14901
14909
  private $_addHeader;
14902
14910
  private $_addFooter;
14903
14911
  private $_addEndRow;
14912
+ /**
14913
+ * - TODO: TableDataRow의 rowcount가 2 이상이라면 제한두고 처리 필요
14914
+ */
14915
+ private $_applyMergeCells;
14916
+ private $_findDataRowElement;
14904
14917
  /**
14905
14918
  * 왼쪽에서 오른쪽으로 먼저 끝에서 첫번째 컬럼으로 다시.
14906
14919
  * 최대한 모든 컬럼에 골고루 배치.
@@ -15852,23 +15865,37 @@ declare class TextBandSectionElement extends StackContainerElement<TextBandSecti
15852
15865
  declare class TextItem extends TextItemBase {
15853
15866
  static readonly PROP_MULTI_LINE = "multiLine";
15854
15867
  static readonly PROP_TEXT = "text";
15868
+ static readonly PROP_WORD_BREAK = "wordBreak";
15855
15869
  static readonly PROP_ON_GET_CONTEXT_VALUE = "onGetContextValue";
15856
15870
  static readonly PROP_I18N = "internationalization";
15857
15871
  static readonly PROP_MERGE_RULE = "mergeRule";
15858
15872
  static readonly PROP_RICH = "rich";
15873
+ static readonly PROP_ON_GET_COL_SPAN = "onGetColSpan";
15874
+ static readonly PROP_AUTO_SHRINK = "autoShrink";
15859
15875
  static readonly PROPINFOS: IPropInfo[];
15860
15876
  static readonly $_ctor: string;
15861
15877
  static readonly ITEM_TYPE = "Text";
15878
+ private _autoShrink;
15862
15879
  private _text;
15880
+ private _wordBreak;
15863
15881
  private _rich;
15864
15882
  private _editing;
15865
15883
  private _i18nObject;
15866
15884
  private _mergeRule;
15867
15885
  private _contextValueCallback;
15868
15886
  private _onGetContextValue;
15887
+ private _colSpanCallback;
15888
+ private _onGetColSpan;
15869
15889
  private _contextValueCallbackFunc;
15870
15890
  private _contextValueCallbackDelegate;
15891
+ private _colSpanCallbackFunc;
15892
+ private _colSpanCallbackDelegate;
15871
15893
  constructor(name: string, text?: string);
15894
+ /**
15895
+ * wordBreak
15896
+ */
15897
+ get wordBreak(): WordBreak;
15898
+ set wordBreak(value: WordBreak);
15872
15899
  /**
15873
15900
  * text
15874
15901
  */
@@ -15900,7 +15927,29 @@ declare class TextItem extends TextItemBase {
15900
15927
  */
15901
15928
  get contextValueCallback(): ContextValueCallback;
15902
15929
  set contextValueCallback(value: ContextValueCallback);
15930
+ /**
15931
+ * onGetColSpan
15932
+ */
15933
+ get onGetColSpan(): string;
15934
+ set onGetColSpan(value: string);
15935
+ /**
15936
+ * colSpanCallback
15937
+ */
15938
+ get colSpanCallback(): ReportItemColSpanCallback;
15939
+ set conSpanCallback(value: ReportItemColSpanCallback);
15940
+ /**
15941
+ * 자동 폰트 사이즈 조정.
15942
+ * 설정 시 텍스트가 설정된 사이즈를 초과하는 경우
15943
+ * 자동적으로 사이즈를 조정하여 모든 텍스트가 보여지도록 하는 설정입니다.
15944
+ */
15945
+ get autoShrink(): boolean;
15946
+ set autoShrink(value: boolean);
15903
15947
  getDesignText2(system: boolean): string;
15948
+ /**
15949
+ * value 값은 onGetValueCallback에서 계산된 값이다.
15950
+ * @returns {number | null}
15951
+ */
15952
+ runColSpanCallback(ctx: PrintContext, value: any): number | undefined;
15904
15953
  get printEditable(): boolean;
15905
15954
  getSaveType(): string;
15906
15955
  get outlineLabel(): string;
@@ -16490,6 +16539,11 @@ declare type VisualElementCallback = (element: VisualElement, dom: HTMLElement)
16490
16539
 
16491
16540
  /* Excluded from this release type: VisualToolOwner */
16492
16541
 
16542
+ declare enum WordBreak {
16543
+ BREAK_ALL = "break-all",
16544
+ BREAK_WORD = "break-word"
16545
+ }
16546
+
16493
16547
  export { }
16494
16548
 
16495
16549