mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
refine table parser (#120)
This commit is contained in:
@ -42,7 +42,9 @@ class HuPptParser(object):
|
||||
BytesIO(fnm))
|
||||
txts = []
|
||||
self.total_page = len(ppt.slides)
|
||||
for i, slide in enumerate(ppt.slides[from_page: to_page]):
|
||||
for i, slide in enumerate(ppt.slides):
|
||||
if i < from_page: continue
|
||||
if i >= to_page:break
|
||||
texts = []
|
||||
for shape in slide.shapes:
|
||||
txt = self.__extract(shape)
|
||||
|
||||
Reference in New Issue
Block a user