类 NameNode
java.lang.Object
com.grapecity.documents.excel.expressions.SyntaxNode
com.grapecity.documents.excel.expressions.TerminalNode
com.grapecity.documents.excel.expressions.NameNode
Represents a name node in the syntax tree.
-
构造器概要
构造器说明Creates a newNameNode
fromstring
.NameNode
(String name, WorkbookReference workbook, String worksheetName, String lastWorksheetName) Creates a newNameNode
from a range of sheets of the specifiedworkbook.Creates a newNameNode
from a range of sheets. -
方法概要
修饰符和类型方法说明final String
If the name represents a range of worksheets, represents the worksheet at the end of the range.final String
getName()
The short name.final WorkbookReference
The external workbook reference.final String
The worksheet of the name.final void
setLastWorksheetName
(String value) If the name represents a range of worksheets, represents the worksheet at the end of the range.final void
The short name.final void
setWorkbook
(WorkbookReference value) The external workbook reference.final void
setWorksheetName
(String value) The worksheet of the name.
-
构造器详细资料
-
NameNode
Creates a newNameNode
fromstring
.- 参数:
name
- The short name.
-
NameNode
Creates a newNameNode
from a range of sheets.- 参数:
name
- The short name.worksheetName
- The name of start worksheet.lastWorksheetName
- The name of end worksheet.
-
NameNode
public NameNode(String name, WorkbookReference workbook, String worksheetName, String lastWorksheetName) Creates a newNameNode
from a range of sheets of the specifiedworkbook.- 参数:
name
- The short name.workbook
- The workbook id.worksheetName
- The name of start worksheet.lastWorksheetName
- The name of end worksheet.
-
-
方法详细资料
-
getWorkbook
The external workbook reference. -
setWorkbook
The external workbook reference. -
getWorksheetName
The worksheet of the name. -
setWorksheetName
The worksheet of the name. -
getLastWorksheetName
If the name represents a range of worksheets, represents the worksheet at the end of the range. -
setLastWorksheetName
If the name represents a range of worksheets, represents the worksheet at the end of the range. -
getName
The short name. -
setName
The short name.
-