ActiveX control representing document api

This commit is contained in:
Mikhail Voitenko 2003-08-05 06:59:56 +00:00
parent 7faa14500b
commit f3c4e60867

View file

@ -0,0 +1,57 @@
#include "initwindowpeer.hxx"
using namespace ::com::sun::star;
uno::Any SAL_CALL InitWindowPeer::getWindowHandle( const uno::Sequence< sal_Int8 >& ProcessId, sal_Int16 SystemType )
throw ( uno::RuntimeException )
{
uno::Any aRes;
sal_Int32 nHwnd = (sal_Int32)m_hwnd;
aRes <<= nHwnd;
return aRes;
}
uno::Reference< awt::XToolkit > SAL_CALL InitWindowPeer::getToolkit()
throw ( uno::RuntimeException )
{
return uno::Reference< awt::XToolkit >();
}
void SAL_CALL InitWindowPeer::setPointer( const uno::Reference< awt::XPointer >& Pointer )
throw ( uno::RuntimeException )
{
}
void SAL_CALL InitWindowPeer::setBackground( sal_Int32 Color )
throw ( uno::RuntimeException )
{
}
void SAL_CALL InitWindowPeer::invalidate( sal_Int16 Flags )
throw ( uno::RuntimeException )
{
}
void SAL_CALL InitWindowPeer::invalidateRect( const awt::Rectangle& Rect, sal_Int16 Flags )
throw ( uno::RuntimeException )
{
}
void SAL_CALL InitWindowPeer::dispose()
throw ( uno::RuntimeException )
{
}
void SAL_CALL InitWindowPeer::addEventListener( const uno::Reference< lang::XEventListener >& xListener )
throw ( uno::RuntimeException )
{
}
void SAL_CALL InitWindowPeer::removeEventListener( const uno::Reference< lang::XEventListener >& aListener )
throw ( uno::RuntimeException )
{
}