We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7869275 commit b49df92Copy full SHA for b49df92
docling/backend/msword_backend.py
@@ -404,7 +404,7 @@ def _get_numId_and_ilvl(
404
405
return None, None # If the paragraph is not part of a list
406
407
- def _get_level_element(self, numid: int, ilvl: int):
+ def _get_level_element(self, numid: int, ilvl: int) -> Optional[BaseOxmlElement]:
408
"""Find the level element from the numbering XML for a given numId and ilvl."""
409
try:
410
if not hasattr(self.docx_obj, "part") or not hasattr(
0 commit comments