diff options
author | xuri <xuri.me@gmail.com> | 2022-01-09 00:20:42 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-01-09 00:20:42 +0800 |
commit | 2245fccca0beb25a1bf309a1c9cbd273512f125a (patch) | |
tree | 737ced5abd6cf452662268cf1ae2b76edf8ed03c /xmlDrawing.go | |
parent | af5c4d00e81b62a3f6ff6cb34a89502400552a2d (diff) |
Typo fix, rename exported constants, dependencies modules and copyright update
Rename exported constants `NameSpaceDublinCoreMetadataIntiative` to `NameSpaceDublinCoreMetadataInitiative`
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r-- | xmlDrawing.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go index 4ae6a29..f51451b 100644 --- a/xmlDrawing.go +++ b/xmlDrawing.go @@ -1,4 +1,4 @@ -// Copyright 2016 - 2021 The excelize Authors. All rights reserved. Use of +// Copyright 2016 - 2022 The excelize Authors. All rights reserved. Use of // this source code is governed by a BSD-style license that can be found in // the LICENSE file. // @@ -62,7 +62,7 @@ const ( StrictNameSpaceSpreadSheet = "http://purl.oclc.org/ooxml/spreadsheetml/main" NameSpaceDublinCore = "http://purl.org/dc/elements/1.1/" NameSpaceDublinCoreTerms = "http://purl.org/dc/terms/" - NameSpaceDublinCoreMetadataIntiative = "http://purl.org/dc/dcmitype/" + NameSpaceDublinCoreMetadataInitiative = "http://purl.org/dc/dcmitype/" ContentTypeDrawing = "application/vnd.openxmlformats-officedocument.drawing+xml" ContentTypeDrawingML = "application/vnd.openxmlformats-officedocument.drawingml.chart+xml" ContentTypeMacro = "application/vnd.ms-excel.sheet.macroEnabled.main+xml" @@ -160,10 +160,8 @@ type xlsxPicLocks struct { NoSelect bool `xml:"noSelect,attr,omitempty"` } -// xlsxBlip directly maps the blip element in the namespace -// http://purl.oclc.org/ooxml/officeDoc ument/relationships - This element -// specifies the existence of an image (binary large image or picture) and -// contains a reference to the image data. +// xlsxBlip element specifies the existence of an image (binary large image or +// picture) and contains a reference to the image data. type xlsxBlip struct { Embed string `xml:"r:embed,attr"` Cstate string `xml:"cstate,attr,omitempty"` |