From 02b81b7efe58549f88c93c1264ef618ee842c0fc Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Tue, 28 Mar 2017 21:18:06 +0800 Subject: - Get an images in a cell supported, new function `GetPicture` added; - go test updated --- xmlDrawing.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmlDrawing.go') 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. -- cgit v1.2.1