|
Holger's Java API |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OOCalc | |
|---|---|
| com.antelmann.ooffice | The classes in this package are to be used in conjunction with OpenOffice. |
| Uses of OOCalc in com.antelmann.ooffice |
|---|
| Methods in com.antelmann.ooffice that return OOCalc | |
|---|---|
static OOCalc |
OOCalc.getActiveDocument()
seeks the currently active document on the desktop (if any) and returns it |
OOCalc |
OfficeComponent.getCalc()
a convenience method that accesses the embedded office component as an OOSpreadsheet instance; this only works if indeed a Calc document was previously loaded |
static OOCalc |
OOCalc.open(File file,
boolean readOnly,
boolean previewMode)
opens a document with the specified options |
static OOCalc |
OOCalc.openFile(File file)
opens a document for editing |
static OOCalc |
OOCalc.openFile(File file,
boolean hidden)
opens a document for editing |
static OOCalc |
OOCalc.openReadOnly(File file)
opens a document in read-only mode |
| Methods in com.antelmann.ooffice with parameters of type OOCalc | |
|---|---|
static void |
Cell.Format.applyFormat(OOCalc calc,
Object cellOrRange,
int formatNumber)
|
void |
Cell.Format.applyTo(OOCalc calc,
Object cellOrRange)
|
void |
Cell.Format.applyTo(OOCalc calc,
Object cellOrRange,
Locale locale)
works for XCell or XCellRange objects |
String |
Cell.Location.getFullCellAddress(OOCalc calc)
|
static int |
Cell.Format.getNumberFormat(OOCalc calc,
String numberFormatString)
|
static int |
Cell.Format.getNumberFormat(OOCalc calc,
String numberFormatString,
Locale locale)
|
Cell |
Cell.Location.toCell(OOCalc calc)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||