All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.ErrorCheckOption.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





ErrorCheckOption




com.aspose.cells
Class ErrorCheckOption

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

public class ErrorCheckOption 
extends java.lang.Object

Error check setting applied on certain ranges.


Method Summary
intaddRange(CellArea ca)
           Adds one influenced range by this setting.
intgetCountOfRange()
           Gets the count of ranges that influenced by this setting.
CellAreagetRange(int index)
           Gets the influenced range of this setting by given index.
booleanisErrorCheck(int errorCheckType)
           Checks whether given error type will be checked.
voidremoveRange(int index)
           Removes one range by given index.
voidsetErrorCheck(int errorCheckType, boolean isCheck)
           Sets whether given error type will be checked.
 

Method Detail

isErrorCheck

public boolean isErrorCheck(int errorCheckType)
Checks whether given error type will be checked.
Parameters:
errorCheckType - A ErrorCheckType value. error type can be checked
Returns:
return true if given error type will be checked(green triangle will be shown for cell if the check failed).

setErrorCheck

public void setErrorCheck(int errorCheckType, boolean isCheck)
Sets whether given error type will be checked.
Parameters:
errorCheckType - A ErrorCheckType value. error type can be checked.
isCheck - true if given error type needs to be checked(green triangle will be shown for cell if the check failed).

getCountOfRange

public int getCountOfRange()
Gets the count of ranges that influenced by this setting.
Returns:
the count of ranges that influenced by this setting.

addRange

public int addRange(CellArea ca)
Adds one influenced range by this setting.
Parameters:
ca - the range to be added.
Returns:
the index of the added range in the range list of this setting.

getRange

public CellArea getRange(int index)
Gets the influenced range of this setting by given index.
Parameters:
index - the index of range
Returns:
return influenced range at given index.

removeRange

public void removeRange(int index)
Removes one range by given index.
Parameters:
index - the index of the range to be removed.

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy