def getElementsByType(self, element):
        obj = element(check_grammar=False)
        return self._getElementsByObj(obj,[])
Gets elements based on the type, which is function from text.py, draw.py etc.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/tablib-0.10.0/tablib/packages/odf/element.py/Element.getElementsByType