CellMut
개요
CellMut은 Aspose.Cells FOSS for Rust의 struct입니다.
단일 워크시트 셀을 나타내며 값, 수식 및 스타일 작업을 노출합니다.
이 struct는 Rust 프로그램에서 CellMut 객체를 위해 88개의 메서드를 선언합니다. 사용 가능한 메서드에는 apply_bold, apply_border_color, apply_border_line_style, apply_fill, apply_fill_color, apply_font, apply_horizontal_alignment, apply_italic, apply_number_format, apply_text_wrap, apply_vertical_alignment, bool_value 및 추가 76개의 메서드가 포함됩니다. 공개 멤버는 Aspose.Cells FOSS for Rust 패키지를 설치한 후 모든 Rust 애플리케이션에서 접근할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
name() → String | 연관된 값을 가져옵니다. |
get_name() → String | 연관된 값을 가져옵니다. |
row() → u32 | 연관된 값을 가져옵니다. |
get_row() → u32 | 연관된 값을 가져옵니다. |
column() → u32 | 연관된 값을 가져옵니다. |
get_column() → u32 | 연관된 값을 가져옵니다. |
value() → Option<&CellValue> | 논리 셀 값을 가져옵니다. |
get_value() → Option<&CellValue> | 논리 셀 값을 가져옵니다. |
value_type() → CellValueType | 현재 논리 셀 값 유형을 가져옵니다. |
get_type() → CellValueType | 현재 논리 셀 값 유형을 가져옵니다. |
int_value() → Option<i32> | 연관된 값을 가져옵니다. |
get_int_value() → Option<i32> | 연관된 값을 가져옵니다. |
long_value() → Option<i64> | 연관된 값을 가져옵니다. |
get_long_value() → Option<i64> | 연관된 값을 가져옵니다. |
double_value() → Option<f64> | 연관된 값을 가져옵니다. |
get_double_value() → Option<f64> | 연관된 값을 가져옵니다. |
bool_value() → Option<bool> | 연관된 값을 가져옵니다. |
get_bool_value() → Option<bool> | 연관된 값을 가져옵니다. |
date_time_value() → Option<DateTime<Utc>> | 연관된 값을 가져옵니다. |
get_date_time_value() → Option<DateTime<Utc>> | 연관된 값을 가져옵니다. |
string_value() → Option<&str> | 셀 값에 대한 안정적인 문자열 표현을 얻으며, 스타일 기반 표시 형식을 적용하지 않습니다. |
get_string_value() → Option<&str> | 셀 값에 대한 안정적인 문자열 표현을 얻으며, 스타일 기반 표시 형식을 적용하지 않습니다. |
raw_string_value() → String | 연관된 값을 가져옵니다. |
get_raw_string_value() → String | 연관된 값을 가져옵니다. |
display_string_value() → String | 셀 값, 스타일 및 워크북 문화에서 생성된 표시 텍스트를 가져옵니다. |
get_display_string_value() → String | 셀 값, 스타일 및 워크북 문화에서 생성된 표시 텍스트를 가져옵니다. |
formatted_string_value() → String | 연관된 값을 가져옵니다. |
get_formatted_string_value() → String | 연관된 값을 가져옵니다. |
style() → Style | 연관된 값을 가져옵니다. |
get_style() → Style | 연관된 값을 가져옵니다. |
get_style_with_borders(_check_borders: bool) → Style | 연관된 값을 가져옵니다. |
border() → Option<&Border> | 연관된 값을 가져옵니다. |
get_border() → Option<&Border> | 연관된 값을 가져옵니다. |
formula_cached_value() → Option<&CellValue> | 연관된 값을 가져옵니다. |
get_formula_cached_value() → Option<&CellValue> | 연관된 값을 가져옵니다. |
put_value(value: CellValue) → Result<(), CellsError> | 값을 설정합니다. |
put_value_object(value: impl Into<CellObjectValue>) → Result<(), CellsError> | 값 객체를 설정합니다. |
put_number(value: f64) → Result<(), CellsError> | 숫자를 설정합니다. |
put_bool(value: bool) → Result<(), CellsError> | bool을 설정합니다. |
put_string(value: impl Into<String>) → Result<(), CellsError> | 문자열을 설정합니다. |
put_value_string(value: impl Into<String>) → Result<(), CellsError> | 값 문자열을 설정합니다. |
put_value_i32(value: i32) → Result<(), CellsError> | i32 값을 설정합니다. |
put_value_u8(value: u8) → Result<(), CellsError> | 값 u8을 설정합니다. |
put_value_i16(value: i16) → Result<(), CellsError> | i16 값을 설정합니다. |
put_value_i64(value: i64) → Result<(), CellsError> | i64 값을 설정합니다. |
put_value_f32(value: f32) → Result<(), CellsError> | 값 f32을 설정합니다. |
put_value_f64(value: f64) → Result<(), CellsError> | f64 값을 설정합니다. |
put_value_decimal(value: f64) → Result<(), CellsError> | 값을 소수로 설정합니다. |
put_value_bool(value: bool) → Result<(), CellsError> | 값을 bool로 설정합니다. |
put_value_char(value: char) → Result<(), CellsError> | 값을 char로 설정합니다. |
put_date_time(value: DateTime<Utc>) → Result<(), CellsError> | 날짜 및 시간을 설정합니다. |
put_value_date_time(value: DateTime<Utc>) → Result<(), CellsError> | 값 날짜 시간을 설정합니다. |
put_datetime(value: DateTime<Utc>) → Result<(), CellsError> | datetime을 설정합니다. |
put_formula(value: impl Into<String>) → Result<(), CellsError> | 공식을 설정합니다. |
put_value_string_converted(value: impl Into<String>, is_converted: bool) → Result<(), CellsError> | 값 문자열을 변환하여 설정합니다. |
put_value_string_converted_with_style(value: impl Into<String>, is_converted: bool, _set_style: bool) → Result<(), CellsError> | 스타일이 적용된 문자열 값을 설정합니다. |
put_formula_with_cached_value(formula: impl Into<String>, cached_value: CellValue) → Result<(), CellsError> | 캐시된 값을 사용하여 수식을 설정합니다. |
set_style(style: CellStyle) → Result<(), CellsError> | 연관된 값을 설정합니다. |
set_style_with_explicit_flag(style: CellStyle, _explicit_flag: bool) → Result<(), CellsError> | 연관된 값을 설정합니다. |
set_style_with_flag(style: CellStyle, flag: StyleFlag) → Result<(), CellsError> | 연관된 값을 설정합니다. |
set_border(border: Border) → Result<(), CellsError> | 연관된 값을 설정합니다. |
apply_border_line_style(value: BorderLineStyle) → Result<(), CellsError> | 테두리 선 스타일을 적용합니다. |
apply_border_color(value: impl Into<String>) → Result<(), CellsError> | 테두리 색상을 적용합니다. |
clear_border() → Result<(), CellsError> | 테두리를 지웁니다. |
clear_style() → Result<(), CellsError> | 스타일을 지웁니다. |
reset_style() → Result<(), CellsError> | 셀 스타일을 워크북 기본 스타일로 재설정합니다. |
apply_font(font: Font) → Result<(), CellsError> | 글꼴을 적용합니다. |
apply_fill(fill: Fill) → Result<(), CellsError> | 채우기를 적용합니다. |
apply_fill_color(value: impl Into<String>) → Result<(), CellsError> | 채우기 색상을 적용합니다. |
clear_fill_color() → Result<(), CellsError> | 채우기 색상을 지웁니다. |
clear_fill() → Result<(), CellsError> | 채우기를 지웁니다. |
apply_bold(value: bool) → Result<(), CellsError> | 굵게 적용합니다. |
apply_italic(value: bool) → Result<(), CellsError> | 기울임꼴을 적용합니다. |
clear_bold() → Result<(), CellsError> | 볼드체를 제거합니다. |
clear_italic() → Result<(), CellsError> | 이탤릭체를 제거합니다. |
clear_font() → Result<(), CellsError> | 폰트를 제거합니다. |
apply_number_format(value: impl Into<String>) → Result<(), CellsError> | 숫자 형식을 적용합니다. |
clear_number_format() → Result<(), CellsError> | 숫자 형식을 지웁니다. |
apply_horizontal_alignment(value: HorizontalAlignment) → Result<(), CellsError> | 수평 정렬을 적용합니다. |
clear_horizontal_alignment() → Result<(), CellsError> | 수평 정렬을 해제합니다. |
apply_vertical_alignment(value: VerticalAlignment) → Result<(), CellsError> | 수직 정렬을 적용합니다. |
clear_vertical_alignment() → Result<(), CellsError> | 수직 정렬을 해제합니다. |
clear_alignment() → Result<(), CellsError> | 정렬을 지웁니다. |
apply_text_wrap(value: bool) → Result<(), CellsError> | 텍스트 자동 줄바꿈을 적용합니다. |
clear_text_wrap() → Result<(), CellsError> | 텍스트 자동 줄바꿈을 해제합니다. |
update_style(updater: impl FnOnce(&mut CellStyle)) → Result<(), CellsError> | 제공된 콜백을 사용하여 셀 스타일을 제자리에서 업데이트합니다. |
set_value(value: CellValue) → Result<(), CellsError> | 논리 셀 값을 설정합니다. |
clear_value() → Result<(), CellsError> | 값을 지웁니다. |