fix: table cell height adaptation #162

This commit is contained in:
Hufe921
2023-03-27 20:59:31 +08:00
parent fda18d968e
commit a2090c82fc
8 changed files with 76 additions and 4 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export interface IEditorOption {
margins?: IMargin,
pageMode?: PageMode;
tdPadding?: number;
defaultTdHeight?: number;
defaultTrMinHeight?: number;
defaultHyperlinkColor?: string;
paperDirection?: PaperDirection;
inactiveAlpha?: number;
+3
View File
@@ -19,4 +19,7 @@ export interface ITd {
rowList?: IRow[];
positionList?: IElementPosition[];
verticalAlign?: VerticalAlign;
mainHeight?: number; // 内容 + 内边距高度
realHeight?: number; // 真实高度(包含跨列)
realMinHeight?: number; // 真实最小高度(包含跨列)
}
+1
View File
@@ -4,4 +4,5 @@ export interface ITr {
id?: string;
height: number;
tdList: ITd[];
minHeight?: number;
}