# Python에서 프레젠테이션 정보 검색 및 업데이트

> Python을 사용하여 PowerPoint 및 OpenDocument 프레젠테이션의 슬라이드, 구조 및 메타데이터를 탐색하고 빠른 인사이트와 스마트한 콘텐츠 감사를 제공합니다.

Source: https://docs.aspose.com/slides/ko/python-net/examine-presentation/
Updated: 2026-06-14

## **개요**

이 문서는 Aspose.Slides에서 프레젠테이션 정보를 검사하는 방법을 보여줍니다. 전체 파일을 로드하지 않고 프레젠테이션의 현재 형식을 확인하고, 문서 속성을 읽으며, 필요할 때 해당 속성을 업데이트하는 방법을 설명합니다.

예제는 [PresentationInfo](https://reference.aspose.com/slides/ko/python-net/aspose.slides/presentationinfo/) 및 [DocumentProperties](https://reference.aspose.com/slides/ko/python-net/aspose.slides/documentproperties/) API를 기반으로 하며, 프레젠테이션 메타데이터 작업에 대한 일반적인 운영을 보여줍니다.

## **프레젠테이션 형식 확인**

프레젠테이션 작업을 시작하기 전에, 현재 프레젠테이션이 어떤 형식(PPT, PPTX, ODP 등)인지 확인하고 싶을 수 있습니다.

프레젠테이션을 로드하지 않고도 형식을 확인할 수 있습니다. 아래 Python 코드를 참고하십시오:

```py
import aspose.slides as slides

info1 = slides.PresentationFactory.instance.get_presentation_info("pres.pptx")
print(info1.load_format, info1.load_format == slides.LoadFormat.PPTX)

info2 = slides.PresentationFactory.instance.get_presentation_info("pres.odp")
print(info2.load_format, info2.load_format == slides.LoadFormat.ODP)

info3 = slides.PresentationFactory.instance.get_presentation_info("pres.ppt")
print(info3.load_format, info3.load_format == slides.LoadFormat.PPT)
```

## **프레젠테이션 속성 가져오기**

다음 Python 코드는 프레젠테이션 속성(프레젠테이션에 대한 정보)을 가져오는 방법을 보여줍니다:

```py
import aspose.slides as slides

info = slides.PresentationFactory.instance.get_presentation_info("pres.pptx")
props = info.read_document_properties()
print(props.created_time)
print(props.subject)
print(props.title)
```

DocumentProperties 클래스 아래의 [속성](https://reference.aspose.com/slides/ko/python-net/aspose.slides/documentproperties/#properties) 를 확인하고 싶을 수 있습니다.

## **프레젠테이션 속성 업데이트**

Aspose.Slides는 프레젠테이션 속성을 변경할 수 있는 [PresentationInfo.update_document_properties](https://reference.aspose.com/slides/ko/python-net/aspose.slides/presentationinfo/update_document_properties/#idocumentproperties) 메서드를 제공합니다.

아래와 같이 문서 속성이 표시된 PowerPoint 프레젠테이션이 있다고 가정해 보겠습니다.

![PowerPoint 프레젠테이션의 원본 문서 속성](input_properties.png)

다음 코드 예제는 일부 프레젠테이션 속성을 수정하는 방법을 보여줍니다:

```py
file_name = "sample.pptx"

info = PresentationFactory.instance.get_presentation_info(file_name)

properties = info.read_document_properties()
properties.title = "My title"
properties.last_saved_time = datetime.now()

info.update_document_properties(properties)
info.write_binded_presentation(file_name)
```

문서 속성을 변경한 결과는 아래와 같습니다.

![PowerPoint 프레젠테이션의 변경된 문서 속성](output_properties.png)

## **유용한 링크**

프레젠테이션 및 보안 속성에 대한 추가 정보를 얻으려면 다음 링크가 도움이 될 수 있습니다:

- [프레젠테이션이 암호화되었는지 확인](https://docs.aspose.com/slides/ko/python-net/password-protected-presentation/#checking-whether-a-presentation-is-encrypted)
- [프레젠테이션이 쓰기 보호(읽기 전용)인지 확인](https://docs.aspose.com/slides/ko/python-net/password-protected-presentation/#checking-whether-a-presentation-is-write-protected)
- [로드하기 전에 프레젠테이션이 암호로 보호되는지 확인](https://docs.aspose.com/slides/ko/python-net/password-protected-presentation/#checking-whether-a-presentation-is-password-protected-before-loading-it)
- [프레젠테이션을 보호하는 데 사용된 암호 확인](https://docs.aspose.com/slides/ko/python-net/password-protected-presentation/#validating-or-confirming-that-a-specific-password-has-been-used-to-protect-a-presentation).

## **자주 묻는 질문**

**폰트가 포함되어 있는지 및 포함된 폰트는 무엇인지 어떻게 확인할 수 있나요?**

프레젠테이션 수준에서 [임베디드 폰트 정보](https://reference.aspose.com/slides/ko/python-net/aspose.slides/fontsmanager/get_embedded_fonts/)을 찾아보고, 해당 항목을 [실제로 콘텐츠에서 사용된 폰트](https://reference.aspose.com/slides/ko/python-net/aspose.slides/fontsmanager/get_fonts/)와 비교하여 렌더링에 중요한 폰트를 식별합니다.

**파일에 숨겨진 슬라이드가 있는지 및 개수를 어떻게 빠르게 확인할 수 있나요?**

[슬라이드 컬렉션](https://reference.aspose.com/slides/ko/python-net/aspose.slides/slidecollection/)을 반복하고 각 슬라이드의 [가시성 플래그](https://reference.aspose.com/slides/ko/python-net/aspose.slides/slide/hidden/)를 확인합니다.

**사용자 정의 슬라이드 크기와 방향이 사용되었는지, 기본값과 다른지 감지할 수 있나요?**

예. 현재 [슬라이드 크기](https://reference.aspose.com/slides/ko/python-net/aspose.slides/presentation/slide_size/)와 방향을 표준 프리셋과 비교합니다. 이는 인쇄 및 내보내기 동작을 예측하는 데 도움이 됩니다.

**차트가 외부 데이터 소스를 참조하는지 빠르게 확인할 방법이 있나요?**

예. 모든 [차트](https://reference.aspose.com/slides/ko/python-net/aspose.slides.charts/chart/)를 순회하고, 해당 [데이터 소스](https://reference.aspose.com/slides/ko/python-net/aspose.slides.charts/chartdata/data_source_type/)를 확인하여 데이터가 내부인지 링크 기반인지, 그리고 끊어진 링크가 있는지 확인합니다.

**렌더링이나 PDF 내보내기를 느리게 할 수 있는 '무거운' 슬라이드를 어떻게 평가할 수 있나요?**

각 슬라이드마다 객체 수를 집계하고 큰 이미지, 투명도, 그림자, 애니메이션 및 멀티미디어를 찾아봅니다. 대략적인 복잡도 점수를 부여하여 잠재적인 성능 병목을 표시합니다.
