This commit is contained in:
Jonathan Corwin 2010-06-26 16:37:29 +01:00
commit 94f7190d50
1 changed files with 8 additions and 3 deletions

View File

@ -42,9 +42,14 @@ if os.name == u'nt':
PAGE_AFTER = 5
PAGE_BOTH = 6
else:
from com.sun.star.awt.FontWeight import BOLD
from com.sun.star.awt.FontSlant import ITALIC
from com.sun.star.style.BreakType import PAGE_BEFORE, PAGE_AFTER, PAGE_BOTH
try:
from com.sun.star.awt.FontWeight import BOLD
from com.sun.star.awt.FontSlant import ITALIC
from com.sun.star.style.BreakType import PAGE_BEFORE, PAGE_AFTER, \
PAGE_BOTH
except ImportError:
pass
class SofImport(OooImport):
"""