Feat: support pic base bullet for PPT (#6406)

### What problem does this PR solve?

support pic base bullet for PPT

modify one mistake in document

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Stephen Hu
2025-03-24 09:31:31 +08:00
committed by GitHub
parent efc4796f01
commit d77380f024
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class RAGFlowPptParser:
super().__init__()
def __get_bulleted_text(self, paragraph):
is_bulleted = bool(paragraph._p.xpath("./a:pPr/a:buChar")) or bool(bool(paragraph._p.xpath("./a:pPr/a:buAutoNum")) )
is_bulleted = bool(paragraph._p.xpath("./a:pPr/a:buChar")) or bool(paragraph._p.xpath("./a:pPr/a:buAutoNum")) or bool(paragraph._p.xpath("./a:pPr/a:buBlip"))
if is_bulleted:
return f"{' '* paragraph.level}.{paragraph.text}"
else: