PNG JPG BMP TIFF POT
Aspose.Slides  for Java

Java에서 POT 형식 병합

서버 측 Java API를 사용하는 기본 POT 문서 병합.

Java를 사용하여 POT 파일을 병합하는 방법

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

자바용 Aspose.Slides

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

메이븐

다음 구성을 pom.xml에 추가하여 Maven 기반 프로젝트 내에 설치합니다.

저장소


<repository>
    <id>AsposeJavaAPI</id>
    <name>Aspose Java API</name>
    <url>https://releases.aspose.com/java/repo/</url>
</repository>

의존


<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-slides</artifactId>
    <version>version of aspose-slides API</version>
    <classifier>jdk17</classifier>
</dependency>

Java에서 POT 파일을 병합하는 단계

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

  1. Presentation 클래스의 인스턴스가 있는 첫 번째 POT 파일을 로드합니다.

  2. Presentation 클래스의 인스턴스로 두 번째 POT 문서를 로드합니다.

  3. 두 번째 POT 파일의 각 슬라이드를 반복합니다.

  4. 각 반복에서 addClone()을 사용하여 첫 번째 파일이 있는 슬라이드를 추가합니다.

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

시스템 요구 사항

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

  • Microsoft Windows 또는 JSP/JSF 애플리케이션 및 데스크탑 애플리케이션용 Java Runtime Environment와 호환되는 OS.
  • 최신 버전의 Aspose.Slides for Java를 다음에서 직접 가져옵니다. 메이븐 .
 

POT 파일 병합 - 자바

// Load first POT File
Presentation prest1 = new Presentation("prest1.pot");

// Load second POT File
Presentation prest2 = new Presentation("prest2.pot");

// Merge
for (ISlide slide : prest2.getSlides()) {
	// Merge from source to target
	prest1.getSlides().addClone(slide);
}

// Save the File
prest1.save("merged-presentation.pot", SaveFormat.Pot);  
 
  • 온라인으로 PDF 파일 병합

    Python에서 PDF를 병합하는 방법

    Java API용 Aspose.Slides 정보

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

    Online POT Merger Live Demos

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

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

    Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Files created with these versions of Microsoft PowerPoint are in binary format as compared to those created in Office OpenXML file formats using the higher versions of PowerPoint. The files, hence, generated can be used to create presentations that have same layout and other settings required to be applied to new files. These settings can include styles, backgrounds, colour palette, fonts and defaults. Such files are generated in order to create ready-to-use template files for official use.

    더 읽기

    기타 지원되는 병합 형식

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

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