diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-03-28 21:18:06 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-03-28 21:18:06 +0800 |
commit | 02b81b7efe58549f88c93c1264ef618ee842c0fc (patch) | |
tree | 621aca06fc6cca380fdb8fa2f5241fbc043e26a0 /xmlDrawing.go | |
parent | 8dcdf9024dda4f31797e8b5b00d198ea905527bf (diff) |
- Get an images in a cell supported, new function `GetPicture` added;
- go test updated
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r-- | xmlDrawing.go | 2 |
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. |