issues
search
zspitz
/
ts-activex-gen
Library + UI for generating Typescript definitions / DefinitelyTyped packages from COM type libraries / LibreOffice Doxygen XML
MIT License
12
stars
4
forks
source link
Mappings table for Automation <-> UNO <-> JScript types
#61
Open
zspitz
opened
7 years ago
zspitz
commented
7 years ago
Automation IDL Types
UNO IDL Types
JScript Types
RhinoJS Types
boolean
boolean
boolean
??
unsigned char
byte
??
??
double
double
number
float
float
short
short
unsigned short
long
long
unsigned long
BSTR
string
string
short
char
??
??
long
enum
number?
number?
IDispatch
com.sun.star.script.XInvocation
, UNO interface
any?
N/A
struct
sequence<
type
>
type
IUnknown
com.sun.star.uno.XInterface
SAFEARRAY(VARIANT)
SAFEARRAY(
type
)
sequence<
type
>
type
[]
SAFEARRAY(VARIANT)
SAFEARRAY(
type
)
type
[] ??
DATE
com.sun.star.bridge.oleautomation.Date
CY
com.sun.star.bridge.oleautomation.Currency
Decimal
com.sun.star.bridge.oleautomation.Decimal
SCODE
com.sun.star.bridge.oleautomation.SCode
VARIANT
all of the above types or any
all of the above types
any
SAFEARRAY(type)
SAFEARRAY(VARIANT)
SAFEARRAY(type)