# Android에서 프레젠테이션 슬라이드 섹션 관리

> Aspose.Slides for Android via Java를 사용하여 PowerPoint 및 OpenDocument의 슬라이드 섹션을 간소화합니다—분할, 이름 변경 및 순서 재조정으로 PPTX와 ODP 작업 흐름을 최적화합니다.

Source: https://docs.aspose.com/slides/ko/androidjava/slide-section/
Updated: 2026-06-14

## **소개**

Aspose.Slides for Android via Java를 사용하면 PowerPoint 프레젠테이션을 섹션으로 구성할 수 있습니다. 특정 슬라이드를 포함하는 섹션을 만들 수 있습니다.

다음과 같은 상황에서 프레젠테이션의 슬라이드를 논리적인 부분으로 조직하거나 구분하기 위해 섹션을 만들고 사용할 수 있습니다:

- 여러 사람이나 팀과 함께 큰 프레젠테이션을 작업하고 있으며, 특정 슬라이드를 동료나 팀원에게 할당해야 할 때.  
- 많은 슬라이드가 포함된 프레젠테이션을 다루고 있으며, 한 번에 내용을 관리하거나 편집하기 어려울 때.

이상적으로는 비슷한 슬라이드들을 포함하는 섹션을 만들어야 합니다—슬라이드들이 공통점을 갖거나 규칙에 따라 그룹화될 수 있는 경우—그리고 섹션 내부 슬라이드를 설명하는 이름을 지정해야 합니다.

## **프레젠테이션에서 섹션 만들기**

프레젠테이션에 슬라이드를 포함할 섹션을 추가하려면 Aspose.Slides for Android via Java가 [addSection()](https://reference.aspose.com/slides/ko/androidjava/com.aspose.slides/ISectionCollection#addSection-java.lang.String-com.aspose.slides.ISlide-) 메서드를 제공하며, 여기서 생성하려는 섹션 이름과 섹션이 시작되는 슬라이드를 지정할 수 있습니다.

다음 예제 코드는 Java에서 프레젠테이션에 섹션을 만드는 방법을 보여줍니다:

```java
Presentation pres = new Presentation();
try {
    ISlide defaultSlide = pres.getSlides().get_Item(0);
    ISlide newSlide1 = pres.getSlides().addEmptySlide(pres.getLayoutSlides().get_Item(0));
    ISlide newSlide2 = pres.getSlides().addEmptySlide(pres.getLayoutSlides().get_Item(0));
    ISlide newSlide3 = pres.getSlides().addEmptySlide(pres.getLayoutSlides().get_Item(0));
    ISlide newSlide4 = pres.getSlides().addEmptySlide(pres.getLayoutSlides().get_Item(0));

    ISection section1 = pres.getSections().addSection("Section 1", newSlide1);
    ISection section2 = pres.getSections().addSection("Section 2", newSlide3); // section1은 newSlide2에서 끝나고 그 이후에 section2가 시작됩니다   

    pres.save("pres-sections.pptx", SaveFormat.Pptx);

    pres.getSections().reorderSectionWithSlides(section2, 0);
    pres.save("pres-sections-moved.pptx", SaveFormat.Pptx);

    pres.getSections().removeSectionWithSlides(section2);

    pres.getSections().appendEmptySection("Last empty section");

    pres.save("pres-section-with-empty.pptx",SaveFormat.Pptx);
} finally {
    if (pres != null) pres.dispose();
}
```

## **섹션 이름 변경**

PowerPoint 프레젠테이션에서 섹션을 만든 후, 해당 섹션의 이름을 변경하고 싶을 수 있습니다.

다음 예제 코드는 Aspose.Slides를 사용하여 Java에서 프레젠테이션의 섹션 이름을 변경하는 방법을 보여줍니다:

```java
Presentation pres = new Presentation("pres.pptx");
try {
    ISection section = pres.getSections().get_Item(0);
    section.setName("My section");
} finally {
    if (pres != null) pres.dispose();
}
```

## **FAQ**

**섹션은 PPT (PowerPoint 97–2003) 형식으로 저장할 때 유지됩니까?**

아니요. PPT 형식은 섹션 메타데이터를 지원하지 않으므로 .ppt로 저장할 때 섹션 그룹화가 손실됩니다.

**전체 섹션을 “숨길” 수 있습니까?**

아니요. 개별 슬라이드만 숨길 수 있습니다. 섹션 자체는 “숨김” 상태를 갖지 않습니다.

**슬라이드로 섹션을 빠르게 찾거나, 반대로 섹션의 첫 번째 슬라이드를 찾을 수 있나요?**

예. 섹션은 시작 슬라이드로 고유하게 정의됩니다. 슬라이드를 통해 해당 섹션을 확인할 수 있고, 섹션을 통해 첫 번째 슬라이드에 접근할 수 있습니다.
