ListColumn

Overview

ListColumn is a struct in Aspose.Cells FOSS for Rust.

Represents a single column in an Excel table.

This struct provides 14 methods for working with ListColumn objects in Rust programs. Available methods include: get_name, get_totals_calculation, get_totals_row_formula, get_totals_row_label, name, set_name, set_totals_calculation, set_totals_row_formula, set_totals_row_label, totals_calculation, totals_calculation_from_string, totals_calculation_to_string, and 2 additional methods. All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.

Methods

SignatureDescription
name()&strGets the column header name displayed in the header row.
get_name()&strGets the column header name displayed in the header row.
set_name(value: impl Into<String>)Result<(), CellsError>Sets the column header name displayed in the header row.
totals_calculation()TotalsCalculationGets the aggregation function shown in the totals row cell.
get_totals_calculation()TotalsCalculationGets the aggregation function shown in the totals row cell.
set_totals_calculation(value: TotalsCalculation)Sets the aggregation function shown in the totals row cell.
totals_row_label()&strGets the static label shown in the totals row when TotalsCalculation is None.
get_totals_row_label()&strGets the static label shown in the totals row when TotalsCalculation is None.
set_totals_row_label(value: impl Into<String>)Sets the static label shown in the totals row when TotalsCalculation is None.
totals_row_formula()&strGets the custom formula used when TotalsCalculation is Custom.
get_totals_row_formula()&strGets the custom formula used when TotalsCalculation is Custom.
set_totals_row_formula(value: impl Into<String>)Sets the custom formula used when TotalsCalculation is Custom.
totals_calculation_from_string(value: String)TotalsCalculationConverts SpreadsheetML totals-row function text to a public totals calculation value.
totals_calculation_to_string(value: TotalsCalculation)StringConverts a public totals calculation value to SpreadsheetML totals-row function text.

See Also