From a9c7d6637cbf0419365aee9cc743a066bdd06b6a Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Thu, 26 Apr 2018 11:41:13 +0800 Subject: - Support to set the positioning of a picture, relate issue #214; - go test and godoc has been updated --- shape.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shape.go') diff --git a/shape.go b/shape.go index 1c9039b..f1328f7 100644 --- a/shape.go +++ b/shape.go @@ -285,7 +285,7 @@ func (f *File) addDrawingShape(sheet, drawingXML, cell string, formatSet *format content.Xdr = NameSpaceDrawingMLSpreadSheet cNvPrID := f.drawingParser(drawingXML, &content) twoCellAnchor := xdrCellAnchor{} - twoCellAnchor.EditAs = "oneCell" + twoCellAnchor.EditAs = formatSet.Format.Positioning from := xlsxFrom{} from.Col = colStart from.ColOff = formatSet.Format.OffsetX * EMU -- cgit v1.2.1