# ODP Dosyalarını C++ ile Birleştirme

> Windows 32 bit, Windows 64 bit ve Linux 64 bit için C++ Runtime Environment'da ODP belgelerini birleştirmek için C++ örnek kodu.

Source: https://products.aspose.com/slides/tr/cpp/merger/odp/
Updated: 2026-08-11



## C++ Kullanarak ODP Dosyasını Birleştirme

 ODP dosyasını birleştirmek için kullanacağız
 [Aspose.Slides for C++](https://products.aspose.com/slides/tr/cpp/)
 C++ platformu için zengin özelliklere sahip, güçlü ve kullanımı kolay bir belge birleştirme API'si olan API. En son sürümünü doğrudan indirebilirsiniz, sadece açın
 [NuGet](https://www.nuget.org/packages/aspose.slides)
 paket yöneticisi, ara
 **Aspose.Slides.Cpp**
 ve yükleyin. Paket Yöneticisi Konsolundan aşağıdaki komutu da kullanabilirsiniz.

### Emretmek

```cs

PM> Install-Package Aspose.Slides.Cpp

```

## ODP Dosyalarını C++'da Birleştirme Adımları

[Aspose.Slides for C++](https://products.aspose.com/slides/tr/cpp/) API'lerini birleştiren ve birleştiren temel bir belge, yalnızca birkaç satır kodla yapılabilir.

Her iki ODP dosyasını da yükleyin.

Her slaytta yineleme yapmak için get\_Slides() yöntemini kullanın.

İstediğiniz dosyayla birleştirmek için AddClone işlevini kullanın.

Belirtilen yola kaydetmek için Save() yöntemini kullanın

## sistem gereksinimleri

 Aspose.Slides for C++ tüm büyük platformlarda ve İşletim Sistemlerinde destekler. Lütfen aşağıdaki ön koşullara sahip olduğunuzdan emin olun.

- Microsoft Windows veya Windows 32 bit, Windows 64 bit ve Linux 64 bit için C++ Runtime Environment ile uyumlu bir işletim sistemi.
- Projenizde referans verilen C++ DLL için Aspose.Slides.

### ODP Dosyalarını Birleştirme - C++

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

// 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::Odp);

```

## Aspose.Slides for C++ API Hakkında

 Aspose.Slides API, Microsoft PowerPoint belgelerini okumak, yazmak, değiştirmek ve PDF, XPS, HTML, TIFF, ODP ve diğer çeşitli formatlara dönüştürmek için kullanılabilir. Sıfırdan yeni dosyalar oluşturabilir ve bunları ilgili desteklenen biçimlerde kaydedebilirsiniz. Aspose.Slides, sunumlar, slaytlar ve öğeler oluşturmak, ayrıştırmak veya değiştirmek için bağımsız bir API'dir ve Microsoft veya OpenOffice gibi herhangi bir yazılıma bağlı değildir.

Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. A presentation file is a collection of slides where each slide can comprise of text, images, formatting, animations, and other media. These slides are presented to audience in the form of slideshows with custom presentation settings. ODP files can be opened by applications that conform to the OpenDocument format (such as OpenOffice or StarOffice).

## Desteklenen Diğer Birleştirme Formatları

- [OTP](https://products.aspose.com/slides/tr/cpp/merger/otp/) — OpenDocument Standart Biçimi
- [POT](https://products.aspose.com/slides/tr/cpp/merger/pot/) — Microsoft PowerPoint Şablon Dosyaları
- [POTM](https://products.aspose.com/slides/tr/cpp/merger/potm/) — Microsoft PowerPoint Şablon Dosyası
- [POTX](https://products.aspose.com/slides/tr/cpp/merger/potx/) — Microsoft PowerPoint Şablonu Sunumu
- [PPS](https://products.aspose.com/slides/tr/cpp/merger/pps/) — PowerPoint Slayt Gösterisi
- [PPSM](https://products.aspose.com/slides/tr/cpp/merger/ppsm/) — Makro Etkin Slayt Gösterisi
- [PPSX](https://products.aspose.com/slides/tr/cpp/merger/ppsx/) — PowerPoint Slayt Gösterisi
- [PPT](https://products.aspose.com/slides/tr/cpp/merger/ppt/) — Microsoft PowerPoint 97-2003
- [PPTM](https://products.aspose.com/slides/tr/cpp/merger/pptm/) — Makro Etkin Sunum Dosyası
- [PPTX](https://products.aspose.com/slides/tr/cpp/merger/pptx/) — Açık XML sunum Formatı
