|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjxl.WorkbookSettings
This is a bean which client applications may use to set various advanced workbook properties. Use of this bean is not mandatory, and its absence will merely result in workbooks being read/written using the default settings
Constructor Summary | |
WorkbookSettings()
Default constructor |
Method Summary | |
int |
getArrayGrowSize()
Accessor for the array grow size property |
boolean |
getDrawingsDisabled()
Gets the drawings disabled flag |
java.lang.String |
getEncoding()
Accessor for the character encoding |
boolean |
getFormulaAdjust()
Accessor for the formula adjust disabled |
jxl.biff.formula.FunctionNames |
getFunctionNames()
Gets the function names. |
boolean |
getGCDisabled()
Accessor for the disabling of garbage collection |
int |
getInitialFileSize()
Accessor for the initial file size property |
java.util.Locale |
getLocale()
Returns the locale used for the spreadsheet |
boolean |
getNamesDisabled()
Accessor for the disabling of interpretation of named ranges |
boolean |
getRationalizationDisabled()
Accessor to retrieve the rationalization flag |
void |
setArrayGrowSize(int sz)
Sets the amount of memory by which to increase the amount of memory allocated to storing the workbook data. |
void |
setEncoding(java.lang.String enc)
Sets the encoding for this workbook |
void |
setFormulaAdjust(boolean b)
Setter for the formula adjust disabled property |
void |
setInitialFileSize(int sz)
Sets the initial amount of memory allocated to store the workbook data when reading a worksheet. |
void |
setLocale(java.util.Locale l)
Sets the locale for this spreadsheet |
void |
setNamesDisabled(boolean b)
Disables the handling of names |
void |
setRationalization(boolean r)
Sets whether or not to rationalize the cell formats before writing out the sheet. |
void |
setSuppressWarnings(boolean w)
Accessor to set the suppress warnings flag. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WorkbookSettings()
Method Detail |
public int getArrayGrowSize()
public boolean getDrawingsDisabled()
public java.lang.String getEncoding()
public boolean getFormulaAdjust()
public jxl.biff.formula.FunctionNames getFunctionNames()
public boolean getGCDisabled()
public int getInitialFileSize()
public java.util.Locale getLocale()
public boolean getNamesDisabled()
public boolean getRationalizationDisabled()
public void setArrayGrowSize(int sz)
sz
- the file size in bytespublic void setEncoding(java.lang.String enc)
enc
- the encodingpublic void setFormulaAdjust(boolean b)
b
- TRUE to adjust formulas, FALSE otherwisepublic void setInitialFileSize(int sz)
sz
- the file size in bytespublic void setLocale(java.util.Locale l)
l
- the localepublic void setNamesDisabled(boolean b)
b
- TRUE to disable the names feature, FALSE otherwisepublic void setRationalization(boolean r)
r
- the rationalization flagpublic void setSuppressWarnings(boolean w)
w
- the flag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |