diff options
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r-- | xmlDrawing.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go index 34c9858..fc8dee5 100644 --- a/xmlDrawing.go +++ b/xmlDrawing.go @@ -144,6 +144,15 @@ const ( // supportedImageTypes defined supported image types. var supportedImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png", ".tif": ".tiff", ".tiff": ".tiff", ".emf": ".emf", ".wmf": ".wmf", ".emz": ".emz", ".wmz": ".wmz"} +// supportedContentType defined supported file format types. +var supportedContentType = map[string]string{ + ".xlam": ContentTypeAddinMacro, + ".xlsm": ContentTypeMacro, + ".xlsx": ContentTypeSheetML, + ".xltm": ContentTypeTemplateMacro, + ".xltx": ContentTypeTemplate, +} + // 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. |