com.aspose.cells
Class PivotGlobalizationSettings

java.lang.Object
    extended by com.aspose.cells.PivotGlobalizationSettings

public class PivotGlobalizationSettings 
extends java.lang.Object

Represents the globalization settings for pivot tables.


Constructor Summary
PivotGlobalizationSettings()
          
 
Method Summary
java.lang.StringgetTextOfAll()
           Gets the text of "(All)" label in the PivotTable.
java.lang.StringgetTextOfColumnLabels()
           Gets the text of "Column Labels" label in the PivotTable.
java.lang.StringgetTextOfDataFieldHeader()
           Gets the the text of the value area field header in the PivotTable.
java.lang.StringgetTextOfEmptyData()
           Gets the text of "(blank)" label in the PivotTable.
java.lang.StringgetTextOfGrandTotal()
           Gets the text of "Grand Total" label in the PivotTable.
java.lang.StringgetTextOfMultipleItems()
           Gets the text of "(Multiple Items)" label in the PivotTable.
java.lang.StringgetTextOfProtectedName(java.lang.String protectedName)
           In Excel,some names are not allowed to be the PivotFields' name of PivotTable. They are different in different region.
java.lang.StringgetTextOfProtection()
           Gets the protection name in the PivotTable.
java.lang.StringgetTextOfRowLabels()
           Gets the text of "Row Labels" label in the PivotTable.
java.lang.StringgetTextOfSubTotal(int subTotalType)
           Gets the text of PivotFieldSubtotalType type in the PivotTable.
java.lang.StringgetTextOfTotal()
           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.
 

Constructor Detail

PivotGlobalizationSettings

public PivotGlobalizationSettings()

Method Detail

getTextOfTotal

public java.lang.String 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.
Returns:
The text of "Total" label

getTextOfGrandTotal

public java.lang.String getTextOfGrandTotal()
Gets the text of "Grand Total" label in the PivotTable.
Returns:
The text of "Grand Total" label

getTextOfMultipleItems

public java.lang.String getTextOfMultipleItems()
Gets the text of "(Multiple Items)" label in the PivotTable.
Returns:
The text of "(Multiple Items)" label

getTextOfAll

public java.lang.String getTextOfAll()
Gets the text of "(All)" label in the PivotTable.
Returns:
The text of "(All)" label

getTextOfProtection

public java.lang.String getTextOfProtection()
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 March 2023. Aspose apologizes for any inconvenience you may have experienced.
Returns:
The protection name of PivotTable

getTextOfProtectedName

public java.lang.String getTextOfProtectedName(java.lang.String protectedName)
In Excel,some names are not allowed to be the PivotFields' name of PivotTable. They are different in different region.
Parameters:
protectedName - The protected name in PivotTable.
Returns:
The local prorected names of PivotTable.

getTextOfColumnLabels

public java.lang.String getTextOfColumnLabels()
Gets the text of "Column Labels" label in the PivotTable.
Returns:
The text of column labels

getTextOfRowLabels

public java.lang.String getTextOfRowLabels()
Gets the text of "Row Labels" label in the PivotTable.
Returns:
The text of row labels

getTextOfEmptyData

public java.lang.String getTextOfEmptyData()
Gets the text of "(blank)" label in the PivotTable.
Returns:
The text of empty data

getTextOfDataFieldHeader

public java.lang.String getTextOfDataFieldHeader()
Gets the the text of the value area field header in the PivotTable.
Returns:
The text of data field header name

getTextOfSubTotal

public java.lang.String getTextOfSubTotal(int subTotalType)
Gets the text of PivotFieldSubtotalType type in the PivotTable.
Parameters:
subTotalType - A PivotFieldSubtotalType value. The PivotFieldSubtotalType
Returns:
The text of given type

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.