|
@@ -194,7 +194,8 @@ type LuckySheetDataValue struct {
|
|
|
Vt interface{} `json:"vt" description:"垂直对齐, 0 中间、1 上、2下"`
|
|
|
//TextRotate string `json:"tr" description:"竖排文字, 3"`
|
|
|
//RotateText string `json:"rt" description:"文字旋转角度, 介于0~180之间的整数,包含0和180"`
|
|
|
- TextBeak int `json:"tb" description:"文本换行, 0 截断、1溢出、2 自动换行"`
|
|
|
+ TextBeak int `description:"文本换行, 0 截断、1溢出、2 自动换行"`
|
|
|
+ Tb interface{} `json:"tb" description:"文本换行, 0 截断、1溢出、2 自动换行"`
|
|
|
Ps LuckySheetDataCellComment `json:"ps" description:"批注"`
|
|
|
Function string `json:"f" description:"公式"`
|
|
|
MergeCell LuckySheetDataConfigMerge `json:"mc" description:"合并单元格信息"`
|
|
@@ -243,6 +244,7 @@ func GetLuckySheetData(jsonStr string) (item *LuckySheetData, err error) {
|
|
|
value.HorizontalType = getIntValueByInterface(value.Ht)
|
|
|
value.VerticalType = getIntValueByInterface(value.Vt)
|
|
|
value.FontFamily = getIntValueByInterface(value.FF)
|
|
|
+ value.TextBeak = getIntValueByInterface(value.Tb)
|
|
|
|
|
|
if len(value.CellType.S) > 0 {
|
|
|
for kk, vv := range value.CellType.S {
|