-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathborderstyle.go
40 lines (36 loc) · 1.08 KB
/
borderstyle.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
package goexcel
import ()
const (
BDR_None =""
BDR_DashDot = "dashDot"
BDR_MediumDashDot = "mediumDashDot"
BDR_Dotted = "dotted"
BDR_SlantDashDot = "slantDashDot"
BDR_Thick = "thick"
BDR_DashDotDot = "dashDotDot"
BDR_Hair = "hair"
BDR_MediumDashDotDot = "mediumDashDotDot"
BDR_MediumDashed = "mediumDashed"
BDR_Thin = "thin"
BDR_Double = "double"
BDR_Medium = "medium"
BDR_Dashed = "dashed"
)
var BorderMap map[string]string
func MakeBorderMap() {
BorderMap = make(map[string]string)
BorderMap["None"] = ""
BorderMap["DashDot"] = "dashDot"
BorderMap["MediumDashDot"] = "mediumDashDot"
BorderMap["Dotted"] = "dotted"
BorderMap["SlantDashDot"] = "slantDashDot"
BorderMap["Thick"] = "thick"
BorderMap["DashDotDot"] = "dashDotDot"
BorderMap["Hair"] = "hair"
BorderMap["MediumDashDotDot"] = "mediumDashDotDot"
BorderMap["MediumDashed"] = "mediumDashed"
BorderMap["Thin"] = "thin"
BorderMap["Double"] = "double"
BorderMap["Medium"] = "medium"
BorderMap["Dashed"] = "dashed"
}