|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acesoft.aceoffix.excelwriter.Workbook
public class Workbook
Representing an Excel document, Workbook class is used to dynamically output the data to the Excel document and control the format and the editing of the document.
Workbook is an important class. Workbook object is the data source of AceoffixCtrl and used as the parameter of the AceoffixCtrl.bind method or the FileMakerCtrl..bind method.
Constructor Summary | |
---|---|
Workbook()
Initializes a new instance of Workbook class. |
Method Summary | |
---|---|
Sheet |
createSheet(java.lang.String newSheetName,
SheetInsertType insertType,
java.lang.String relativeSheetName)
Creates a new worksheet and returns a Sheet object. |
Sheet |
openSheet(java.lang.String sheetName)
Opens the specified worksheet and returns a Sheet object. |
void |
setDisableSheetDoubleClick(boolean disableSheetDoubleClick)
Sets or retrieves a value that indicate whether double-click is disabled in current Excel sheet. |
void |
setDisableSheetRightClick(boolean disableSheetRightClick)
Sets or retrieves a value that indicate whether right-click is disabled in current Excel sheet. |
void |
setDisableSheetSelection(boolean disableSheetSelection)
Sets or retrieves a value that indicates whether selection is disabled in worksheet. |
java.lang.String |
toString(java.lang.String enc)
Gets class name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Workbook() throws java.lang.Exception, java.io.IOException
java.lang.Exception
java.io.IOException
Method Detail |
---|
public void setDisableSheetDoubleClick(boolean disableSheetDoubleClick)
disableSheetDoubleClick
- The default value is false.public void setDisableSheetRightClick(boolean disableSheetRightClick)
disableSheetRightClick
- The default value is false.public void setDisableSheetSelection(boolean disableSheetSelection)
disableSheetSelection
- The default value is false.public java.lang.String toString(java.lang.String enc) throws java.io.IOException
java.io.IOException
public Sheet openSheet(java.lang.String sheetName) throws java.lang.Exception, java.io.IOException
sheetName The parameter of SheetName cannot be empty, and please ensure that the worksheet specified by SheetName exists.
sheetName
- The name of the Sheet. The name of the Sheet can be found on the Tab tag at the bottom of the worksheet.
java.lang.Exception
java.io.IOException
Sheet.openCell() to learn how to use openSheet method.
public Sheet createSheet(java.lang.String newSheetName, SheetInsertType insertType, java.lang.String relativeSheetName) throws java.lang.Exception, java.io.IOException
newSheetName
- The name of the new Sheet.insertType
- The new sheet position.relativeSheetName
- The sheet name of the relative sheet. The name can be found on the Tab at the bottom of the worksheet.
java.lang.Exception
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |