aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx')
-rw-r--r--mammoth/docx/numbering_xml.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/mammoth/docx/numbering_xml.py b/mammoth/docx/numbering_xml.py
index 77400c1..115d812 100644
--- a/mammoth/docx/numbering_xml.py
+++ b/mammoth/docx/numbering_xml.py
@@ -1,3 +1,6 @@
+from ..documents import NumberingLevel
+
+
def read_numbering_xml_element(element):
abstract_nums = _read_abstract_nums(element)
nums = _read_nums(element, abstract_nums)
@@ -54,9 +57,3 @@ class Numbering(object):
return None
else:
return num[level]
-
-
-class NumberingLevel(object):
- def __init__(self, level_index, is_ordered):
- self.level_index = level_index
- self.is_ordered = is_ordered