feat: support for table cell slash #290

This commit is contained in:
Hufe921
2023-09-28 18:31:13 +08:00
parent 5ad1414d82
commit 4269628cc4
10 changed files with 86 additions and 5 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
import { VerticalAlign } from '../../dataset/enum/VerticalAlign'
import { TdBorder } from '../../dataset/enum/table/Table'
import { TdBorder, TdSlash } from '../../dataset/enum/table/Table'
import { IElement, IElementPosition } from '../Element'
import { IRow } from '../Row'
@@ -22,6 +22,7 @@ export interface ITd {
verticalAlign?: VerticalAlign
backgroundColor?: string
borderType?: TdBorder
slashType?: TdSlash
mainHeight?: number // 内容 + 内边距高度
realHeight?: number // 真实高度(包含跨列)
realMinHeight?: number // 真实最小高度(包含跨列)