'Register a style. But there are three style dictionaries:
office:styles, office:automatic-styles and office:master-styles
Chapter 14'

def __register_stylename(self, element):

    name = element.getAttrNS(STYLENS, 'name')
    if (name is None):
        return
    if (element.parentNode.qname in ((OFFICENS, 'styles'), (OFFICENS, 'automatic-styles'))):
        if (name in self._styles_dict):
            newname = ('M' + name)
            self._styles_ooo_fix[name] = newname
            name = newname
            element.setAttrNS(STYLENS, 'name', name)
        self._styles_dict[name] = element
