StylesheetSaveContext

StylesheetSaveContext

개요

StylesheetSaveContext은 Aspose.Cells C++용 FOSS의 클래스입니다.

스타일시트 저장 중에 구축된 스타일시트 문서와 스타일 인덱스 맵 및 포맷 카운트를 함께 보관하기 위해 사용되는 내부 컨텍스트.

이 클래스는 C++ 프로그램에서 StylesheetSaveContext 객체를 다루기 위한 6개의 메서드를 제공합니다. 사용 가능한 메서드에는 GetDifferentialFormatCount, GetDifferentialStyleIndex, GetDocument, GetHasStyles, GetStyleIndex, XmlDocument가 포함됩니다. Aspose.Cells C++용 FOSS 패키지를 설치한 후 모든 C++ 애플리케이션에서 public 멤버에 접근할 수 있습니다. 접근자 메서드: XmlDocument.

접근자 메서드

이름유형액세스설명
XmlDocumentXmlDocument읽기XML 문서를 가져옵니다.

메서드

시그니처설명
XmlDocument() → XmlDocument구축된 스타일시트 XML 문서를 가져옵니다.
GetDocument() → XmlDocument구축된 스타일시트 XML 문서를 가져옵니다.
GetDifferentialFormatCount() → int차등 형식 수를 가져옵니다.
GetHasStyles() → bool워크북에 기본값이 아닌 스타일이 있는지 여부를 나타내는 값을 가져옵니다.
GetStyleIndex(record: Core::CellRecord) → int주어진 셀 레코드에 대한 셀 서식 인덱스를 가져옵니다. 스타일을 찾을 수 없으면 0을 반환합니다.
GetDifferentialStyleIndex(condition: Core::FormatConditionModel) → std::optional<int>주어진 서식 조건에 대한 차등 스타일 인덱스를 가져옵니다. 스타일이 기본값이거나 찾을 수 없으면 nullopt를 반환합니다.

참조

 한국어