接口 IName


public interface IName
Represents a defined name for a range of cells.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Deletes the object.
    void
    Generates the defined name from the json string.
    Gets the comment associated with the name.
    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
    Sets the comment associated with the name.
    void
    setName(String value)
    Sets the name of the object.
    void
    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
    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.
    Generates the json string from the defined name.
  • 方法详细资料

    • getName

      String getName()
      Gets the name of the object.
    • setName

      void setName(String value)
      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

      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.
    • 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

      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.
    • getComment

      String getComment()
      Gets the comment associated with the name.
    • setComment

      void setComment(String value)
      Sets the comment associated with the name.
    • delete

      void delete()
      Deletes the object.
    • fromJson

      void fromJson(String json)
      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