From 4362ce9143ab141e00c0b1ff516f8d1a2fd5b61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 22 Oct 2014 13:53:52 +0200 Subject: [PATCH] even more debugging --- addon/Tabellio.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addon/Tabellio.py b/addon/Tabellio.py index 2630118..b85ee67 100644 --- a/addon/Tabellio.py +++ b/addon/Tabellio.py @@ -761,7 +761,12 @@ class ListStyleApply(unohelper.Base, XJobExecutor): if numberingrules is None: numberingrules = textcursor.getPropertyValue('NumberingRules') if numberingrules is None: + log.append('using new numbering rules array') numberingrules = doc.createInstance('com.sun.star.text.NumberingRules') + else: + log.append('using numbering rules of current paragraph') + else: + log.append('using numbering rules of previous paragraph') props = numberingrules.getByIndex(level) found_bullet_char_prop = False found_bullet_fontname_prop = False