realreport-designer 1.11.3 → 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.
@@ -2167,7 +2167,7 @@ declare class DataListContainer extends DataContainer {
2167
2167
  private _dataPanel;
2168
2168
  private _dragImage;
2169
2169
  constructor(doc: Document, dataPanel: DataPanel);
2170
- get headerView(): HeaderView;
2170
+ get headerView(): DataListHeaderView;
2171
2171
  get bodyView(): BodyView$1;
2172
2172
  /**
2173
2173
  * listMode
@@ -2198,6 +2198,18 @@ declare class DataListContainer extends DataContainer {
2198
2198
  private $_addDataToReport;
2199
2199
  }
2200
2200
 
2201
+ declare class DataListHeaderView extends DesignerLayerElement {
2202
+ static readonly ACTION_BUTTON_CLASS_NAME = "rrd-data-list-header-action-button";
2203
+ private _dataListContainer;
2204
+ get dataListContainer(): DataListContainer;
2205
+ set dataListContainer(container: DataListContainer);
2206
+ refresh(): void;
2207
+ protected _doInitDom(doc: Document, dom: HTMLElement): void;
2208
+ protected _doInitStyles(dom: HTMLElement): void;
2209
+ private $_resetButtons;
2210
+ private $_setButtonVisibleByTag;
2211
+ }
2212
+
2201
2213
  /**
2202
2214
  * Data panel.
2203
2215
  */
@@ -3444,6 +3456,9 @@ declare class ExcelDataBandDataRow extends ExcelDataBandSection {
3444
3456
  get pathLabel(): string;
3445
3457
  getHiddenText(): string;
3446
3458
  writeAll(ctx: ExcelPrintContext, drows?: number[]): IExcelCell[];
3459
+ /**
3460
+ * Group용 데이터 행 작성
3461
+ */
3447
3462
  writeRow(ctx: ExcelPrintContext, drow: number, col: number): IExcelCell[];
3448
3463
  protected _getSectionType(): BandSectionType;
3449
3464
  private $_writeRow;
@@ -5234,17 +5249,6 @@ declare abstract class HeaderSelection {
5234
5249
  canMakeSnippet(): boolean;
5235
5250
  }
5236
5251
 
5237
- declare class HeaderView extends DesignerLayerElement {
5238
- private _dataListContainer;
5239
- get dataListContainer(): DataListContainer;
5240
- set dataListContainer(container: DataListContainer);
5241
- refresh(): void;
5242
- protected _doInitDom(doc: Document, dom: HTMLElement): void;
5243
- protected _doInitStyles(dom: HTMLElement): void;
5244
- private $_resetButtons;
5245
- private $_setButtonVisibleByTag;
5246
- }
5247
-
5248
5252
  declare abstract class HichartAxis extends ChartObject<HichartItem> {
5249
5253
  static readonly PROP_TITLE = "title";
5250
5254
  static readonly PROP_CATEGORIES = "categories";
@@ -12303,6 +12307,11 @@ declare abstract class ReportItemCollectionItem extends ReportPageItem {
12303
12307
  protected _changed(prop: string, newValue: any, oldValue: any): void;
12304
12308
  }
12305
12309
 
12310
+ /**
12311
+ * - Table Band 아이템에서 셀 안에 TextItem일 경우 사용가능한 ColSpanCallback
12312
+ */
12313
+ declare type ReportItemColSpanCallback = (ctx: PrintContextBase, item: ReportItem, row: number, value: any) => number;
12314
+
12306
12315
  /* Excluded from this release type: ReportItemElement */
12307
12316
 
12308
12317
  /**
@@ -14900,6 +14909,11 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
14900
14909
  private $_addHeader;
14901
14910
  private $_addFooter;
14902
14911
  private $_addEndRow;
14912
+ /**
14913
+ * - TODO: TableDataRow의 rowcount가 2 이상이라면 제한두고 처리 필요
14914
+ */
14915
+ private $_applyMergeCells;
14916
+ private $_findDataRowElement;
14903
14917
  /**
14904
14918
  * 왼쪽에서 오른쪽으로 먼저 끝에서 첫번째 컬럼으로 다시.
14905
14919
  * 최대한 모든 컬럼에 골고루 배치.
@@ -15851,23 +15865,37 @@ declare class TextBandSectionElement extends StackContainerElement<TextBandSecti
15851
15865
  declare class TextItem extends TextItemBase {
15852
15866
  static readonly PROP_MULTI_LINE = "multiLine";
15853
15867
  static readonly PROP_TEXT = "text";
15868
+ static readonly PROP_WORD_BREAK = "wordBreak";
15854
15869
  static readonly PROP_ON_GET_CONTEXT_VALUE = "onGetContextValue";
15855
15870
  static readonly PROP_I18N = "internationalization";
15856
15871
  static readonly PROP_MERGE_RULE = "mergeRule";
15857
15872
  static readonly PROP_RICH = "rich";
15873
+ static readonly PROP_ON_GET_COL_SPAN = "onGetColSpan";
15874
+ static readonly PROP_AUTO_SHRINK = "autoShrink";
15858
15875
  static readonly PROPINFOS: IPropInfo[];
15859
15876
  static readonly $_ctor: string;
15860
15877
  static readonly ITEM_TYPE = "Text";
15878
+ private _autoShrink;
15861
15879
  private _text;
15880
+ private _wordBreak;
15862
15881
  private _rich;
15863
15882
  private _editing;
15864
15883
  private _i18nObject;
15865
15884
  private _mergeRule;
15866
15885
  private _contextValueCallback;
15867
15886
  private _onGetContextValue;
15887
+ private _colSpanCallback;
15888
+ private _onGetColSpan;
15868
15889
  private _contextValueCallbackFunc;
15869
15890
  private _contextValueCallbackDelegate;
15891
+ private _colSpanCallbackFunc;
15892
+ private _colSpanCallbackDelegate;
15870
15893
  constructor(name: string, text?: string);
15894
+ /**
15895
+ * wordBreak
15896
+ */
15897
+ get wordBreak(): WordBreak;
15898
+ set wordBreak(value: WordBreak);
15871
15899
  /**
15872
15900
  * text
15873
15901
  */
@@ -15899,7 +15927,29 @@ declare class TextItem extends TextItemBase {
15899
15927
  */
15900
15928
  get contextValueCallback(): ContextValueCallback;
15901
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);
15902
15947
  getDesignText2(system: boolean): string;
15948
+ /**
15949
+ * value 값은 onGetValueCallback에서 계산된 값이다.
15950
+ * @returns {number | null}
15951
+ */
15952
+ runColSpanCallback(ctx: PrintContext, value: any): number | undefined;
15903
15953
  get printEditable(): boolean;
15904
15954
  getSaveType(): string;
15905
15955
  get outlineLabel(): string;
@@ -16489,6 +16539,11 @@ declare type VisualElementCallback = (element: VisualElement, dom: HTMLElement)
16489
16539
 
16490
16540
  /* Excluded from this release type: VisualToolOwner */
16491
16541
 
16542
+ declare enum WordBreak {
16543
+ BREAK_ALL = "break-all",
16544
+ BREAK_WORD = "break-word"
16545
+ }
16546
+
16492
16547
  export { }
16493
16548
 
16494
16549