Fix:Unimplemented function in ppt_parser (#8095)

### What problem does this PR solve?

https://github.com/infiniflow/ragflow/issues/8088

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Stephen Hu
2025-06-06 10:05:58 +08:00
committed by GitHub
parent d1ff588d46
commit 2e44c3b743

View File

@ -63,7 +63,7 @@ class RAGFlowPptParser:
if shape_type == 6: if shape_type == 6:
texts = [] texts = []
for p in sorted(shape.shapes, key=lambda x: (x.top // 10, x.left)): for p in sorted(shape.shapes, key=lambda x: (x.top // 10, x.left)):
t = self.__extract_texts(p) t = self.__extract(p)
if t: if t:
texts.append(t) texts.append(t)
return "\n".join(texts) return "\n".join(texts)