Class PivotGlobalizationSettings

Class PivotGlobalizationSettings

Namespace: Aspose.Cells.Settings
Assembly: Aspose.Cells.dll (25.2.0)

Represents the globalization settings for pivot tables.

public class PivotGlobalizationSettings

Inheritance

objectPivotGlobalizationSettings

Derived

SettablePivotGlobalizationSettings

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

PivotGlobalizationSettings()

public PivotGlobalizationSettings()

Methods

GetShortTextOf12Months()

Gets all short formatted string of 12 months.

public virtual string[] GetShortTextOf12Months()

Returns

string[]

GetTextOf4Quaters()

Gets the local text of 4 Quaters.

public virtual string[] GetTextOf4Quaters()

Returns

string[]

GetTextOfAll()

Gets the text of “(All)” label in the PivotTable.

public virtual string GetTextOfAll()

Returns

string

The text of “(All)” label

GetTextOfColumnLabels()

Gets the text of “Column Labels” label in the PivotTable.

public virtual string GetTextOfColumnLabels()

Returns

string

The text of column labels

GetTextOfDataFieldHeader()

Gets the the text of the value area field header in the PivotTable.

public virtual string GetTextOfDataFieldHeader()

Returns

string

The text of data field header name

GetTextOfDays()

Gets the local text of “Days”.

public virtual string GetTextOfDays()

Returns

string

GetTextOfEmptyData()

Gets the text of “(blank)” label in the PivotTable.

public virtual string GetTextOfEmptyData()

Returns

string

The text of empty data

GetTextOfGrandTotal()

Gets the text of “Grand Total” label in the PivotTable.

public virtual string GetTextOfGrandTotal()

Returns

string

The text of “Grand Total” label

GetTextOfHours()

Gets the local text of “Hours”.

public virtual string GetTextOfHours()

Returns

string

GetTextOfMinutes()

Gets the local text of “Minutes”.

public virtual string GetTextOfMinutes()

Returns

string

GetTextOfMonths()

Gets the local text of “Months”.

public virtual string GetTextOfMonths()

Returns

string

GetTextOfMultipleItems()

Gets the text of “(Multiple Items)” label in the PivotTable.

public virtual string GetTextOfMultipleItems()

Returns

string

The text of “(Multiple Items)” label

GetTextOfProtectedName(string)

Gets the text for specified protected name.

public virtual string GetTextOfProtectedName(string protectedName)

Parameters

protectedName string

The protected name in PivotTable.

Returns

string

The local prorected names of PivotTable.

Remarks

In Ms Excel, some names are not allowed to be used as the name of PivotFields in PivotTable. They are different in different region, user may specify them explicitly according to the used region.

GetTextOfQuarters()

Get the local text of “Quarters”.

public virtual string GetTextOfQuarters()

Returns

string

GetTextOfRange()

Gets the local text of “Range”

public virtual string GetTextOfRange()

Returns

string

GetTextOfRowLabels()

Gets the text of “Row Labels” label in the PivotTable.

public virtual string GetTextOfRowLabels()

Returns

string

The text of row labels

GetTextOfSeconds()

Gets the local text of “Seconds”

public virtual string GetTextOfSeconds()

Returns

string

GetTextOfSubTotal(PivotFieldSubtotalType)

Gets the text of Aspose.Cells.Pivot.PivotFieldSubtotalType type in the PivotTable.

public virtual string GetTextOfSubTotal(PivotFieldSubtotalType subTotalType)

Parameters

subTotalType PivotFieldSubtotalType

The Aspose.Cells.Pivot.PivotFieldSubtotalType

Returns

string

The text of given type

GetTextOfTotal()

Gets the text of “Total” label in the PivotTable. You need to override this method when the PivotTable contains two or more PivotFields in the data area.

public virtual string GetTextOfTotal()

Returns

string

The text of “Total” label

GetTextOfYears()

Gets the local text of “Years”.

public virtual string GetTextOfYears()

Returns

string