summaryrefslogtreecommitdiff
path: root/xmlDrawing.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-03-28 21:18:06 +0800
committerRi Xu <xuri.me@gmail.com>2017-03-28 21:18:06 +0800
commit02b81b7efe58549f88c93c1264ef618ee842c0fc (patch)
tree621aca06fc6cca380fdb8fa2f5241fbc043e26a0 /xmlDrawing.go
parent8dcdf9024dda4f31797e8b5b00d198ea905527bf (diff)
- Get an images in a cell supported, new function `GetPicture` added;
- go test updated
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r--xmlDrawing.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go
index 94fcc97..4b87d9d 100644
--- a/xmlDrawing.go
+++ b/xmlDrawing.go
@@ -12,6 +12,8 @@ const (
NameSpaceXML = "http://www.w3.org/XML/1998/namespace"
)
+var supportImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png"}
+
// xlsxCNvPr directly maps the cNvPr (Non-Visual Drawing Properties). This
// element specifies non-visual canvas properties. This allows for additional
// information that does not affect the appearance of the picture to be stored.