asposecells.api

Class GlobalizationSettings

Represents the globalization settings.

Constructor Summary
 
Property Getters/Setters Summary
methodgetChartSettings()
method
           Gets or sets the globalization settings for Chart.
methodgetColumnSeparatorOfFormulaArray()
Gets the separator for the items in array's row data in formula.
methodgetListSeparator()
Gets the separator for list, parameters of function, ...etc.
methodgetPivotSettings()
method
           Gets or sets the globalization settings for pivot table.
methodgetRowSeparatorOfFormulaArray()
Gets the separator for rows in array data in formula.
 
Method Summary
methodcompare(v1, v2, ignoreCase)
Compares two string values according to certain collation rules.
methodgetAllName()
Gets the name of "(All)" label in the PivotTable.
methodgetBooleanValueString(bv)
Gets the display string value for cell's boolean value
methodgetCollationKey(v, ignoreCase)
Transforms the string into a comparable object according to certain collation rules.
methodgetColumnLabelsOfPivotTable()
Gets the name of "Column Labels" label in the PivotTable.
methodgetCommentTitleName(type)
Gets the locale dependent comment title name according to comment title type.
methodgetDataFieldHeaderNameOfPivotTable()
Gets the the name of the value area field header in the PivotTable.
methodgetDefaultSheetName()
Gets the default sheet name for adding worksheet automatically. Default is "Sheet".
methodgetEmptyDataName()
Gets the name of "(blank)" label in the PivotTable.
methodgetErrorValueString(err)
Gets the display string value for cell's error value
methodgetGrandTotalName(functionType)
Gets the grand total name of the function.
methodgetLocalBuiltInName(standardName)
Gets the locale dependent text for built-in Name according to given standard text.
methodgetLocalFunctionName(standardName)
Gets the locale dependent function name according to given standard function name.
methodgetMultipleItemsName()
Gets the name of "(Multiple Items)" label in the PivotTable.
methodgetPivotGrandTotalName()
Gets the name of "Grand Total" label in the PivotTable.
methodgetPivotTotalName()
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.
methodgetProtectionNameOfPivotTable()
Gets the protection name in the PivotTable.
methodgetRowLabelsNameOfPivotTable()
Gets the name of "Row Labels" label in the PivotTable.
methodgetStandardBuiltInName(localName)
Gets the standard text of built-in Name according to given locale dependent text.
methodgetStandardFunctionName(localName)
Gets the standard function name according to given locale dependent function name.
methodgetStandardHeaderFooterFontStyleName(localfontStyleName)
Gets standard English font style name(Regular, Bold, Italic) for Header/Footer according to given locale font style name.
methodgetSubTotalName(subTotalType)
Gets the name of PivotFieldSubtotalType type in the PivotTable.
methodgetTableRowTypeOfAll()
Gets the type name of table rows that consists of all rows in referenced table. Default is "All", so in formula "#All" represents all rows in referenced table.
methodgetTableRowTypeOfCurrent()
Gets the type name of table rows that consists of the current row in referenced table. Default is "This Row", so in formula "#This Row" represents the current row in referenced table.
methodgetTableRowTypeOfData()
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.
methodgetTableRowTypeOfHeaders()
Gets the type name of table rows that consists of the table header. Default is "Headers", so in formula "#Headers" represents the table header.
methodgetTableRowTypeOfTotals()
Gets the type name of table rows that consists of the total row of referenced table. Default is "Totals", so in formula "#Totals" represents the total row of referenced table.
methodgetTotalName(functionType)
Gets the total name of the function.
 

    • Constructor Detail

      • GlobalizationSettings

        GlobalizationSettings()
    • Property Getters/Setters Detail

      • getListSeparator : char 

        char getListSeparator()
        
        Gets the separator for list, parameters of function, ...etc.
      • getRowSeparatorOfFormulaArray : char 

        char getRowSeparatorOfFormulaArray()
        
        Gets the separator for rows in array data in formula.
      • getColumnSeparatorOfFormulaArray : char 

        char getColumnSeparatorOfFormulaArray()
        
        Gets the separator for the items in array's row data in formula.
    • Method Detail

      • getPivotTotalName

        String 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.
        Returns:
        The name of "Total" label
      • getPivotGrandTotalName

        String 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.
        Returns:
        The name of "Grand Total" label
      • getMultipleItemsName

        String 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.
        Returns:
        The name of "(Multiple Items)" label
      • getAllName

        String 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.
        Returns:
        The name of "(All)" label
      • getProtectionNameOfPivotTable

        String 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.
        Returns:
        The protection name of PivotTable
      • getColumnLabelsOfPivotTable

        String 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.
        Returns:
        The name of column labels
      • getRowLabelsNameOfPivotTable

        String 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.
        Returns:
        The name of row labels
      • getEmptyDataName

        String 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.
        Returns:
        The name of empty data
      • getDataFieldHeaderNameOfPivotTable

        String 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.
        Returns:
        The name of data field header name
      • getSubTotalName

        String 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.
        Parameters:
        subTotalType: int - A PivotFieldSubtotalType value. The PivotFieldSubtotalType type
        Returns:
        The name of PivotFieldSubtotalType type
      • getTotalName

        String getTotalName(functionType)
        Gets the total name of the function.
        Parameters:
        functionType: int - A ConsolidationFunction value. The function type.
        Returns:
        The total name of the function.
      • getGrandTotalName

        String getGrandTotalName(functionType)
        Gets the grand total name of the function.
        Parameters:
        functionType: int - A ConsolidationFunction value. The function type.
        Returns:
        The grand total name of the function.
      • getDefaultSheetName

        String 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".
        Returns:
        the default sheet name for adding worksheet automatically
      • getTableRowTypeOfHeaders

        String 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:
        the type name of table rows
      • getTableRowTypeOfData

        String 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:
        the type name of table rows
      • getTableRowTypeOfAll

        String getTableRowTypeOfAll()
        Gets the type name of table rows that consists of all rows in referenced table. Default is "All", so in formula "#All" represents all rows in referenced table.
        Returns:
        the type name of table rows
      • getTableRowTypeOfTotals

        String getTableRowTypeOfTotals()
        Gets the type name of table rows that consists of the total row of referenced table. Default is "Totals", so in formula "#Totals" represents the total row of referenced table.
        Returns:
        the type name of table rows
      • getTableRowTypeOfCurrent

        String getTableRowTypeOfCurrent()
        Gets the type name of table rows that consists of the current row in referenced table. Default is "This Row", so in formula "#This Row" represents the current row in referenced table.
        Returns:
        the type name of table rows
      • getErrorValueString

        String getErrorValueString(err)
        Gets the display string value for cell's error value
        Parameters:
        err: String - error values such as #VALUE!,#NAME?
        Returns:
        By default returns the error value itself
      • getBooleanValueString

        String getBooleanValueString(bv)
        Gets the display string value for cell's boolean value
        Parameters:
        bv: boolean - boolean value
        Returns:
        By default returns "TRUE" for true value and "FALSE" for false value.
      • getLocalFunctionName

        String getLocalFunctionName(standardName)
        Gets the locale dependent function name according to given standard function name.
        Parameters:
        standardName: String - Standard(en-US locale) function name.
        Returns:
        Locale dependent function name. The locale was specified by the Workbook for which this settings is used.
      • getStandardFunctionName

        String getStandardFunctionName(localName)
        Gets the standard function name according to given locale dependent function name.
        Parameters:
        localName: String - Locale dependent function name. The locale was specified by the Workbook for which this settings is used.
        Returns:
        Standard(en-US locale) function name.
      • getLocalBuiltInName

        String getLocalBuiltInName(standardName)
        Gets the locale dependent text for built-in Name according to given standard text.
        Parameters:
        standardName: String - Standard(en-US locale) text of built-in Name.
        Returns:
        Locale dependent text. The locale was specified by the Workbook for which this settings is used.
      • getStandardBuiltInName

        String getStandardBuiltInName(localName)
        Gets the standard text of built-in Name according to given locale dependent text.
        Parameters:
        localName: String - Locale dependent text of built-in Name. The locale was specified by the Workbook for which this settings is used.
        Returns:
        Standard(en-US locale) text.
      • getStandardHeaderFooterFontStyleName

        String getStandardHeaderFooterFontStyleName(localfontStyleName)
        Gets standard English font style name(Regular, Bold, Italic) for Header/Footer according to given locale font style name.
        Parameters:
        localfontStyleName: String - Locale font style name for Header/Footer.
        Returns:
        Standard English font style name(Regular, Bold, Italic)
      • getCommentTitleName

        String getCommentTitleName(type)
        Gets the locale dependent comment title name according to comment title type.
        Parameters:
        type: int - A CommentTitleType value.
        Returns:
      • compare

        int compare(v1, v2, ignoreCase)
        Compares two string values according to certain collation rules.
        Parameters:
        v1: String - the first string
        v2: String - the second string
        ignoreCase: boolean - whether ignore case when comparing values
        Returns:
        Integer that indicates the lexical relationship between the two comparands
      • getCollationKey

        IComparable getCollationKey(v, ignoreCase)
        Transforms the string into a comparable object according to certain collation rules.
        Parameters:
        v: String - String value needs to be compared with others.
        ignoreCase: boolean - whether ignore case when comparing values
        Returns:
        Object can be used to compare or sort string values