Explorar el Código

fix bug "no read alignment property RotationText"

presto78 hace 8 años
padre
commit
087b1455e8
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      xmlStyle.go

+ 3 - 2
xmlStyle.go

@@ -211,8 +211,9 @@ func (styles *xlsxStyleSheet) getStyle(styleIndex int) *Style {
 			style.Alignment.Vertical = xf.Alignment.Vertical
 		}
 		style.Alignment.WrapText = xf.Alignment.WrapText
-
-		styles.Lock()
+        style.Alignment.TextRotation=xf.Alignment.TextRotation
+		
+        styles.Lock()
 		styles.styleCache[styleIndex] = style
 		styles.Unlock()
 	}