|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteSheet
This class represents a sheet.
Creation and access
Method Summary | |
---|---|
void |
activate()
This method makes the current sheet into the active sheet. |
void |
calculate()
This method calculates all the formulas in a sheet. |
IRemoteRange |
cells()
This method returns a Range object that represents a whole sheet, an entire row, or a cell. |
IRemoteRange |
cells(int rowIndex)
This method returns a Range object that represents a whole sheet, an entire row, or a cell. |
IRemoteRange |
cells(int rowIndex,
int columnIndex)
This method returns a Range object that represents a whole sheet, an entire row, or a cell. |
IRemoteRange |
columns()
This method returns a Range object that represents all columns or it returns one column by index. |
IRemoteRange |
columns(int index)
This method returns a Range object that represents all columns or it returns one column by index. |
void |
copyTo(IRemoteSheet pre)
This method copies a sheet and inserts it into current spreadsheet. |
void |
copyTo(IRemoteSheet sheet_pos,
boolean beforeOrAfter)
This method copies a sheet and inserts it into current spreadsheet. |
IRemoteDataPilotTable |
dataPilotTableWizard(java.lang.String name,
IRemoteRange sourceData,
IRemoteRange dest)
This method creates a new DataPilot table report. |
void |
deleteColumns(int columnIndex,
int count,
boolean isAfter)
This method deletes one or more columns in a sheet. |
void |
deleteRows(int rowIndex,
int count,
boolean isAfter)
This method removes one or more rows in a sheet. |
void |
freezePosition(int nColumns,
int nRows)
This method freezes panes with the specified number of columns and rows. |
IRemoteSymphonyApplication |
getApplication()
This property represents the Lotus Symphony application. |
IRemoteChartObjects |
getChartObjects()
This property returns a ChartObjects object that represents a collection of all the embedded charts of the sheet. |
IRemoteDataPilotTables |
getDataPilotTables()
This property returns a DataPilotTables object represents a collection of all the DataPilot table reports on a sheet. |
int |
getIndex()
This property returns the index of the current sheet, starting from 1. |
java.lang.String |
getName()
This property returns or sets a string value representing the name of the object. |
IRemoteRange |
getSelectedRange()
This property returns a range object that represents the selected range. |
IRemoteRange |
getUsedRange()
This property returns a range object that represents the used range (modified or containing data) on the specified sheet. |
boolean |
hasFrozen()
This property returns whether the sheet is frozen. |
void |
importCSVFile(java.lang.String fileName)
This method imports data from a CSV file into the current sheet. |
void |
importCSVFile(java.lang.String fileName,
java.lang.String fieldSeperator)
This method imports data from a CSV file into the current sheet. |
void |
importCSVFile(java.lang.String fileName,
java.lang.String fieldSeperator,
java.lang.String delimiter)
This method imports data from a CSV file into the current sheet. |
void |
importCSVFile(java.lang.String fileName,
java.lang.String fieldSeperator,
java.lang.String delimiter,
int firstLine)
This method imports data from a CSV file into the current sheet. |
void |
importCSVFile(java.lang.String fileName,
java.lang.String fieldSeperator,
java.lang.String delimiter,
int firstLine,
int importMode)
This method imports data from a CSV file into the current sheet. |
void |
importFile(java.lang.String fileName,
java.lang.String sheetName)
This method imports data from a spreadsheet into current sheet. |
void |
importFile(java.lang.String fileName,
java.lang.String sheetName,
int firstLine)
This method imports data from a spreadsheet into current sheet. |
void |
importFile(java.lang.String fileName,
java.lang.String sheetName,
int firstLine,
int importMode)
This method imports data from a spreadsheet into current sheet. |
void |
insertColumns(int columnIndex,
int count,
boolean isAfter)
This method inserts one or more columns in a sheet. |
void |
insertRows(int rowIndex,
int count,
boolean isAfter)
This method inserts one or more rows. |
boolean |
isProtected()
This property returns whether the sheet can be modified from UI. |
boolean |
isVisible()
This property returns or sets whether the sheet is visible. |
void |
moveTo(IRemoteSheet sheet)
This method moves a sheet to the specified position. |
void |
moveTo(IRemoteSheet sheet_pos,
boolean beforeOrAfter)
This method moves a sheet to the specified position. |
IRemoteSheet |
next()
This property returns a sheet object that represents the next sheet. |
IRemoteSheet |
previous()
This property returns a sheet object that represents the previous sheet. |
void |
print()
This method prints the current sheet. |
void |
protect()
This method makes current sheet un-modifiable from the user interface. |
void |
protect(java.lang.String password)
This method makes current sheet un-modifiable from the user interface. |
IRemoteRange |
range(IRemoteRange range1,
IRemoteRange range2)
This method returns a Range object that represents a cell or a range of cells. |
IRemoteRange |
range(java.lang.String name)
This method returns a Range object that represents a cell or a range of cells. |
void |
remove()
This method deletes the sheet. |
IRemoteRange |
rows()
This method returns a Range object representing all rows or returns one row by index. |
IRemoteRange |
rows(int index)
This method returns a Range object representing all rows or returns one row by index. |
void |
setName(java.lang.String name)
This property returns or sets a string value representing the name of the object. |
void |
setVisible(boolean visible)
This property returns or sets whether the sheet is visible. |
void |
unProtect()
This method makes the current sheet modifiable from UI. |
void |
unProtect(java.lang.String password)
This method makes the current sheet modifiable from UI. |
Method Detail |
---|
IRemoteSymphonyApplication getApplication() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteChartObjects getChartObjects() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteDataPilotTables getDataPilotTables() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getIndex() throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.lang.String getName() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setName(java.lang.String name) throws RemoteEclipseAPIException
name
-
RemoteEclipseAPIException
IRemoteSheet next() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteSheet previous() throws RemoteEclipseAPIException
RemoteEclipseAPIException
boolean isProtected() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteRange getUsedRange() throws RemoteEclipseAPIException
RemoteEclipseAPIException
boolean isVisible() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setVisible(boolean visible) throws RemoteEclipseAPIException
visible
-
RemoteEclipseAPIException
void activate() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void calculate() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void copyTo(IRemoteSheet pre) throws RemoteEclipseAPIException
pre
-
RemoteEclipseAPIException
void copyTo(IRemoteSheet sheet_pos, boolean beforeOrAfter) throws RemoteEclipseAPIException
sheet_pos
- Specifies the position before or after which the new sheet is added. If this parameter is null, this method throws an exception.beforeOrAfter
- Adds the new sheet before or after the sheet_pos. A value of true adds the new sheet before the sheet_pos. A value of false adds the new sheet after the sheet_pos. The default value is true.
RemoteEclipseAPIException
void moveTo(IRemoteSheet sheet) throws RemoteEclipseAPIException
sheet
-
RemoteEclipseAPIException
void moveTo(IRemoteSheet sheet_pos, boolean beforeOrAfter) throws RemoteEclipseAPIException
sheet_pos
- Specifies the position before or after which the sheet moves. If this parameter is null, this method throws an exception.beforeOrAfter
- Moves the sheet before or after the sheet_pos parameter. A value of true moves the sheet before sheet_pos. A value of false moves the sheet after sheet_pos. The default value is true.
RemoteEclipseAPIException
void print() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void protect() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void protect(java.lang.String password) throws RemoteEclipseAPIException
password
- Uses a string as password to lock this sheet.
RemoteEclipseAPIException
void unProtect() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void unProtect(java.lang.String password) throws RemoteEclipseAPIException
password
- Provides the string password to un-lock the sheet.
RemoteEclipseAPIException
void remove() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteRange range(IRemoteRange range1, IRemoteRange range2) throws RemoteEclipseAPIException
range1
- Specifies the start of the new range.range2
- Specifies the end of the new range.
RemoteEclipseAPIException
IRemoteRange range(java.lang.String name) throws RemoteEclipseAPIException
name
- Specifies the range name of the new range. The name of range can represent a single cell, such as "A1", or represent a range containing a collection of cells, such as : "C2:E20", "B1:D10".
RemoteEclipseAPIException
IRemoteRange columns() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteRange columns(int index) throws RemoteEclipseAPIException
index
- Specifies the column index in the sheet, starting at 1.If the column index is out of bounds, this method throws an exception.
RemoteEclipseAPIException
IRemoteRange rows() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteRange rows(int index) throws RemoteEclipseAPIException
index
- Specifies the row index in the sheet, starting at 1. If the row index is out of bounds, this method throws an exception.
RemoteEclipseAPIException
IRemoteDataPilotTable dataPilotTableWizard(java.lang.String name, IRemoteRange sourceData, IRemoteRange dest) throws RemoteEclipseAPIException
name
- Specifies the name of this table.sourceData
- Specifies the range that containing data. If the range is in another sheet, this method throws an exception.dest
- Specifies the position of the DataPilot table.
RemoteEclipseAPIException
void importCSVFile(java.lang.String fileName) throws RemoteEclipseAPIException
fileName
- Specifies the source file to be imported. If the source file does not exist or is an unsupported file type, this method throws an exception.
RemoteEclipseAPIException
void importCSVFile(java.lang.String fileName, java.lang.String fieldSeperator) throws RemoteEclipseAPIException
fileName
- Specifies the source file to be imported. If the source file does not exist or is an unsupported file type, this method throws an exception.fieldSeperator
- Specifies the separator used in your data. The default value is a comma ( , ).
RemoteEclipseAPIException
void importCSVFile(java.lang.String fileName, java.lang.String fieldSeperator, java.lang.String delimiter) throws RemoteEclipseAPIException
fileName
- Specifies the source file to be imported. If the source file does not exist or is an unsupported file type, this method throws an exception.fieldSeperator
- Specifies the separator used in your data. The default value is a comma ( , ).delimiter
- Specifies a character to delimit text data. The default value is a quotation ( " ).
RemoteEclipseAPIException
void importCSVFile(java.lang.String fileName, java.lang.String fieldSeperator, java.lang.String delimiter, int firstLine) throws RemoteEclipseAPIException
fileName
- Specifies the source file to be imported. If the source file does not exist or is an unsupported file type, this method throws an exception.fieldSeperator
- Specifies the separator used in your data. The default value is a comma ( , ).delimiter
- Specifies a character to delimit text data. The default value is a quotation ( " ).firstLine
- Specifies the line number of source file, which is the first line in the new sheet. The default value is 1.
RemoteEclipseAPIException
void importCSVFile(java.lang.String fileName, java.lang.String fieldSeperator, java.lang.String delimiter, int firstLine, int importMode) throws RemoteEclipseAPIException
fileName
- Specifies the source file to be imported. If the source file does not exist or is an unsupported file type, this method throws an exception.fieldSeperator
- Specifies the separator used in your data. The default value is a comma ( , ).delimiter
- Specifies a character to delimit text data. The default value is a quotation ( " ).firstLine
- Specifies the line number of source file, which is the first line in the new sheet. The default value is 1.importMode
- Specifies whether to import data as Normal or Value and can be of type sheet import mode constant. The default value is SYMPHONY_SHEET_IMPORTMODE_NORMAL.
RemoteEclipseAPIException
void importFile(java.lang.String fileName, java.lang.String sheetName) throws RemoteEclipseAPIException
fileName
- Specifies the source spreadsheet document to import. The file format ods, ots, xls are supported. If the source file does not exist or is an unsupported file type, this method throws an exception.sheetName
- Specifies the name of the sheet to import in the source spreadsheet document .
RemoteEclipseAPIException
void importFile(java.lang.String fileName, java.lang.String sheetName, int firstLine) throws RemoteEclipseAPIException
fileName
- Specifies the source spreadsheet document to import. The file format ods, ots, xls are supported. If the source file does not exist or is an unsupported file type, this method throws an exception.sheetName
- Specifies the name of the sheet to import in the source spreadsheet document .firstLine
- Specifies the line number of source sheet, which is the first line in the new sheet. The default value is 1.
RemoteEclipseAPIException
void importFile(java.lang.String fileName, java.lang.String sheetName, int firstLine, int importMode) throws RemoteEclipseAPIException
fileName
- Specifies the source spreadsheet document to import. The file format ods, ots, xls are supported. If the source file does not exist or is an unsupported file type, this method throws an exception.sheetName
- Specifies the name of the sheet to import in the source spreadsheet document .firstLine
- Specifies the line number of source sheet, which is the first line in the new sheet. The default value is 1.importMode
- Specifies whether to import data as Normal or Value and can be of type sheet import mode constant. The default value is SYMPHONY_SHEET_IMPORTMODE_NORMAL.
RemoteEclipseAPIException
IRemoteRange cells() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteRange cells(int rowIndex) throws RemoteEclipseAPIException
rowIndex
- Specifies the row index in the sheet, starting at 1.
RemoteEclipseAPIException
IRemoteRange cells(int rowIndex, int columnIndex) throws RemoteEclipseAPIException
rowIndex
- Specifies the row index in the sheet, starting at 1.columnIndex
- Specifies the column index in the sheet, starting at 1.
RemoteEclipseAPIException
void insertRows(int rowIndex, int count, boolean isAfter) throws RemoteEclipseAPIException
rowIndex
- Specifies the index of a row before or after which new rows are inserted. The range of the index is from 1 to 65535. If the index is out of bounds, this method throws an exception.count
- Specifies the number of rows to be added.isAfter
- Specifies true to insert rows after the parameter rowIndex, or false to insert rows before the parameter rowIndex.
RemoteEclipseAPIException
void deleteRows(int rowIndex, int count, boolean isAfter) throws RemoteEclipseAPIException
rowIndex
- Specifies the index of the first row to be removed, the range of the value is from 1 to 65536.count
- Specifies the number of rows to be removed, the range of the value is from 1 to 65535. The default value is 1. If the number of rows is out of bounds, this method throws an exception.isAfter
- Specifies true to delete rows after the parameter rowIndex, or false to delete rows before the parameter rowIndex.
RemoteEclipseAPIException
void insertColumns(int columnIndex, int count, boolean isAfter) throws RemoteEclipseAPIException
columnIndex
- Specifies the index of a column before or after which new columns are inserted. The range of the index is from 1 to 1023. If the index is out of bounds, this method throws an exception.count
- Specifies the number of columns to be added. If the number of columns is out of bounds, this method throws an exception.isAfter
- Specifies true to insert columns after the parameter columnIndex, or false to insert columns before the parameter columnIndex.
RemoteEclipseAPIException
void deleteColumns(int columnIndex, int count, boolean isAfter) throws RemoteEclipseAPIException
columnIndex
- Specifies the index of the first column to be deleted, the range of the value is from 1 to 1024.count
- Specifies the number of columns to be deleted, the range of the value is from 1 to 1023. The default value is 1. If the number of columns is out of bounds, this method throws an exception.isAfter
- Specifies true to delete columns after the parameter columnIndex, or false to delete columns before the parameter columnIndex.
RemoteEclipseAPIException
IRemoteRange getSelectedRange() throws RemoteEclipseAPIException
RemoteEclipseAPIException
boolean hasFrozen() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void freezePosition(int nColumns, int nRows) throws RemoteEclipseAPIException
nColumns
- Specifies the number of columns to freeze. The range of the value is from 1 to the columns count that is visible from the screen.nRows
- Specifies the number of rows to freeze. The range of the value is from 1 to the rows count that is visible from the screen.
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |