CellMut

סקירה כללית

CellMut הוא struct ב-Aspose.Cells FOSS עבור Rust.

מייצג תא יחיד בגיליון עבודה ומחשוף פעולות ערך, נוסחה וסגנון.

המבנה הזה מצהיר על 88 שיטות עבור עצמים CellMut בתוכניות Rust. שיטות זמינות כוללות: 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 שיטות נוספות. חברים ציבוריים נגישים לכל יישום Rust לאחר התקנת חבילת Aspose.Cells FOSS for 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מקבל את הטקסט המוצג שנוצר מ-cell value, style, ו-workbook culture.
get_display_string_value() → Stringמקבל את הטקסט המוצג שנוצר מ-cell value, style, ו-workbook culture.
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>מגדיר ערך תו.
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>מעדכן את סגנון התא במקומו באמצעות ה-callback המסופק.
set_value(value: CellValue) → Result<(), CellsError>מגדיר את ערך התא הלוגי.
clear_value() → Result<(), CellsError>מנקה ערך.

ראה גם

 עברית