Class Reference
java.lang.Object
com.grapecity.documents.excel.expressions.Reference
- All Implemented Interfaces:
Cloneable
Represents a reference in formula.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Copy the reference.booleanEquality comparison.booleanEquality comparison for late binding.intGets the 0-based column index.booleanGets whether the reference has column.booleanGets whether the reference has row.booleanGets whether the column is relative.booleanGets whether the reference contains error.booleanGets whether the last column is relative.booleanGets whether the last row is absolute.booleanGets whether the reference is range.booleanGets whether the row is relative.intGets the end column index.intGets the 0-based end row index.Gets the name of the end worksheet of the 3D reference.intgetRow()Gets the 0-based row index.Gets the external workbook reference.Gets the name of the worksheet.inthashCode()This object doesn't support getting hash code, because all fields are mutable.voidsetColumn(int value) Sets the 0-based column index.voidsetHasColumn(boolean value) Sets whether the reference has column.voidsetHasRow(boolean value) Sets whether the reference has row.voidsetIsColumnRelative(boolean value) Sets whether the column is relative.voidsetIsError(boolean value) Sets whether the reference contains error.voidsetIsLastColumnRelative(boolean value) Sets whether the last column is relative.voidsetIsLastRowRelative(boolean value) Sets whether the last row is absolute.voidsetIsRange(boolean value) Sets whether the reference is range.voidsetIsRowRelative(boolean value) Sets whether the row is relative.voidsetLastColumn(int value) Sets the end column index.voidsetLastRow(int value) Sets the 0-based end row index.voidsetLastWorksheetName(String value) Sets the name of the end worksheet of the 3D reference.voidsetRow(int value) Sets the 0-based row index.voidsetWorkbook(WorkbookReference value) Sets the external workbook reference.voidsetWorksheetName(String value) Sets the name of the worksheet.toString()Converts the reference to A1 string.toString(UnParseContext context) Converts the reference to string.
-
Field Details
-
ErrorWorksheetName
- See Also:
-
-
Constructor Details
-
Reference
public Reference()
-
-
Method Details
-
getWorkbook
Gets the external workbook reference. The default value isnull. -
setWorkbook
Sets the external workbook reference. The default value isnull. -
getWorksheetName
Gets the name of the worksheet. -
setWorksheetName
Sets the name of the worksheet. -
getLastWorksheetName
Gets the name of the end worksheet of the 3D reference. -
setLastWorksheetName
Sets the name of the end worksheet of the 3D reference. -
getHasRow
public boolean getHasRow()Gets whether the reference has row. The default value istrue. -
setHasRow
public void setHasRow(boolean value) Sets whether the reference has row. The default value istrue. -
getHasColumn
public boolean getHasColumn()Gets whether the reference has column. The default value istrue. -
setHasColumn
public void setHasColumn(boolean value) Sets whether the reference has column. The default value istrue. -
getRow
public int getRow()Gets the 0-based row index. The default value is 0. -
setRow
public void setRow(int value) Sets the 0-based row index. The default value is 0. -
getColumn
public int getColumn()Gets the 0-based column index. The default value is 0. -
setColumn
public void setColumn(int value) Sets the 0-based column index. The default value is 0. -
getLastRow
public int getLastRow()Gets the 0-based end row index. The default value is 0. -
setLastRow
public void setLastRow(int value) Sets the 0-based end row index. The default value is 0. -
getLastColumn
public int getLastColumn()Gets the end column index. The default value is 0. -
setLastColumn
public void setLastColumn(int value) Sets the end column index. The default value is 0. -
getIsRowRelative
public boolean getIsRowRelative()Gets whether the row is relative. The default value istrue. -
setIsRowRelative
public void setIsRowRelative(boolean value) Sets whether the row is relative. The default value istrue. -
getIsColumnRelative
public boolean getIsColumnRelative()Gets whether the column is relative. The default value istrue. -
setIsColumnRelative
public void setIsColumnRelative(boolean value) Sets whether the column is relative. The default value istrue. -
getIsLastRowRelative
public boolean getIsLastRowRelative()Gets whether the last row is absolute. The default value istrue. -
setIsLastRowRelative
public void setIsLastRowRelative(boolean value) Sets whether the last row is absolute. The default value istrue. -
getIsLastColumnRelative
public boolean getIsLastColumnRelative()Gets whether the last column is relative. The default value istrue. -
setIsLastColumnRelative
public void setIsLastColumnRelative(boolean value) Sets whether the last column is relative. The default value istrue. -
getIsRange
public boolean getIsRange()Gets whether the reference is range. The default value isfalse. -
setIsRange
public void setIsRange(boolean value) Sets whether the reference is range. The default value isfalse. -
getIsError
public boolean getIsError()Gets whether the reference contains error. The default value isfalse. -
setIsError
public void setIsError(boolean value) Sets whether the reference contains error. The default value isfalse. -
toString
Converts the reference to A1 string. -
toString
Converts the reference to string.- Parameters:
context- The parse options.
-
equals
Equality comparison for late binding. -
equals
Equality comparison.- Parameters:
other- Another reference.
-
hashCode
public int hashCode()This object doesn't support getting hash code, because all fields are mutable. -
clone
Copy the reference.
-