SettableGlobalizationSettings

SettableGlobalizationSettings class

Implementation of GlobalizationSettings that supports user to set/change pre-defined texts.

new SettableGlobalizationSettings()

Methods

NameDescription
compare(v1, v2, ignoreCase)Compares two string values according to certain collation rules.
getAllName()Gets the name of “(All)” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use GlobalizationSe
getBooleanValueString(bv)Gets the display string value for cell’s boolean value
getChartSettings()Gets or sets the globalization settings for Chart.
getCollationKey(v, ignoreCase)Transforms the string into a comparable object according to certain collation rules.
getColumnLabelsOfPivotTable()Gets the name of “Column Labels” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGl
getColumnSeparatorOfFormulaArray()Gets the separator for the items in array’s row data in formula.
getCommentTitleName(type)Gets the locale dependent comment title name according to comment title type.
getDataFieldHeaderNameOfPivotTable()Gets the the name of the value area field header in the PivotTable. NOTE: This member is now obsolete. Instead, please u
getDefaultSheetName()Gets the default sheet name for adding worksheet automatically. Default is “Sheet”. The automatically added(such as by W
getEmptyDataName()Gets the name of “(blank)” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobaliz
getErrorValueString(err)Gets the display string value for cell’s error value
getGrandTotalName(functionType)Gets the grand total name of the function.
getListSeparator()Gets the separator for list, parameters of function, …etc.
getLocalBuiltInName(standardName)Gets the locale dependent text for built-in Name according to given standard text.
getLocalFunctionName(standardName)Gets the locale dependent function name according to given standard function name.
getMultipleItemsName()Gets the name of “(Multiple Items)” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use Pivo
getPivotGrandTotalName()Gets the name of “Grand Total” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlob
getPivotSettings()Gets or sets the globalization settings for pivot table.
getPivotTotalName()Gets the name of “Total” label in the PivotTable. You need to override this method when the PivotTable contains two or m
getProtectionNameOfPivotTable()Gets the protection name in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSet
getRowLabelsNameOfPivotTable()Gets the name of “Row Labels” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGloba
getRowSeparatorOfFormulaArray()Gets the separator for rows in array data in formula.
getStandardBuiltInName(localName)Gets the standard text of built-in Name according to given locale dependent text.
getStandardFunctionName(localName)Gets the standard function name according to given locale dependent function name.
getStandardHeaderFooterFontStyleName(localfontStyleName)Gets standard English font style name(Regular, Bold, Italic) for Header/Footer according to given locale font style name
getSubTotalName(subTotalType)Gets the name of PivotFieldSubtotalType type in the PivotTable. NOTE: This member is now obsolete. Instead, please use P
getTableRowTypeOfAll()Gets the type name of table rows that consists of all rows in referenced table.
getTableRowTypeOfCurrent()Gets the type name of table rows that consists of the current row in referenced table.
getTableRowTypeOfData()Gets the type name of table rows that consists of data region of referenced table. Default is “Data”, so in formula “#Da
getTableRowTypeOfHeaders()Gets the type name of table rows that consists of the table header. Default is “Headers”, so in formula “#Headers” repre
getTableRowTypeOfTotals()Gets the type name of table rows that consists of the total row of referenced table.
getTotalName(functionType)Gets the total name of specific function.
setBooleanValueString(bv, name)Sets the display string value for cell’s boolean value
setChartSettings()Gets or sets the globalization settings for Chart.
setColumnSeparatorOfFormulaArray(c)Sets the separator for the items in array’s row data in formula.
setCommentTitleName(type, name)Gets the locale dependent comment title name according to comment title type.
setGrandTotalName(functionType, name)Sets the grand total name of specific function.
setListSeparator(c)Sets the separator for list, parameters of function, …etc.
setLocalBuiltInName(standardName, localName, bidirectional)Sets the locale dependent text for the built-in name with given standard name text.
setLocalFunctionName(standardName, localName, bidirectional)Sets the locale dependent function name corresponding to given standard function name.
setPivotSettings()Gets or sets the globalization settings for pivot table.
setRowSeparatorOfFormulaArray(c)Sets the separator for rows in array data in formula.
setStandardBuiltInName(localName, standardName, bidirectional)Sets the locale dependent function name according to given standard function name.
setStandardFunctionName(localName, standardName, bidirectional)Sets the locale dependent function name according to given standard function name.
setStandardHeaderFooterFontStyleName(localfontStyleName, standardName)Sets the locale dependent function name according to given standard function name.
setTableRowTypeOfAll(name)Sets the type name of table rows that consists of all rows in referenced table.
setTableRowTypeOfCurrent(name)Sets the type name of table rows that consists of the current row in referenced table.
setTableRowTypeOfData(name)Sets the type name of table rows that consists of data region of referenced table.
setTableRowTypeOfHeaders(name)Sets the type name of table rows that consists of the table header.
setTableRowTypeOfTotals(name)Sets the type name of table rows that consists of the total row of referenced table.
setTotalName(functionType, name)Sets the total name of specific function.

compare(v1, v2, ignoreCase)

Compares two string values according to certain collation rules.

ParameterTypeDescription
v1Stringthe first string
v2Stringthe second string
ignoreCasebooleanwhether ignore case when comparing values

Returns: Number — Number Integer that indicates the lexical relationship between the two comparands

getAllName()

Gets the name of “(All)” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use GlobalizationSettings.GetColumnLabelsOfPivotTable() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.@return {String} The name of “(All)” label

getBooleanValueString(bv)

Gets the display string value for cell’s boolean value

ParameterTypeDescription
bvbooleanboolean value

Returns: String — String By default returns “TRUE” for true value and “FALSE” for false value.

getChartSettings()

Gets or sets the globalization settings for Chart.

getCollationKey(v, ignoreCase)

Transforms the string into a comparable object according to certain collation rules.

ParameterTypeDescription
vStringString value needs to be compared with others.
ignoreCasebooleanwhether ignore case when comparing values

Returns: IComparable — IComparable Object can be used to compare or sort string values

getColumnLabelsOfPivotTable()

Gets the name of “Column Labels” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSettings.GetColumnLabelsOfPivotTable() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.@return {String} The name of column labels

getColumnSeparatorOfFormulaArray()

Gets the separator for the items in array’s row data in formula.

getCommentTitleName(type)

Gets the locale dependent comment title name according to comment title type.

ParameterTypeDescription
typeNumberCommentTitleType

Returns: String — String locale dependent comment title name

getDataFieldHeaderNameOfPivotTable()

Gets the the name of the value area field header in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSettings.GetColumnLabelsOfPivotTable() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.@return {String} The name of data field header name

getDefaultSheetName()

Gets the default sheet name for adding worksheet automatically. Default is “Sheet”. The automatically added(such as by WorksheetCollection.add()) sheet’s name will be the specified name plus sequence number. For example, for Germany user maybe wants the sheet name to be “Tabellenblatt2” instead of “Sheet2”. Then user may implement this method to return “Tabellenblatt”.@return {String} the default sheet name for adding worksheet automatically

getEmptyDataName()

Gets the name of “(blank)” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSettings.GetColumnLabelsOfPivotTable() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.@return {String} The name of empty data

getErrorValueString(err)

Gets the display string value for cell’s error value

ParameterTypeDescription
errStringerror values such as #VALUE!,#NAME?

Returns: String — String By default returns the error value itself

getGrandTotalName(functionType)

Gets the grand total name of the function.

ParameterTypeDescription
functionTypeNumberConsolidationFunction

Returns: String — String The grand total name of the function.

getListSeparator()

Gets the separator for list, parameters of function, …etc.

getLocalBuiltInName(standardName)

Gets the locale dependent text for built-in Name according to given standard text.

ParameterTypeDescription
standardNameStringStandard(en-US locale) text of built-in Name.

Returns: String — String Locale dependent text. The locale was specified by the Workbook for which this settings is used.

getLocalFunctionName(standardName)

Gets the locale dependent function name according to given standard function name.

ParameterTypeDescription
standardNameStringStandard(en-US locale) function name.

Returns: String — String Locale dependent function name. The locale was specified by the Workbook for which this settings is used.

getMultipleItemsName()

Gets the name of “(Multiple Items)” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSettings.GetColumnLabelsOfPivotTable() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.@return {String} The name of “(Multiple Items)” label

getPivotGrandTotalName()

Gets the name of “Grand Total” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSettings.GetColumnLabelsOfPivotTable() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.@return {String} The name of “Grand Total” label

getPivotSettings()

Gets or sets the globalization settings for pivot table.

getPivotTotalName()

Gets the name of “Total” label in the PivotTable. You need to override this method when the PivotTable contains two or more PivotFields in the data area. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSettings.GetColumnLabelsOfPivotTable() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.@return {String} The name of “Total” label

getProtectionNameOfPivotTable()

Gets the protection name in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSettings.GetTextOfProtectedName(string) method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.@return {String} The protection name of PivotTable

getRowLabelsNameOfPivotTable()

Gets the name of “Row Labels” label in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSettings.GetColumnLabelsOfPivotTable() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.@return {String} The name of row labels

getRowSeparatorOfFormulaArray()

Gets the separator for rows in array data in formula.

getStandardBuiltInName(localName)

Gets the standard text of built-in Name according to given locale dependent text.

ParameterTypeDescription
localNameStringLocale dependent text of built-in Name. The locale was specified by the Workbook for which this settings is used.

Returns: String — String Standard(en-US locale) text.

getStandardFunctionName(localName)

Gets the standard function name according to given locale dependent function name.

ParameterTypeDescription
localNameStringLocale dependent function name. The locale was specified by the Workbook for which this settings is used.

Returns: String — String Standard(en-US locale) function name.

getStandardHeaderFooterFontStyleName(localfontStyleName)

Gets standard English font style name(Regular, Bold, Italic) for Header/Footer according to given locale font style name.

ParameterTypeDescription
localfontStyleNameStringLocale font style name for Header/Footer.

Returns: String — String Standard English font style name(Regular, Bold, Italic)

getSubTotalName(subTotalType)

Gets the name of PivotFieldSubtotalType type in the PivotTable. NOTE: This member is now obsolete. Instead, please use PivotGlobalizationSettings.GetColumnLabelsOfPivotTable() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.

ParameterTypeDescription
subTotalTypeNumberPivotFieldSubtotalType

Returns: String — String The name of PivotFieldSubtotalType type

getTableRowTypeOfAll()

Gets the type name of table rows that consists of all rows in referenced table.

Returns: String — String the type name of table rows

getTableRowTypeOfCurrent()

Gets the type name of table rows that consists of the current row in referenced table.

Returns: String — String the type name of table rows

getTableRowTypeOfData()

Gets the type name of table rows that consists of data region of referenced table. Default is “Data”, so in formula “#Data” represents the data region of the table.

Returns: String — String the type name of table rows

getTableRowTypeOfHeaders()

Gets the type name of table rows that consists of the table header. Default is “Headers”, so in formula “#Headers” represents the table header.

Returns: String — String the type name of table rows

getTableRowTypeOfTotals()

Gets the type name of table rows that consists of the total row of referenced table.

Returns: String — String the type name of table rows

getTotalName(functionType)

Gets the total name of specific function.

ParameterTypeDescription
functionTypeNumberConsolidationFunction

Returns: String — String The total name of the function.

setBooleanValueString(bv, name)

Sets the display string value for cell’s boolean value

ParameterTypeDescription
bvbooleanboolean value
nameStringstring value of the boolean value

setChartSettings()

Gets or sets the globalization settings for Chart.

setColumnSeparatorOfFormulaArray(c)

Sets the separator for the items in array’s row data in formula.

ParameterTypeDescription
ccharthe specified separator

setCommentTitleName(type, name)

Gets the locale dependent comment title name according to comment title type.

ParameterTypeDescription
typeNumberCommentTitleType
nameStringlocale dependent comment title name

setGrandTotalName(functionType, name)

Sets the grand total name of specific function.

ParameterTypeDescription
functionTypeNumberConsolidationFunction
nameStringThe grand total name of the function.

setListSeparator(c)

Sets the separator for list, parameters of function, …etc.

ParameterTypeDescription
ccharthe specified separator

setLocalBuiltInName(standardName, localName, bidirectional)

Sets the locale dependent text for the built-in name with given standard name text.

ParameterTypeDescription
standardNameStringStandard(en-US locale) name text of built-in name.
localNameStringLocale dependent name text
bidirectionalbooleanWhether map the local name text to standard name text automatically. If true, the local name text will be mapped to standard name text automatically so user does not need to call

setLocalFunctionName(standardName, localName, bidirectional)

Sets the locale dependent function name corresponding to given standard function name.

ParameterTypeDescription
standardNameStringStandard(en-US locale) function name.
localNameStringLocale dependent function name
bidirectionalbooleanWhether map the local function name to standard function name automatically. If true, the local name will be mapped to standard name automatically so user does not need to call

setPivotSettings()

Gets or sets the globalization settings for pivot table.

setRowSeparatorOfFormulaArray(c)

Sets the separator for rows in array data in formula.

ParameterTypeDescription
ccharthe specified separator

setStandardBuiltInName(localName, standardName, bidirectional)

Sets the locale dependent function name according to given standard function name.

ParameterTypeDescription
localNameStringLocale dependent function name
standardNameStringStandard(en-US locale) function name.
bidirectionalbooleanWhether map the standard name text to local name text automatically. If true, the standar name text will be mapped to local name text automatically so user does not need to call

setStandardFunctionName(localName, standardName, bidirectional)

Sets the locale dependent function name according to given standard function name.

ParameterTypeDescription
localNameStringLocale dependent function name
standardNameStringStandard(en-US locale) function name.
bidirectionalbooleanWhether map the standard function name to local function name automatically. If true, the standar name will be mapped to local name automatically so user does not need to call

setStandardHeaderFooterFontStyleName(localfontStyleName, standardName)

Sets the locale dependent function name according to given standard function name.

ParameterTypeDescription
localfontStyleNameStringLocale font style name for Header/Footer.
standardNameStringStandard(en-US locale) function name.

setTableRowTypeOfAll(name)

Sets the type name of table rows that consists of all rows in referenced table.

ParameterTypeDescription
nameStringthe type name of table rows

setTableRowTypeOfCurrent(name)

Sets the type name of table rows that consists of the current row in referenced table.

ParameterTypeDescription
nameStringthe type name of table rows

setTableRowTypeOfData(name)

Sets the type name of table rows that consists of data region of referenced table.

ParameterTypeDescription
nameStringthe type name of table rows

setTableRowTypeOfHeaders(name)

Sets the type name of table rows that consists of the table header.

ParameterTypeDescription
nameStringthe type name of table rows

setTableRowTypeOfTotals(name)

Sets the type name of table rows that consists of the total row of referenced table.

ParameterTypeDescription
nameStringthe type name of table rows

setTotalName(functionType, name)

Sets the total name of specific function.

ParameterTypeDescription
functionTypeNumberConsolidationFunction
nameStringThe total name of the function.