0

テーブルとテキスト フレームからデータをインポートするコード:

 pres = Presentation(ppt_file)

    for slide in pres.slides:
        for shape in slide.shapes:
            if(shape.has_text_frame):
                for paragraph in shape.text_frame.paragraphs:
                    for run in paragraph.runs:
                        print run.text    

私はこのようなスライドを持っています:

ここに画像の説明を入力

出力: ランニングテキスト

テキストは左側のフレームまたは大きなボックスから読み取られていますが、右側の 2 つのフレームからは読み取られていません。

4

1 に答える 1