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

C++를 사용하여 ODP 파일 병합

서버측 C++ API를 사용한 ODP 문서 병합.

C++를 사용하여 ODP 파일을 병합하는 방법

ODP 파일을 병합하려면 다음을 사용합니다.

C++용 Aspose.Slides

기능이 풍부하고 강력하며 사용하기 쉬운 C++ 플랫폼용 문서 병합 API인 API입니다. 최신 버전을 직접 다운로드할 수 있습니다.

NuGet

패키지 관리자, 검색 Aspose.Slides.Cpp 설치합니다. 패키지 관리자 콘솔에서 다음 명령을 사용할 수도 있습니다.

명령


PM> Install-Package Aspose.Slides.Cpp

C++에서 ODP 파일을 병합하는 단계

Aspose.Slides for C++ API로 기본 문서 병합 및 연결을 몇 줄의 코드로 수행할 수 있습니다.

  1. 두 ODP 파일을 모두 로드합니다.

  2. get_Slides() 메서드를 사용하여 각 슬라이드를 반복합니다.

  3. AddClone 기능을 사용하여 원하는 파일과 병합합니다.

  4. Save() 메서드를 사용하여 지정된 경로에 저장

시스템 요구 사항

C++용 Aspose.Slides는 모든 주요 플랫폼 및 운영 체제를 지원합니다. 다음 전제 조건이 있는지 확인하십시오.

  • Microsoft Windows 또는 Windows 32비트, Windows 64비트 및 Linux 64비트용 C++ 런타임 환경과 호환되는 OS.
  • 프로젝트에서 참조되는 C++ DLL용 Aspose.Slides.
 

ODP 파일 병합 - C++

// 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);  
 
  • 온라인으로 PDF 파일 병합

    Python에서 PDF를 병합하는 방법

    C++ API용 Aspose.Slides 정보

    Aspose.Slides API는 Microsoft PowerPoint 문서를 읽고, 쓰고, 조작하고, PDF, XPS, HTML, TIFF, ODP 및 기타 다양한 형식으로 변환하는 데 사용할 수 있습니다. 처음부터 새 파일을 만들고 지원되는 관련 형식으로 저장할 수 있습니다. Aspose.Slides는 프레젠테이션, 슬라이드 및 요소를 생성, 구문 분석 또는 조작하기 위한 독립 실행형 API이며 Microsoft 또는 OpenOffice와 같은 소프트웨어에 의존하지 않습니다.

    Online ODP Merger Live Demos

    Merge ODP 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 ODP files.
      It will be merged and concatenated instantly.

    ODP ODP 파일 형식이란 무엇입니까?

    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).

    더 읽기

    기타 지원되는 병합 형식

    C++를 사용하면 ..를 포함한 다른 많은 파일 형식을 병합할 수도 있습니다.

    OTP (OpenDocument 표준 형식)
    POT (마이크로소프트 파워포인트 템플릿 파일)
    POTM (마이크로소프트 파워포인트 템플릿 파일)
    POTX (마이크로소프트 파워포인트 템플릿 프레젠테이션)
    PPS (파워포인트 슬라이드 쇼)
    PPSM (매크로 사용 슬라이드 쇼)
    PPSX (파워포인트 슬라이드 쇼)
    PPT (마이크로소프트 파워포인트 97-2003)
    PPTM (매크로 사용 프레젠테이션 파일)
    PPTX (Open XML 프레젠테이션 형식)