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:
parent
d1ff588d46
commit
2e44c3b743
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue