def getSheetContent(sheet):
    """
    Returns two dimensional array of all non empty content of the given
    sheet. Array contains string and double values.
    """
    cursor = sheet.createCursor()
    cursor.gotoStartOfUsedArea(False)
    cursor.gotoEndOfUsedArea(True)
    return [list(row) for row in cursor.getDataArray()]