|
@@ -1247,6 +1247,17 @@ func GetTableDataByMixedTableData(config [][]request.MixedTableCellDataReq, hide
|
|
|
if styleConfig.Color != "" {
|
|
|
tmp.FontColor = styleConfig.Color
|
|
|
}
|
|
|
+ switch styleConfig.Align {
|
|
|
+ case "center":
|
|
|
+ tmp.HorizontalType = 0
|
|
|
+ tmp.Ht = 0
|
|
|
+ case "left":
|
|
|
+ tmp.HorizontalType = 1
|
|
|
+ tmp.Ht = 1
|
|
|
+ case "right":
|
|
|
+ tmp.HorizontalType = 2
|
|
|
+ tmp.Ht = 2
|
|
|
+ }
|
|
|
tmp.Monitor = cell.ShowFormatValue
|
|
|
// 如果没有showValue, 则使用value
|
|
|
if cell.ShowValue == "" {
|