Пример #1
0
def get_olestorage_class():
    if jython_poifs.is_enabled():
        return jython_poifs.OleStorage
    if olefileio.is_enabled():
        return olefileio.OleStorage
    if _uno.is_enabled():
        return _uno.OleStorage
Пример #2
0
def get_olestorage_class():
    if jython_poifs.is_enabled():
        return jython_poifs.OleStorage
    if olefileio.is_enabled():
        return olefileio.OleStorage
    if _uno.is_enabled():
        return _uno.OleStorage
    if gir_gsf.is_enabled():
        return gir_gsf.OleStorage
Пример #3
0
 def setUp(self):
     from hwp5.plat import olefileio
     if olefileio.is_enabled():
         self.OleStorage = olefileio.OleStorage
Пример #4
0
 def setUp(self):
     if olefileio.is_enabled():
         self.OleStorage = olefileio.OleStorage