forked from openlp/openlp
error trap if no ooo
This commit is contained in:
parent
14bb4c2edb
commit
c7c4def38e
@ -33,9 +33,11 @@ if os.name == u'nt':
|
|||||||
PAGE_AFTER = 5
|
PAGE_AFTER = 5
|
||||||
PAGE_BOTH = 6
|
PAGE_BOTH = 6
|
||||||
else:
|
else:
|
||||||
|
try:
|
||||||
import uno
|
import uno
|
||||||
from com.sun.star.style.BreakType import PAGE_BEFORE, PAGE_AFTER, PAGE_BOTH
|
from com.sun.star.style.BreakType import PAGE_BEFORE, PAGE_AFTER, PAGE_BOTH
|
||||||
|
except:
|
||||||
|
pass
|
||||||
class OooImport(object):
|
class OooImport(object):
|
||||||
"""
|
"""
|
||||||
Import songs from Impress/Powerpoint docs using Impress
|
Import songs from Impress/Powerpoint docs using Impress
|
||||||
|
Loading…
Reference in New Issue
Block a user