PowerPointスライドでは、データのグラフィカル表示のために編集可能なチャートを使用することは一般的な活動です。Asposeは、Aspose.Cells for Javaを使用してExcelチャートを作成するサポートを提供しており、さらにこれらのチャートはAspose.Slides for PHPを通じてJavaでPowerPointスライドにOLEオブジェクトとして埋め込むことができます。この記事では、Aspose.Cells for JavaとAspose.Slides for PHPを使用して、MS ExcelチャートをOLEオブジェクトとしてPowerPointプレゼンテーションに作成し埋め込むための必要な手順および実装を説明します。
必要な手順
ExcelチャートをOLEオブジェクトとしてPowerPointスライドに作成し埋め込むための手順は次のとおりです:# Aspose.Cells for Javaを使用してExcelチャートを作成します。# Aspose.Cells for Javaを使用してExcelチャートのOLEサイズを設定します。# Aspose.Cells for Javaを使用してExcelチャートの画像を取得します。# Aspose.Slides for PHPを通じてJavaでPPTXプレゼンテーションの中にExcelチャートをOLEオブジェクトとして埋め込みます。# オブジェクト変更の問題に対処するため、ステップ3で取得した画像でオブジェクト変更画像を置き換えます。# 出力プレゼンテーションをPPTX形式でディスクに保存します。
必要な手順の実装
上記手順の実装は次のとおりです:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aspose.Cells for JavaとAspose.Slides for PHPをJava経由で使用することで、Aspose.Cells for Javaがサポートする任意のExcelチャートを作成し、作成したチャートをPowerPointスライドにOLEオブジェクトとして埋め込むことができます。ExcelチャートのOLEサイズも定義できます。エンドユーザーは他のOLEオブジェクトと同様にExcelチャートを編集できます。