org.excel4j
Class Excel

java.lang.Object
  extended by org.excel4j.Excel

public class Excel
extends java.lang.Object

Use to call excel functions.


Field Summary
static int xlretAbort
           
static int xlretFailed
           
static int xlretInvCount
           
static int xlretInvXlfn
           
static int xlretInvXloper
           
static int xlretStackOvfl
           
static int xlretSuccess
           
static int xlretUncalced
           
 
Constructor Summary
Excel()
           
 
Method Summary
static XLObject Excel4(int xlfn, XLObject[] args)
          Call an excel function.
static java.lang.String GetLastError()
          Gets the error string for the last error.
static java.lang.String GetModuleName()
          Gets the name of the module.
static void SetLastError(java.lang.String error)
          Sets the error string, which can be retrieve via [Addin]_GetLastError() function.
static int XLCallVer()
          Get the excel version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xlretSuccess

public static final int xlretSuccess
See Also:
Constant Field Values

xlretAbort

public static final int xlretAbort
See Also:
Constant Field Values

xlretInvXlfn

public static final int xlretInvXlfn
See Also:
Constant Field Values

xlretInvCount

public static final int xlretInvCount
See Also:
Constant Field Values

xlretInvXloper

public static final int xlretInvXloper
See Also:
Constant Field Values

xlretStackOvfl

public static final int xlretStackOvfl
See Also:
Constant Field Values

xlretFailed

public static final int xlretFailed
See Also:
Constant Field Values

xlretUncalced

public static final int xlretUncalced
See Also:
Constant Field Values
Constructor Detail

Excel

public Excel()
Method Detail

Excel4

public static XLObject Excel4(int xlfn,
                              XLObject[] args)
Call an excel function.

Parameters:
xlfn - The function number.
args - The args.
Returns:
XLObject.

XLCallVer

public static int XLCallVer()
Get the excel version.

Returns:
int.

SetLastError

public static void SetLastError(java.lang.String error)
Sets the error string, which can be retrieve via [Addin]_GetLastError() function.

Parameters:
error. -

GetLastError

public static java.lang.String GetLastError()
Gets the error string for the last error.

Returns:
String.

GetModuleName

public static java.lang.String GetModuleName()
Gets the name of the module.

Returns:
String.