接口 IName
public interface IName
Represents a defined name for a range of cells.
-
方法概要
修饰符和类型方法说明void
delete()
Deletes the object.void
Generates the defined name from the json string.Gets the comment associated with the name.getName()
Gets the name of the object.Gets the formula that the name is defined to refer to, in the language of the macro and in A1-style notation, beginning with an equal sign.Gets the formula that the name is defined to refer to, in the language of the macro and in R1C1-style notation, beginning with an equal sign.void
setComment
(String value) Sets the comment associated with the name.void
Sets the name of the object.void
setRefersTo
(String value) Sets the formula that the name is defined to refer to, in the language of the macro and in A1-style notation, beginning with an equal sign.void
setRefersToR1C1
(String value) Sets the formula that the name is defined to refer to, in the language of the macro and in R1C1-style notation, beginning with an equal sign.toJson()
Generates the json string from the defined name.
-
方法详细资料
-
getName
String getName()Gets the name of the object. -
setName
Sets the name of the object. -
getRefersTo
String getRefersTo()Gets the formula that the name is defined to refer to, in the language of the macro and in A1-style notation, beginning with an equal sign. -
setRefersTo
Sets the formula that the name is defined to refer to, in the language of the macro and in A1-style notation, beginning with an equal sign. -
getRefersToR1C1
String getRefersToR1C1()Gets the formula that the name is defined to refer to, in the language of the macro and in R1C1-style notation, beginning with an equal sign. -
setRefersToR1C1
Sets the formula that the name is defined to refer to, in the language of the macro and in R1C1-style notation, beginning with an equal sign. -
getComment
String getComment()Gets the comment associated with the name. -
setComment
Sets the comment associated with the name. -
delete
void delete()Deletes the object. -
fromJson
Generates the defined name from the json string.- 参数:
json
- the json string that contains a defined name
-
toJson
String toJson()Generates the json string from the defined name.- 返回:
- the json string
-