CellMut
CellMut
نظرة عامة
CellMut هي struct في Aspose.Cells FOSS للـ Rust.
تمثل خلية واحدة في ورقة العمل وتعرض عمليات القيمة والصيغة والنمط.
هذه الـstruct تعلن عن 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 للـ 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> | يضبط قيمة الحرف. |
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> | يمسح القيمة. |