-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathalignment.go
44 lines (38 loc) · 1.09 KB
/
alignment.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package goexcel
import ()
const (
H_CenterContinuous = "centerContinuous"
H_Left = "left"
H_Distributed = "distributed"
H_Justify = "justify"
H_Fill = "fill"
H_Center = "center"
H_General = "general"
H_Right = "right"
V_Bottom = "bottom"
V_Distributed = "distributed"
V_Justify = "justify"
V_Top = "top"
V_Center = "center"
)
var HAlingnMap map[string]string
func MakeHAlingnMap() {
HAlingnMap = make(map[string]string)
HAlingnMap["CenterContinuous"] = "centerContinuous"
HAlingnMap["Left"] = "left"
HAlingnMap["Distributed"] = "distributed"
HAlingnMap["Justify"] = "justify"
HAlingnMap["Fill"] = "fill"
HAlingnMap["Center"] = "center"
HAlingnMap["General"] = "general"
HAlingnMap["Right"] = "right"
}
var VAlingnMap map[string]string
func MakeVAlingnMap() {
VAlingnMap = make(map[string]string)
VAlingnMap["Bottom"] = "bottom"
VAlingnMap["Distributed"] = "distributed"
VAlingnMap["Justify"] = "justify"
VAlingnMap["Top"] = "top"
VAlingnMap["Center"] = "center"
}