'@todo: docstring'

def addLabel(self, label, row, col, width=11, height=None, style='styleSubHeader'):

    cell = survey_MatrixElement(row, col, label, style=style)
    if (height is None):
        height = ((len(label) / (2 * width)) + 1)
    cell.merge(horizontal=(width - 1), vertical=(height - 1))
    try:
        self.matrix.addElement(cell)
    except Exception as msg:
        current.log.error(msg)
        return (row, col)
    endrow = (row + height)
    endcol = (col + width)
    return (endrow, endcol)
