fix: table cell height adaptation #162
This commit is contained in:
@@ -45,7 +45,7 @@ export interface IEditorOption {
|
||||
margins?: IMargin,
|
||||
pageMode?: PageMode;
|
||||
tdPadding?: number;
|
||||
defaultTdHeight?: number;
|
||||
defaultTrMinHeight?: number;
|
||||
defaultHyperlinkColor?: string;
|
||||
paperDirection?: PaperDirection;
|
||||
inactiveAlpha?: number;
|
||||
|
||||
@@ -19,4 +19,7 @@ export interface ITd {
|
||||
rowList?: IRow[];
|
||||
positionList?: IElementPosition[];
|
||||
verticalAlign?: VerticalAlign;
|
||||
mainHeight?: number; // 内容 + 内边距高度
|
||||
realHeight?: number; // 真实高度(包含跨列)
|
||||
realMinHeight?: number; // 真实最小高度(包含跨列)
|
||||
}
|
||||
@@ -4,4 +4,5 @@ export interface ITr {
|
||||
id?: string;
|
||||
height: number;
|
||||
tdList: ITd[];
|
||||
minHeight?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user