CommentXMLWriter
개요
CommentXMLWriter은(는) Aspose.Cells FOSS의 Python용 클래스입니다.
주석 데이터를 XML 형식으로 쓰는 작업을 처리합니다.
이 클래스는 Python 프로그램에서 CommentXMLWriter 객체를 다루기 위한 6개의 메서드를 제공합니다. 사용 가능한 메서드에는 __init__, cell_reference_sort_key, escape_xml, worksheet_has_comments, write_comments_xml, write_vml_drawing_xml가 포함됩니다. Aspose.Cells FOSS for Python 패키지를 설치한 후, 모든 공개 멤버는 Python 애플리케이션에서 접근할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
__init__() | CommentXMLWriter을 초기화합니다. |
escape_xml(text) | 텍스트에서 특수 XML 문자를 이스케이프합니다. |
worksheet_has_comments(worksheet) | 워크시트에 댓글이 있는지 확인합니다. |
cell_reference_sort_key(ref) | 셀 참조를 정렬을 위한 (row, col) 튜플로 변환합니다. |
write_comments_xml(zipf, worksheet, sheet_num) | 워크시트를 위해 xl/comments sheet_num.xml 파일을 작성합니다. |
write_vml_drawing_xml(zipf, worksheet, sheet_num) | 댓글 위치 지정을 위한 VML 드로잉 XML을(를) 작성합니다. |