PNG JPG BMP TIFF PPS
Aspose.Slides  for C++

C++を使用してPPSファイルをマージする

サーバー側のC++APIを使用したPPSドキュメントのマージ。

C++を使用してPPSファイルをマージする方法

PPSファイルをマージするために、 [Aspose.Slides for C ++](https://products.aspose.com/slides/cpp) 機能が豊富で強力で使いやすいC++プラットフォーム用のドキュメントマージAPIであるAPI。最新バージョンを直接ダウンロードできます。開くだけです。 [NuGet](https://www.nuget.org/packages/aspose.slides) パッケージマネージャー、検索 ** Aspose.Slides.Cpp ** とインストールします。パッケージマネージャーコンソールから次のコマンドを使用することもできます。

指示


PM> Install-Package Aspose.Slides.Cpp

C++でPPSファイルをマージする手順

[Aspose.Slides for C ++](https://products.aspose.com/slides/cpp)APIとマージおよび連結する基本的なドキュメントは、わずか数行のコードで実行できます。

  1. 両方のPPSファイルをロードします。

  2. get \ _Slides()メソッドを使用して、各スライドを反復処理します。

  3. AddClone関数を使用して、目的のファイルとマージします。

  4. Save()メソッドを使用して、指定したパスに保存します

システム要求

Aspose.Slides for C ++は、すべての主要なプラットフォームとオペレーティングシステムでサポートされています。次の前提条件があることを確認してください。

-MicrosoftWindowsまたはWindows32ビット、Windows 64ビット、Linux64ビット用のC++ランタイム環境と互換性のあるOS。 -プロジェクトで参照されているC++DLLのAspose.Slides。

 

PPSファイルのマージ-C++

// The path to the documents directory.
const String sourceFilePath1 = u"SourceFile2.pps";
const String sourceFilePath2 = u"SourceFile3.pps";
const String outputFilePath = u"mergedOutput.pps";

// Instantiate Presentation class
SharedPtr<Presentation> presentation1 = MakeObject<Presentation>(sourceFilePath1);
SharedPtr<Presentation> presentation2 = MakeObject<Presentation>(sourceFilePath2);

for (SharedPtr<ISlide> slide : presentation2->get_Slides()){
	// Merge from source to destination 
	presentation1->get_Slides()->AddClone(slide);
}

// Save the presentation
presentation1->Save(outputFilePath, SaveFormat::Pps);  
 
  • PDFファイルをオンラインで結合

    Python で PDF をマージする方法

    Aspose.Slides for C++APIについて

    Aspose.Slides APIを使用して、Microsoft PowerPointドキュメントの読み取り、書き込み、操作、およびPDF、XPS、HTML、TIFF、ODP、その他のさまざまな形式への変換を行うことができます。新しいファイルを最初から作成し、サポートされている関連する形式で保存できます。 Aspose.Slidesは、プレゼンテーション、スライド、要素を作成、解析、または操作するためのスタンドアロンAPIであり、MicrosoftやOpenOfficeなどのソフトウェアに依存しません。

    Online PPS Merger Live Demos

    Merge PPS documents right now by visiting our Live Demos website . The live demo has the following benefits

      No need to download Aspose API.
      No need to write any code.
      Just upload your PPS files.
      It will be merged and concatenated instantly.

    PPS PPS ファイル形式とは

    PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. The more latest version of this file format is PPSX which is based on Office OpenXML standards. PPS files can still be read by latest versions of Microsoft PowerPoint, but newly created files can only be saved in PPSX file format. When a PPS file is shared with another user and opened, it starts as Powerpoint show unlike PPT file which opens in editable mode.

    続きを読む

    その他のサポートされているマージ形式

    C ++を使用すると、を含む他の多くのファイル形式をマージすることもできます。

    ODP (OpenDocumentプレゼンテーション形式)
    OTP (OpenDocument標準フォーマット)
    POT (MicrosoftPowerPointテンプレートファイル)
    POTM (MicrosoftPowerPointテンプレートファイル)
    POTX (MicrosoftPowerPointテンプレートプレゼンテーション)
    PPSM (マクロ対応のスライドショー)
    PPSX (PowerPointのスライドショー)
    PPT (Microsoft PowerPoint 97-2003)
    PPTM (マクロ対応のプレゼンテーションファイル)
    PPTX (XMLプレゼンテーション形式を開く)