Cell
개요
Cell은 Aspose.Slides FOSS for C++의 클래스입니다.
표의 셀을 나타냅니다.
이 클래스는 C++ 프로그램에서 Cell 객체를 다루기 위한 62개의 메서드를 제공합니다. 사용 가능한 메서드에는 Cell, CellFormat, Slide, Table, TextAnchorType, TextFrame, TextVerticalType, anchor_center, cell_format, col_span, ensure_tc_pr, first_column 및 추가 46개의 메서드가 포함됩니다. Aspose.Slides FOSS for C++ 패키지를 설치한 후에는 모든 공개 멤버에 C++ 애플리케이션 어디서든 접근할 수 있습니다. 속성: CellFormat, Slide, Table, TextAnchorType, TextFrame, TextVerticalType.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
TextVerticalType | TextVerticalType | 읽기 | 텍스트 수직 유형을 가져옵니다. |
TextAnchorType | TextAnchorType | 읽기 | 텍스트 앵커 유형을 가져옵니다. |
TextFrame | TextFrame | 읽기 | 텍스트 프레임을 가져옵니다. |
Table | Table | 읽기 | 테이블을 가져옵니다. |
CellFormat | CellFormat | 읽기 | 셀 형식을 가져옵니다. |
Slide | Slide | 읽기 | 슬라이드를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
TextVerticalType() → TextVerticalType | 셀의 수직 텍스트 방향을 가져오거나 설정합니다. |
TextAnchorType() → TextAnchorType | 셀의 텍스트 고정 모드를 가져오거나 설정합니다. |
TextFrame() → TextFrame | 셀의 TextFrame에 대한 읽기 또는 텍스트 수정 액세스를 제공합니다. |
TextFrame() → TextFrame | |
Table() → Table | 셀의 상위 Table에 대한 액세스를 제공합니다 |
CellFormat() → CellFormat | 셀에 적용된 서식 설정을 반환합니다 |
CellFormat() → CellFormat | |
Slide() → Slide | 셀을 포함하는 Slide에 대한 액세스를 제공합니다 |
Cell() | |
~Cell() | |
init_internal(tc_element: pugi::xml_node, row_index: int, col_index: int, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide, table: Table) | 이 셀을 XML 요소에서 초기화합니다. |
get_tc_pr() → pugi::xml_node | 자식 노드를 반환하며, 존재하지 않을 경우 빈 노드를 반환합니다. |
ensure_tc_pr() → pugi::xml_node | 자식 노드를 반환하고, 없을 경우 생성합니다. |
tc_element() → pugi::xml_node | 백업 XML 요소를 반환합니다 ( ). |
offset_x() → double | 셀의 x 오프셋을 반환합니다 (테이블 왼쪽 측면으로부터의 거리). |
set_offset_x(value: double) | |
offset_y() → double | 셀의 y 오프셋을 반환합니다 (테이블 상단 측면으로부터의 거리). |
set_offset_y(value: double) | |
first_row_index() → int | 이 셀에 의해 포함된 첫 번째 행의 인덱스를 반환합니다. 읽기 전용. |
set_first_row_index(value: int) | |
first_column_index() → int | 이 셀에 의해 포함된 첫 번째 열의 인덱스를 반환합니다. 읽기 전용. |
set_first_column_index(value: int) | |
width() → double | 셀의 너비를 반환합니다. |
set_width(value: double) | |
height() → double | 셀의 높이를 반환합니다. |
set_height(value: double) | |
minimal_height() → double | 셀의 최소 높이를 반환합니다. |
set_minimal_height(value: double) | |
margin_left() → double | TextFrame에서 왼쪽 여백을 반환합니다. 읽기/쓰기. |
set_margin_left(value: double) | |
margin_right() → double | TextFrame의 오른쪽 여백을 반환합니다. 읽기/쓰기. |
set_margin_right(value: double) | |
margin_top() → double | TextFrame의 위쪽 여백을 반환합니다. 읽기/쓰기. |
set_margin_top(value: double) | |
margin_bottom() → double | TextFrame의 아래쪽 여백을 반환합니다. 읽기/쓰기. |
set_margin_bottom(value: double) | |
text_vertical_type() → TextVerticalType | 수직 텍스트 유형을 반환합니다. 읽기/쓰기. |
set_text_vertical_type(value: TextVerticalType) | |
text_anchor_type() → TextAnchorType | 텍스트 앵커 유형을 반환합니다. 읽기/쓰기. |
set_text_anchor_type(value: TextAnchorType) | |
anchor_center() → bool | 텍스트 상자가 셀 내부에 가운데 정렬되어 있는지 여부를 결정합니다. 읽기/쓰기. |
set_anchor_center(value: bool) | |
first_row() → Row | 이 셀의 첫 번째 행을 반환합니다. 테이블이 설정되어 있어야 합니다. |
first_column() → Column | 이 셀의 첫 번째 열을 반환합니다. 테이블이 설정되어 있어야 합니다. |
col_span() → int | 이 셀에 의해 차지되는 그리드 열의 개수를 반환합니다. |
set_col_span(value: int) | |
row_span() → int | 이 셀에 의해 차지되는 행 수를 반환합니다. |
set_row_span(value: int) | |
text_frame() → TextFrame | 이 셀에 대한 텍스트 프레임을 반환합니다. |
text_frame() → TextFrame | 이 셀에 대한 텍스트 프레임을 반환합니다. |
table() → Table | 이 셀에 대한 상위 테이블을 반환합니다. |
set_table(value: Table) | |
is_merged_cell() → bool | 셀이 인접한 셀과 병합되어 있으면 true를 반환합니다. |
h_merge() → bool | 이 셀이 수평으로 병합되었는지(연속 셀인지) 여부를 반환합니다. |
set_h_merge(value: bool) | |
v_merge() → bool | 이 셀이 수직으로 병합되었는지(연속 셀인지) 반환합니다. |
set_v_merge(value: bool) | |
cell_format() → CellFormat | 셀 형식을 반환합니다. |
cell_format() → CellFormat | 셀 형식을 반환합니다. |
slide() → Slide | 이 셀의 상위 슬라이드를 반환합니다. |
set_slide(value: Slide) | |
presentation() → Presentation | 이 셀에 대한 상위 프레젠테이션을 반환합니다. |