20#include <com/sun/star/embed/EmbedStates.hpp>
21#include <com/sun/star/embed/WrongStateException.hpp>
22#include <com/sun/star/lang/DisposedException.hpp>
30static bool RectanglesEqual(
const awt::Rectangle& aRect1,
const awt::Rectangle& aRect2 )
32 return ( aRect1.X == aRect2.X
33 && aRect1.Y == aRect2.Y
34 && aRect1.Width == aRect2.Width
35 && aRect1.Height == aRect2.Height );
39 const awt::Rectangle& aClipRect )
41 ::osl::MutexGuard aGuard(
m_aMutex );
43 throw lang::DisposedException();
47 throw embed::WrongStateException(
"The object is not activated inplace!",
68 const uno::Sequence< awt::KeyEvent >& )
virtual void SAL_CALL setObjectRectangles(const css::awt::Rectangle &aPosRect, const css::awt::Rectangle &aClipRect) override
css::awt::Rectangle m_aClipRectangle
css::awt::Rectangle m_aOwnRectangle
rtl::Reference< DocumentHolder > m_xDocHolder
virtual void SAL_CALL translateAccelerators(const css::uno::Sequence< css::awt::KeyEvent > &aKeys) override
virtual void SAL_CALL enableModeless(sal_Bool bEnable) override
awt::Rectangle GetRectangleInterception(const awt::Rectangle &aRect1, const awt::Rectangle &aRect2)
static bool RectanglesEqual(const awt::Rectangle &aRect1, const awt::Rectangle &aRect2)