|
@@ -173,24 +173,24 @@ type LuckySheetCellData struct {
|
|
|
|
|
|
|
|
|
type LuckySheetDataValue struct {
|
|
|
- CellType LuckySheetDataCellType `json:"ct" description:"单元格值格式:文本、时间等 "`
|
|
|
- Value interface{} `json:"v" description:"原始值"`
|
|
|
- Monitor string `json:"m" description:"显示值"`
|
|
|
- Background string `json:"bg" description:"背景色,实例值:#fff000"`
|
|
|
- FontFamily int `json:"ff" description:"字体,0 Times New Roman、 1 Arial、2 Tahoma 、3 Verdana、4 微软雅黑、5 宋体(Song)、6 黑体(ST Heiti)、7 楷体(ST Kaiti)、 8 仿宋(ST FangSong)、9 新宋体(ST Song)、10 华文新魏、11 华文行楷、12 华文隶书 "`
|
|
|
- FontColor string `json:"fc" description:"字体颜色,示例值:#fff000" `
|
|
|
- Bold int `json:"bl" description:"粗体,0 常规 、 1加粗 "`
|
|
|
- Italic int `json:"it" description:"斜体,0 常规 、 1 斜体"`
|
|
|
- Fontsize int `json:"fs" description:"字体大小,14"`
|
|
|
- CancelLine int `json:"cl" description:"删除线, 0 常规 、 1 删除线"`
|
|
|
- HorizontalType string `json:"ht" description:"水平对齐, 0 居中、1 左、2右"`
|
|
|
- VerticalType string `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 自动换行"`
|
|
|
- Ps LuckySheetDataCellComment `json:"ps" description:"批注"`
|
|
|
- Function string `json:"f" description:"公式"`
|
|
|
- MergeCell LuckySheetDataConfigMerge `json:"mc" description:"合并单元格信息"`
|
|
|
+ CellType LuckySheetDataCellType `json:"ct" description:"单元格值格式:文本、时间等 "`
|
|
|
+ Value interface{} `json:"v" description:"原始值"`
|
|
|
+ Monitor string `json:"m" description:"显示值"`
|
|
|
+ Background string `json:"bg" description:"背景色,实例值:#fff000"`
|
|
|
+ FontFamily int `json:"ff" description:"字体,0 Times New Roman、 1 Arial、2 Tahoma 、3 Verdana、4 微软雅黑、5 宋体(Song)、6 黑体(ST Heiti)、7 楷体(ST Kaiti)、 8 仿宋(ST FangSong)、9 新宋体(ST Song)、10 华文新魏、11 华文行楷、12 华文隶书 "`
|
|
|
+ FontColor string `json:"fc" description:"字体颜色,示例值:#fff000" `
|
|
|
+ Bold int `json:"bl" description:"粗体,0 常规 、 1加粗 "`
|
|
|
+ Italic int `json:"it" description:"斜体,0 常规 、 1 斜体"`
|
|
|
+ Fontsize int `json:"fs" description:"字体大小,14"`
|
|
|
+ CancelLine int `json:"cl" description:"删除线, 0 常规 、 1 删除线"`
|
|
|
+ HorizontalType int `json:"ht" description:"水平对齐, 0 居中、1 左、2右"`
|
|
|
+ VerticalType int `json:"vt" description:"垂直对齐, 0 中间、1 上、2下"`
|
|
|
+
|
|
|
+
|
|
|
+ TextBeak int `json:"tb" description:"文本换行, 0 截断、1溢出、2 自动换行"`
|
|
|
+ Ps LuckySheetDataCellComment `json:"ps" description:"批注"`
|
|
|
+ Function string `json:"f" description:"公式"`
|
|
|
+ MergeCell LuckySheetDataConfigMerge `json:"mc" description:"合并单元格信息"`
|
|
|
}
|
|
|
|
|
|
|
|
@@ -202,8 +202,8 @@ type LuckySheetDataCellType struct {
|
|
|
FontColor string `json:"fc" description:"字体颜色,示例值:#fff000" `
|
|
|
Fontsize int `json:"fs" description:"字体大小,14"`
|
|
|
CancelLine int `json:"cl" description:"删除线, 0 常规 、 1 删除线"`
|
|
|
- HorizontalType string `json:"ht" description:"水平对齐, 0 居中、1 左、2右"`
|
|
|
- VerticalType string `json:"vt" description:"垂直对齐, 0 中间、1 上、2下"`
|
|
|
+ HorizontalType int `json:"ht" description:"水平对齐, 0 居中、1 左、2右"`
|
|
|
+ VerticalType int `json:"vt" description:"垂直对齐, 0 中间、1 上、2下"`
|
|
|
Un int `json:"un" description:""`
|
|
|
Bold int `json:"bl" description:"粗体,0 常规 、 1加粗 "`
|
|
|
Italic int `json:"it" description:"斜体,0 常规 、 1 斜体"`
|