メインコンテンツ

PowerPoint プレゼンテーションとコンテンツの書式設定

R2026b
PPT API を使用してプレゼンテーションのレイアウトとコンテンツの書式設定を指定する

次を使用し、MATLAB® API for PowerPoint® (PPT API) を使用してプレゼンテーションのレイアウトとコンテンツの書式設定をプログラムで指定します。

  • PPT API 書式オブジェクト

  • PPT API オブジェクトのプロパティ

  • 既定のプレゼンテーション テンプレートの変更

プレゼンテーションを生成する際に、プレゼンテーション ジェネレーターでプレゼンテーションの書式設定を指定する必要はありません。すべてのプレゼンテーションおよびプレゼンテーション コンテンツ オブジェクトには、既定の書式設定が適用されているためです。既定の選択から書式設定をカスタマイズしたい場合は、これらの方法を使用します。プレゼンテーションの書式設定を開始するには、プレゼンテーションの書式設定方法を参照してください。

関数

getMasterNames プレゼンテーションのスライド マスターの名前を取得する
getLayoutNames プレゼンテーション スライド マスターのレイアウト名の取得
getTableStyleNamesプレゼンテーション用のテーブル スタイル名の取得
mlreportgen.ppt.getDefaultNumberFormatGet default formatting for PPT API numeric data (R2024b 以降)
mlreportgen.ppt.setDefaultNumberFormatPPT API によって生成された数値データの既定の書式の設定 (R2024b 以降)

クラス

すべて展開する

mlreportgen.ppt.AutoFitScale text to fit placeholder or text box
mlreportgen.ppt.BackgroundColorプレゼンテーション要素の背景色
mlreportgen.ppt.Boldtext オブジェクトの太字
mlreportgen.ppt.FontColorフォント カラー
mlreportgen.ppt.FontFamilyフォント ファミリ
mlreportgen.ppt.FontSizeフォント サイズ
mlreportgen.ppt.HAlign段落の水平方向の配置
mlreportgen.ppt.Italictext オブジェクトのイタリック
mlreportgen.ppt.OuterMarginOuter margin between bounding box and adjacent presentation objects (R2026a 以降)
mlreportgen.ppt.Strikeテキストの取り消し線
mlreportgen.ppt.Subscript下付き文字テキスト
mlreportgen.ppt.Superscript上付き文字テキスト
mlreportgen.ppt.Underline下線付きテキスト
mlreportgen.ppt.NumberFormat数値の書式設定 (R2024b 以降)
mlreportgen.ppt.BorderBorder of a table, table entry, picture, or video
mlreportgen.ppt.ColSepTable column separators
mlreportgen.ppt.ColSpecテーブル列の書式設定
mlreportgen.ppt.ColWidthテーブル列の幅
mlreportgen.ppt.FlowDirectionTable column flow direction
mlreportgen.ppt.InnerMarginMargin between content and bounding box (R2026a 以降)
mlreportgen.ppt.RowHeightTable row height
mlreportgen.ppt.RowSepTable row separators
mlreportgen.ppt.TableStyleOptionsStripe table rows and columns
mlreportgen.ppt.TextOrientationOrientation of text in a table entry
mlreportgen.ppt.VAlignテーブル エントリのコンテンツの垂直方向の配置

トピック