create_powerpoint_from_template
Generate a PowerPoint presentation from POM XML, reusing the background of an existing PPTX template to maintain branding.
Instructions
【テンプレート使用時】ユーザーが既存のPowerPointファイルをテンプレートとして使用する場合に使用します。テンプレートの背景(背景色や画像)を継承し、新しいスライドを生成します。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | POM形式のXML文字列。<Slide>要素で各スライドを定義。複数スライドの場合は複数の<Slide>要素を並べる。 | |
| width | No | スライドの幅(ピクセル)。デフォルト1280 | |
| height | No | スライドの高さ(ピクセル)。デフォルト720 | |
| outputPath | Yes | 生成するPowerPointファイルのパス。例: './presentation.pptx' | |
| templatePath | Yes | テンプレートとして使用する.pptxファイルのパス。このファイルの背景(背景色や画像)が新しいプレゼンテーションに適用される。例: './template.pptx', 'C:/Users/templates/company_template.pptx' |