LibreOffice Module extensions (master) 1
Macros | Functions
SOActiveX.cxx File Reference
#include "StdAfx2.h"
#include <so_activex.h>
#include "SOActiveX.h"
#include "SOComWindowPeer.h"
#include "SODispatchInterceptor.h"
#include "SOActionsApproval.h"
#include "com_uno_helper.h"
Include dependency graph for SOActiveX.cxx:

Go to the source code of this file.

Macros

#define STAROFFICE_WINDOWCLASS   L"SOParentWindow"
 

Functions

static void OutputError_Impl (HWND hw, HRESULT ErrorCode)
 
HRESULT ExecuteFunc (IDispatch *idispUnoObject, OLECHAR const *sFuncName, CComVariant *params, unsigned int count, CComVariant *pResult)
 
static HRESULT GetIDispByFunc (IDispatch *idispUnoObject, OLECHAR const *sFuncName, CComVariant *params, unsigned int count, CComPtr< IDispatch > &pdispResult)
 
static HRESULT PutPropertiesToIDisp (IDispatch *pdispObject, OLECHAR const **sMemberNames, CComVariant *pVariant, unsigned int count)
 
HRESULT GetPropertiesFromIDisp (IDispatch *pdispObject, OLECHAR const **sMemberNames, CComVariant *pVariant, unsigned int count)
 

Macro Definition Documentation

◆ STAROFFICE_WINDOWCLASS

#define STAROFFICE_WINDOWCLASS   L"SOParentWindow"

Definition at line 30 of file SOActiveX.cxx.

Function Documentation

◆ ExecuteFunc()

HRESULT ExecuteFunc ( IDispatch *  idispUnoObject,
OLECHAR const *  sFuncName,
CComVariant *  params,
unsigned int  count,
CComVariant *  pResult 
)

◆ GetIDispByFunc()

static HRESULT GetIDispByFunc ( IDispatch *  idispUnoObject,
OLECHAR const *  sFuncName,
CComVariant *  params,
unsigned int  count,
CComPtr< IDispatch > &  pdispResult 
)
static

◆ GetPropertiesFromIDisp()

HRESULT GetPropertiesFromIDisp ( IDispatch *  pdispObject,
OLECHAR const **  sMemberNames,
CComVariant *  pVariant,
unsigned int  count 
)

◆ OutputError_Impl()

static void OutputError_Impl ( HWND  hw,
HRESULT  ErrorCode 
)
static

Definition at line 33 of file SOActiveX.cxx.

References sMessage.

Referenced by CSOActiveX::CSOActiveX(), and CSOActiveX::OnDrawAdvanced().

◆ PutPropertiesToIDisp()

static HRESULT PutPropertiesToIDisp ( IDispatch *  pdispObject,
OLECHAR const **  sMemberNames,
CComVariant *  pVariant,
unsigned int  count 
)
static