PictureXmlSaver
개요
PictureXmlSaver은(는) Aspose.Cells FOSS에서 Python를 위한 클래스입니다.
그림 관련 그리기/미디어 XML 페이로드 작성을 처리합니다.
이 클래스는 Python 프로그램에서 PictureXmlSaver 객체를 다루기 위한 6개의 메서드를 제공합니다. 사용 가능한 메서드에는 __init__, collect_picture_refs, format_picture_anchors_xml, format_picture_relationships_xml, get_extra_content_type_overrides, image_content_type_for_extension가 포함됩니다. Aspose.Cells FOSS for Python 패키지를 설치한 후에는 모든 공개 멤버에 Python 애플리케이션에서 접근할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
__init__(escape_xml) | |
collect_picture_refs(zipf, worksheet, sheet_num, write_part_once) | 워크시트에서 그림 참조를 수집하여 XML 저장에 사용합니다 |
format_picture_anchors_xml(picture_refs, chart_rel_count) | 주어진 참조를 기반으로 그림 앵커 요소용 XML를 생성합니다 |
format_picture_relationships_xml(picture_refs, chart_rel_count) | 그림 관계 항목에 대한 XML를 생성합니다 |
get_extra_content_type_overrides(workbook) | 워크북에 필요한 추가 콘텐츠 유형 오버라이드를 반환합니다 |
image_content_type_for_extension(extension) | 이미지 파일 확장자를 해당 MIME 유형에 매핑합니다 |