public interface Book
| Modifier and Type | Interface and Description |
|---|---|
static class |
Book.BookType |
| Modifier and Type | Method and Description |
|---|---|
String |
getBookName()
Gets the book name
|
SBook |
getInternalBook()
get the internal model object to do advanced operation
Note : operate on internal object will not automatically update Spreadsheet |
ReadWriteLock |
getLock()
Get the read-write lock of this book
|
int |
getMaxColumns() |
int |
getMaxRows() |
int |
getNumberOfSheets()
Gets the number of sheet
|
String |
getShareScope()
Gets share scope of this book
|
Sheet |
getSheet(String name)
Gets sheet by sheet name
|
Sheet |
getSheetAt(int index)
Gets sheet by index
|
int |
getSheetIndex(Sheet sheet)
Gets the index of sheet
|
Object |
getSync()
Deprecated.
since 3.5.0, use
getLock() |
Book.BookType |
getType()
Gets the book type
|
boolean |
hasNameRange(String name)
check if this book has named range
|
void |
setShareScope(String scope)
Sets share scope of this book, the possible value is "desktop","session","application"
|
SBook getInternalBook()
Object getSync()
getLock()ReadWriteLock getLock()
String getBookName()
Book.BookType getType()
int getSheetIndex(Sheet sheet)
sheet - int getNumberOfSheets()
Sheet getSheetAt(int index)
index - index of sheetSheet getSheet(String name)
name - name of sheetvoid setShareScope(String scope)
scope - String getShareScope()
boolean hasNameRange(String name)
name - the name to checkint getMaxRows()
int getMaxColumns()
Copyright © 2020. All rights reserved.