CellsMut
概要
CellsMut は Aspose.Cells の Rust 用 FOSS における構造体です。
ワークシートのセル、行、列、そして結合された範囲へのアクセスを提供します。
この構造体は Rust プログラム内の CellsMut オブジェクト向けに 20 のメソッドを宣言しています。利用可能なメソッドは、check_cell、check_cell_or_cells_exception、columns、count、get、get_by_index、get_columns、get_count、get_merged_cells、get_or_cells_exception、get_rows、get_style、およびその他 8 つのメソッドです。パブリックメンバーは、Aspose.Cells の Rust 用 FOSS パッケージをインストールした後、任意の Rust アプリケーションからアクセス可能です。
メソッド
| シグネチャ | 説明 |
|---|---|
get(address: &str) → Result<CellMut<'_>, CellsError> | コレクションから項目を取得します。 |
get_or_cells_exception(address: &str) → Result<CellMut<'_>, CellsException> | 関連付けられた値を取得します。 |
item(address: &str) → Result<CellMut<'_>, CellsError> | コレクションから項目を取得します。 |
get_by_index(row: u32, column: u32) → CellMut<'_> | 関連付けられた値を取得します。 |
item_by_index(row: u32, column: u32) → CellMut<'_> | コレクションから項目を取得します。 |
rows() → RowsMut<'_> | ワークシートの行レベル設定を取得します。 |
get_rows() → RowsMut<'_> | ワークシートの行レベル設定を取得します。 |
columns() → ColumnsMut<'_> | ワークシートの列レベル設定を取得します。 |
get_columns() → ColumnsMut<'_> | ワークシートの列レベルの設定を取得します。 |
style() → Style | ワークシートのセル範囲のデフォルトスタイルを取得します。 |
get_style() → Style | ワークシートのセル範囲のデフォルトスタイルを取得します。 |
set_style(value: Style) → Result<(), CellsError> | ワークシートのセルスコープのデフォルトスタイルを設定します。 |
merged_cells() → Vec<CellArea> | ワークシートの順序で現在の結合セル領域を取得します。 |
get_merged_cells() → Vec<CellArea> | ワークシートの順序で現在の結合セル領域を取得します。 |
merge(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | ゼロベースの座標を使用して、矩形のセル領域を結合します。 |
merge_or_cells_exception(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsException> | 指定された範囲を結合し、失敗を CellsException でラップします。 |
check_cell(address: &str) → Result<bool, CellsError> | 指定された A1 形式のセルが現在存在するかどうかを返します。 |
check_cell_or_cells_exception(address: &str) → Result<bool, CellsException> | 指定された A1 形式のセルが現在存在するかどうかを返し、失敗を CellsException でラップします。 |
count() → usize | アイテムの数を取得します。 |
get_count() → usize | 項目の数を取得します。 |