 	getCell: (c)->
 		throw new Error "Index is out of range" unless c > 0
 		@_.cells[c] || @_.cells[c] = new Cell(this, c)
-		
+
 	toXmlObj: ->
 		obj = {
 			$:{

Cell = require('./cell')
Utils = require('./utils')

class Row
	constructor:(worksheet, rowIndex, xmlobj)->
		@_ = {}
		@_.worksheet = worksheet
		@_.rowIndex = parseInt rowIndex
		@_.height = null
		@_.cells = []
		@_.styleId = 0

		if xmlobj
			@_.styleId = parseInt xmlobj.$.s
			@_.heightCustomized = (parseInt xmlobj.$.customHeight) == 1
			@_.height = parseFloat xmlobj.$.ht


					[tmp, col] = Utils.toRowCol cell_obj.$.r
					@_.cells[col] = new Cell(this, col, cell_obj)

		styleId = (parseInt xmlobj?.$.s) || 0
		StyleMixin.bind(this, styleId)
		@_.styleMixin.onUpdate = =>
			for cell in @_.cells
				continue unless cell
				cell._.styleMixin.style = @_.styleMixin.style

	Object.defineProperties @prototype,
		"workbook":
