'Runs through "style" elements extracting necessary information.'

def processStyles(self, styleElements):

    for style in styleElements:
        name = style.getAttribute('style:name')
        if (name == 'Standard'):
            continue
        family = style.getAttribute('style:family')
        parent = style.getAttribute('style:parent-style-name')
        if (family == 'text'):
            self.textStyles[name] = self.extractTextProperties(style, parent)
        elif (family == 'paragraph'):
            self.paragraphStyles[name] = self.extractParagraphProperties(style, parent)
            self.textStyles[name] = self.extractTextProperties(style, parent)
