add_notes_pptx 実行例

help出力 add_notes_pptx.py --help

usage: add_notes_pptx.py [-h] [-o OUTFILE] [--mode {add,replace}]
                         [--replace REPLACE] [--box_margin BOX_MARGIN]
                         [--box_height BOX_HEIGHT] [--font_name FONT_NAME]
                         [--font_size FONT_SIZE] [--font_color FONT_COLOR]
                         [--bgcolor BGCOLOR] [--bgalpha BGALPHA]
                         infile

PowerPointノート処理(字幕追加 or {{key}}置換)

positional arguments:
  infile                入力PowerPointファイル(.pptx)

options:
  -h, --help            show this help message and exit
  -o OUTFILE, --outfile OUTFILE
                        出力ファイル名(省略時は -note-added.pptx / -replaced.pptx)
  --mode {add,replace}  add: ノートを字幕テキストボックスとして追加 / replace:
                        置換ファイル+ノート(supertitle)で{{key}}置換
  --replace REPLACE, -R REPLACE
                        [mode=replace] 置換用のTOML風 key=value ファイル(例:
                        title=Hello)
  --box_margin BOX_MARGIN
                        字幕ボックスの左右余白(pt)
  --box_height BOX_HEIGHT
                        字幕ボックスの高さ(pt)
  --font_name FONT_NAME
                        フォント名
  --font_size FONT_SIZE
                        フォントサイズ(pt)
  --font_color FONT_COLOR
                        文字色(16進RGB)
  --bgcolor BGCOLOR     背景色(16進RGB)
  --bgalpha BGALPHA     背景の透明度(0.0~1.0)


生成されたデータファイル

(データファイルが見つかりませんでした)

生成された画像一覧

(画像ファイルが見つかりませんでした)