目錄 / Table of Contents

Class OdfPivotTableFieldInfo

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Represents summary information for a pivot table field setting. 表示樞紐分析表一個欄位設定的摘要資訊。

public sealed class OdfPivotTableFieldInfo
Inheritance
OdfPivotTableFieldInfo
Inherited Members

Constructors

OdfPivotTableFieldInfo(string, string, string?, string?)

Represents summary information for a pivot table field setting. 表示樞紐分析表一個欄位設定的摘要資訊。

public OdfPivotTableFieldInfo(string sourceFieldName, string orientation, string? function, string? formula)

Parameters

sourceFieldName string

The source field name from table:source-field-name. / 來源欄位名稱(table:source-field-name)。

orientation string

The field orientation from table:orientation, such as row, column, data, or page. / 欄位方向(table:orientation,例如 rowcolumndatapage)。

function string

The data field aggregate function from table:function, or null for non-data fields. / 資料欄位彙總函式(table:function),非資料欄位時為 null

formula string

The calculated field formula from table:formula, or null for non-calculated fields. / 計算欄位公式(table:formula),非計算欄位時為 null

Properties

Formula

Gets the calculated field formula. 取得計算欄位公式。

public string? Formula { get; }

Property Value

string

Function

Gets the data field aggregate function. 取得資料欄位彙總函式。

public string? Function { get; }

Property Value

string

Grouping

Gets a snapshot of the field grouping options. 取得欄位分組選項的快照。

public OdfPivotGroupingOptions? Grouping { get; }

Property Value

OdfPivotGroupingOptions

Layout

Gets the field layout when persisted. 取得持久化的欄位版面。

public OdfPivotLayout? Layout { get; }

Property Value

OdfPivotLayout?

Orientation

Gets the field orientation. 取得欄位方向。

public string Orientation { get; }

Property Value

string

SourceFieldName

Gets the source field name. 取得來源欄位名稱。

public string SourceFieldName { get; }

Property Value

string

ValueOptions

Gets a snapshot of the value display options. 取得值顯示選項的快照。

public OdfPivotValueOptions? ValueOptions { get; }

Property Value

OdfPivotValueOptions