メインコンテンツ

プレゼンテーション オブジェクトの作成

テキスト、段落、テーブルおよび画像オブジェクトの作成と書式設定

テキスト、テーブル、画像などのプレゼンテーション コンテンツ オブジェクトをプレゼンテーションに追加できます。コンテンツ オブジェクトのタイプに特定の書式オブジェクトを使用するスタイルを定義することで、これらのコンテンツ オブジェクトを書式設定できます。また、コンテンツ オブジェクトの書式設定プロパティを使用して書式を指定することもできます。はじめに、プレゼンテーション コンテンツの追加と置換を参照してください。

関数

すべて展開する

addテキスト ボックスへの段落の追加
append段落へのコンテンツの追加
clone Copy PPT API paragraph (R2021b 以降)
appendテーブルへの行の追加
appendテーブル行へのテーブル エントリの追加
appendテーブル エントリへのテキストまたは段落の追加
replaceテキスト ボックスの段落の置換
replace画像の置換
replaceテーブルの別のテーブルへの置換
rowテーブル行へのアクセス
entryテーブル エントリへのアクセス
pptviewMicrosoft PowerPoint プレゼンテーションを開くか PDF に変換する
rptviewレポートまたはプレゼンテーションの表示

クラス

すべて展開する

mlreportgen.ppt.ExternalLinkプレゼンテーション外の場所へのハイパーリンク
mlreportgen.ppt.InternalLinkプレゼンテーション内のスライドへのハイパーリンク (R2021a 以降)
mlreportgen.ppt.NumberNumber to include as formatted text in document (R2024b 以降)
mlreportgen.ppt.Paragraph書式設定されたテキスト ブロック (段落)
mlreportgen.ppt.Pictureプレゼンテーションに含める画像
mlreportgen.ppt.PresentationMicrosoft PowerPoint プレゼンテーション コンテナーの作成
mlreportgen.ppt.Slideプレゼンテーションのスライド
mlreportgen.ppt.Tableプレゼンテーション内のテーブル
mlreportgen.ppt.TableEntryTable entry
mlreportgen.ppt.TableRowテーブル行
mlreportgen.ppt.Textプレゼンテーションに含めるテキスト
mlreportgen.ppt.TextBoxテキスト ボックス
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.Strikeテキストの取り消し線
mlreportgen.ppt.Subscript下付き文字テキスト
mlreportgen.ppt.Superscript上付き文字テキスト
mlreportgen.ppt.Underline下線付きテキスト
mlreportgen.ppt.NumberFormat数値の書式設定 (R2024b 以降)
mlreportgen.ppt.BorderBorder of a table or table entry
mlreportgen.ppt.ColSepTable column separators
mlreportgen.ppt.ColSpecテーブル列の書式設定
mlreportgen.ppt.ColWidthテーブル列の幅
mlreportgen.ppt.FlowDirectionTable column flow direction
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テーブル エントリのコンテンツの垂直方向の配置

トピック

  • プレゼンテーションの書式設定方法

    スタイル シート、書式オブジェクト、または書式プロパティを使用してプレゼンテーションを書式設定する。

  • プレゼンテーション書式の継承

    PPT API では、PowerPoint® テンプレートと、PPT API の書式オブジェクトおよび書式プロパティを使用して、プレゼンテーション オブジェクトを書式設定できます。

  • テキストの作成と書式設定

    文字ベクトルを指定して mlreportgen.ppt.Text コンストラクターを使用することで、Text オブジェクトを作成できます。

  • 段落の作成と書式設定

    Paragraph オブジェクトを作成するには、mlreportgen.ppt.Paragraph コンストラクターを使用します。

  • テーブルの作成と書式設定

    mlreportgen.ppt.Table オブジェクトを使用して、テーブルを作成する。

  • 画像の作成と書式設定

    この例では、mlreportgen.ppt.Pictureコンストラクターを使用してプレゼンテーション用の画像を作成する方法を示します。

  • リンクの作成と書式設定

    プレゼンテーションでは、あるスライドから別のスライドへの内部リンク、またはプレゼンテーションの外部の場所への外部リンクを作成できます。

  • 書式オブジェクトを使用したスタイルの定義

    色、フォント ファミリ、フォント サイズなど、段落またはその他のコンテンツ オブジェクトの外観を指定する書式の配列を作成する。

  • 書式プロパティの使用

    ほとんどの PPT API プレゼンテーション オブジェクト (Paragraph オブジェクトなど) には、オブジェクトのコンテンツの書式を設定するために使用できるプロパティが含まれています。