From 1f73f08185e664d6914c8eb849a9797b26067628 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Mon, 6 Mar 2017 12:05:41 +0800 Subject: - New feature: border setting support (Related issue #21); - Function parameter code is simplified; - Fix element `Tint` value parsing error in worksheet; - Update go test --- picture.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'picture.go') diff --git a/picture.go b/picture.go index 54d820e..fc4eda7 100644 --- a/picture.go +++ b/picture.go @@ -17,8 +17,8 @@ import ( // parseFormatPictureSet provides function to parse the format settings of the // picture with default value. -func parseFormatPictureSet(formatSet string) *xlsxFormatPicture { - format := xlsxFormatPicture{ +func parseFormatPictureSet(formatSet string) *formatPicture { + format := formatPicture{ FPrintsWithSheet: true, FLocksWithSheet: false, NoChangeAspect: false, @@ -194,7 +194,7 @@ func (f *File) countDrawings() int { // yAxis, file name and relationship index. In order to solve the problem that // the label structure is changed after serialization and deserialization, two // different structures: decodeWsDr and encodeWsDr are defined. -func (f *File) addDrawing(sheet, drawingXML, cell, file string, width, height, rID int, formatSet *xlsxFormatPicture) { +func (f *File) addDrawing(sheet, drawingXML, cell, file string, width, height, rID int, formatSet *formatPicture) { cell = strings.ToUpper(cell) fromCol := string(strings.Map(letterOnlyMapF, cell)) fromRow, _ := strconv.Atoi(strings.Map(intOnlyMapF, cell)) -- cgit v1.2.1