|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Document
An interface representing an ExtenXLS WorkBook.
WorkBookHandle| Field Summary | |
|---|---|
static int |
ALLOWDUPES
|
static int |
DEBUG_HIGH
|
static int |
DEBUG_LOW
|
static int |
DEBUG_MEDIUM
|
static int |
SHAREDUPES
|
static int |
STRING_ENCODING_AUTO
|
static int |
STRING_ENCODING_COMPRESSED
|
static int |
STRING_ENCODING_UNICODE
|
| Method Summary | |
|---|---|
void |
addProperty(String name,
Object val)
add non-Excel property |
byte[] |
getBytes()
Returns a byte Array containing the valid file containing this WorkBook and associated Storages (such as VB files and PivotTables.) This is the actual file data and that can be read from and written to FileOutputStreams and ServletOutputStreams. |
ChartHandle |
getChart(String chartname)
Returns a Chart Handle |
ChartHandle[] |
getCharts()
Returns all Chart Handles contained in the WorkBook |
FormatHandle[] |
getFormats()
Returns an Array of all the FormatHandles present in the workbook |
String |
getName()
Returns the name of this WorkBook |
Object |
getProperty(String name)
get a non-Excel property |
String |
getWorkingDirectory()
Returns the directory containing the ExtenXLS.jar and extenxls.lic files. |
void |
reset()
Clears all values in a template WorkBook. |
void |
setDebugLevel(int l)
Set the Debugging level. |
void |
setDupeStringMode(int mode)
Set Duplicate String Handling Mode. |
void |
setName(String nm)
Sets the internal name of this WorkBookHandle. |
void |
setProtected(boolean b)
set the workbook to protected mode Note: the password cannot be decrypted or changed in Excel -- protection can only be set/removed using ExtenXLS |
void |
setStringEncodingMode(int mode)
Set Encoding mode of new Strings added to file. |
String |
toString()
Returns the name of this Sheet. |
StringBuffer |
writeBytes(OutputStream bbout)
|
| Field Detail |
|---|
static final int STRING_ENCODING_AUTO
static final int STRING_ENCODING_UNICODE
static final int STRING_ENCODING_COMPRESSED
static final int ALLOWDUPES
static final int SHAREDUPES
static final int DEBUG_LOW
static final int DEBUG_MEDIUM
static final int DEBUG_HIGH
| Method Detail |
|---|
Object getProperty(String name)
void addProperty(String name,
Object val)
properties - The properties to set.FormatHandle[] getFormats()
void setProtected(boolean b)
int - Default Column widthvoid setName(String nm)
WorkBook - Namevoid setDebugLevel(int l)
ChartHandle getChart(String chartname)
throws com.extentech.formats.XLS.ChartNotFoundException
com.extentech.formats.XLS.ChartNotFoundExceptionChartHandle[] getCharts()
String getName()
byte[] getBytes()
String getWorkingDirectory()
void reset()
void setStringEncodingMode(int mode)
int - String Encoding Modevoid setDupeStringMode(int mode)
int - Duplicate String Handling ModeString toString()
toString in class ObjectObject.toString()StringBuffer writeBytes(OutputStream bbout)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||