Browse Source

Merge pull request #344 from presto78/textrotation

fix bug "no read alignment property RotationText"
Ryan Hollis 8 years ago
parent
commit
97209ceb28
1 changed files with 3 additions and 2 deletions
  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()
 	}