public class SpreadsheetDocument
extends java.lang.Object
Constructor and Description |
---|
SpreadsheetDocument(com.sun.star.lang.XComponent document)
Creates a new instance of SpreadsheetDocument.
|
Modifier and Type | Method and Description |
---|---|
void |
addBasicModule(java.lang.String module,
java.lang.String macros)
Adds a module of BASIC macros to the document.
|
int |
getRowHeight()
Returns the height of the rows.
|
java.awt.Dimension |
getWindowSize()
Returns the size of the window.
|
void |
runBasicMacro(java.lang.String module,
java.lang.String macro,
java.lang.Object[] param)
Runs a BASIC macro of the document.
|
public SpreadsheetDocument(com.sun.star.lang.XComponent document)
document
- the document componentpublic void addBasicModule(java.lang.String module, java.lang.String macros)
module
- the name of the module.macros
- the content of the modulepublic void runBasicMacro(java.lang.String module, java.lang.String macro, java.lang.Object[] param)
module
- the name of the module of the macro.macro
- the name of the macro.param
- the parameters for the macropublic java.awt.Dimension getWindowSize()
public int getRowHeight()