public interface Book
Modifier and Type | Interface and Description |
---|---|
static class |
Book.BookType |
Modifier and Type | Method and Description |
---|---|
java.lang.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 |
java.util.concurrent.locks.ReadWriteLock |
getLock()
Get the read-write lock of this book
|
int |
getMaxColumns() |
int |
getMaxRows() |
int |
getNumberOfSheets()
Gets the number of sheet
|
java.lang.String |
getShareScope()
Gets share scope of this book
|
Sheet |
getSheet(java.lang.String name)
Gets sheet by sheet name
|
Sheet |
getSheetAt(int index)
Gets sheet by index
|
int |
getSheetIndex(Sheet sheet)
Gets the index of sheet
|
java.lang.Object |
getSync()
Deprecated.
since 3.5.0, use
getLock() |
Book.BookType |
getType()
Gets the book type
|
boolean |
hasNameRange(java.lang.String name)
check if this book has named range
|
void |
setShareScope(java.lang.String scope)
Sets share scope of this book, the possible value is "desktop","session","application"
|
SBook getInternalBook()
java.lang.Object getSync()
getLock()
java.util.concurrent.locks.ReadWriteLock getLock()
java.lang.String getBookName()
Book.BookType getType()
int getSheetIndex(Sheet sheet)
sheet
- int getNumberOfSheets()
Sheet getSheetAt(int index)
index
- index of sheetSheet getSheet(java.lang.String name)
name
- name of sheetvoid setShareScope(java.lang.String scope)
scope
- java.lang.String getShareScope()
boolean hasNameRange(java.lang.String name)
name
- the name to checkint getMaxRows()
int getMaxColumns()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.