LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwVbaApplication Class Reference

#include <vbaapplication.hxx>

Inheritance diagram for SwVbaApplication:
[legend]
Collaboration diagram for SwVbaApplication:
[legend]

Public Member Functions

 SwVbaApplication (css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~SwVbaApplication () override
 
sal_uInt32 AddSink (const css::uno::Reference< ooo::vba::XSink > &xSink)
 
void RemoveSink (sal_uInt32 nNumber)
 
SwVbaWindowgetActiveSwVbaWindow ()
 
css::uno::Reference< css::uno::XComponentContext > const & getContext () const
 
virtual OUString SAL_CALL getName () override
 
virtual css::uno::Reference< ooo::vba::word::XSystem > SAL_CALL getSystem () override
 
virtual css::uno::Reference< ov::word::XDocument > SAL_CALL getActiveDocument () override
 
virtual css::uno::Reference< ov::word::XWindow > SAL_CALL getActiveWindow () override
 
virtual css::uno::Reference< ooo::vba::word::XOptions > SAL_CALL getOptions () override
 
virtual css::uno::Reference< ooo::vba::word::XSelection > SAL_CALL getSelection () override
 
virtual css::uno::Reference< ooo::vba::word::XWordBasic > SAL_CALL getWordBasic () override
 
virtual css::uno::Any SAL_CALL CommandBars (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Documents (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Addins (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Dialogs (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL ListGalleries (const css::uno::Any &aIndex) override
 
virtual sal_Bool SAL_CALL getDisplayAutoCompleteTips () override
 
virtual void SAL_CALL setDisplayAutoCompleteTips (sal_Bool _displayAutoCompleteTips) override
 
virtual sal_Int32 SAL_CALL getEnableCancelKey () override
 
virtual void SAL_CALL setEnableCancelKey (sal_Int32 _enableCancelKey) override
 
virtual sal_Int32 SAL_CALL getWindowState () override
 
virtual void SAL_CALL setWindowState (sal_Int32 _windowstate) override
 
virtual sal_Int32 SAL_CALL getWidth () override
 
virtual void SAL_CALL setWidth (sal_Int32 _width) override
 
virtual sal_Int32 SAL_CALL getHeight () override
 
virtual void SAL_CALL setHeight (sal_Int32 _height) override
 
virtual sal_Int32 SAL_CALL getLeft () override
 
virtual void SAL_CALL setLeft (sal_Int32 _left) override
 
virtual sal_Int32 SAL_CALL getTop () override
 
virtual void SAL_CALL setTop (sal_Int32 _top) override
 
virtual OUString SAL_CALL getStatusBar () override
 
virtual void SAL_CALL setStatusBar (const OUString &_statusbar) override
 
virtual css::uno::Any SAL_CALL getCustomizationContext () override
 
virtual void SAL_CALL setCustomizationContext (const css::uno::Any &_customizationcontext) override
 
virtual float SAL_CALL CentimetersToPoints (float Centimeters) override
 
virtual void SAL_CALL ShowMe () override
 
virtual void SAL_CALL Resize (sal_Int32 Width, sal_Int32 Height) override
 
virtual void SAL_CALL Move (sal_Int32 Left, sal_Int32 Top) override
 
virtual OUString SAL_CALL getIID () override
 
virtual OUString SAL_CALL GetIIDForClassItselfNotCoclass () override
 
virtual ov::TypeAndIID SAL_CALL GetConnectionPoint () override
 
virtual css::uno::Reference< ov::XConnectionPoint > SAL_CALL FindConnectionPoint () override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
virtual void SAL_CALL CallSinks (const OUString &Method, css::uno::Sequence< css::uno::Any > &Arguments) override
 
virtual css::uno::Reference< css::frame::XModel > getCurrentDocument () override
 

Private Attributes

std::vector< css::uno::Reference< ooo::vba::XSink > > mvSinks
 

Detailed Description

Definition at line 47 of file vbaapplication.hxx.

Constructor & Destructor Documentation

SwVbaApplication::SwVbaApplication ( css::uno::Reference< css::uno::XComponentContext > &  xContext)
explicit

Definition at line 135 of file vbaapplication.cxx.

SwVbaApplication::~SwVbaApplication ( )
overridevirtual

Definition at line 140 of file vbaapplication.cxx.

Member Function Documentation

uno::Any SAL_CALL SwVbaApplication::Addins ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 247 of file vbaapplication.cxx.

References uno::Any::hasValue(), and mxContext.

sal_uInt32 SwVbaApplication::AddSink ( const css::uno::Reference< ooo::vba::XSink > &  xSink)

Definition at line 145 of file vbaapplication.cxx.

References SwGlobals::ensure(), mvSinks, and SW_MOD.

void SAL_CALL SwVbaApplication::CallSinks ( const OUString &  Method,
css::uno::Sequence< css::uno::Any > &  Arguments 
)
overridevirtual

Definition at line 501 of file vbaapplication.cxx.

References i, and mvSinks.

float SAL_CALL SwVbaApplication::CentimetersToPoints ( float  Centimeters)
overridevirtual

Definition at line 414 of file vbaapplication.cxx.

References VbaApplicationBase::CentimetersToPoints().

uno::Any SAL_CALL SwVbaApplication::CommandBars ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 212 of file vbaapplication.cxx.

References VbaApplicationBase::CommandBars().

uno::Any SAL_CALL SwVbaApplication::Dialogs ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 256 of file vbaapplication.cxx.

References getCurrentDocument(), uno::Any::hasValue(), and mxContext.

uno::Any SAL_CALL SwVbaApplication::Documents ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 238 of file vbaapplication.cxx.

References uno::Any::hasValue(), and mxContext.

uno::Reference< XConnectionPoint > SAL_CALL SwVbaApplication::FindConnectionPoint ( )
overridevirtual

Definition at line 470 of file vbaapplication.cxx.

uno::Reference< word::XDocument > SAL_CALL SwVbaApplication::getActiveDocument ( )
overridevirtual

Definition at line 173 of file vbaapplication.cxx.

References getCurrentDocument(), and mxContext.

SwVbaWindow * SwVbaApplication::getActiveSwVbaWindow ( )
uno::Reference< word::XWindow > SAL_CALL SwVbaApplication::getActiveWindow ( )
overridevirtual

Definition at line 194 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

Referenced by getWindowState(), and setWindowState().

TypeAndIID SAL_CALL SwVbaApplication::GetConnectionPoint ( )
overridevirtual

Definition at line 459 of file vbaapplication.cxx.

uno::Reference< css::uno::XComponentContext > const & SwVbaApplication::getContext ( ) const

Definition at line 188 of file vbaapplication.cxx.

References mxContext.

uno::Reference< frame::XModel > SwVbaApplication::getCurrentDocument ( )
overridevirtual
uno::Any SAL_CALL SwVbaApplication::getCustomizationContext ( )
overridevirtual

Definition at line 379 of file vbaapplication.cxx.

sal_Bool SAL_CALL SwVbaApplication::getDisplayAutoCompleteTips ( )
overridevirtual

Definition at line 274 of file vbaapplication.cxx.

References SvxAutoCorrCfg::Get(), and SvxAutoCorrCfg::IsAutoTextTip().

sal_Int32 SAL_CALL SwVbaApplication::getEnableCancelKey ( )
overridevirtual

Definition at line 284 of file vbaapplication.cxx.

sal_Int32 SAL_CALL SwVbaApplication::getHeight ( )
overridevirtual

Definition at line 338 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

OUString SAL_CALL SwVbaApplication::getIID ( )
overridevirtual

Definition at line 445 of file vbaapplication.cxx.

OUString SAL_CALL SwVbaApplication::GetIIDForClassItselfNotCoclass ( )
overridevirtual

Definition at line 453 of file vbaapplication.cxx.

sal_Int32 SAL_CALL SwVbaApplication::getLeft ( )
overridevirtual

Definition at line 350 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

OUString SAL_CALL SwVbaApplication::getName ( )
overridevirtual

Definition at line 167 of file vbaapplication.cxx.

uno::Reference< word::XOptions > SAL_CALL SwVbaApplication::getOptions ( )
overridevirtual

Definition at line 206 of file vbaapplication.cxx.

References mxContext.

uno::Reference< word::XSelection > SAL_CALL SwVbaApplication::getSelection ( )
overridevirtual

Definition at line 225 of file vbaapplication.cxx.

References getCurrentDocument(), and mxContext.

OUString SwVbaApplication::getServiceImplName ( )
overridevirtual

Definition at line 477 of file vbaapplication.cxx.

uno::Sequence< OUString > SwVbaApplication::getServiceNames ( )
overridevirtual

Definition at line 483 of file vbaapplication.cxx.

References aServiceNames.

OUString SAL_CALL SwVbaApplication::getStatusBar ( )
overridevirtual

Definition at line 374 of file vbaapplication.cxx.

uno::Reference< word::XSystem > SAL_CALL SwVbaApplication::getSystem ( )
overridevirtual

Definition at line 200 of file vbaapplication.cxx.

References mxContext.

sal_Int32 SAL_CALL SwVbaApplication::getTop ( )
overridevirtual

Definition at line 362 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

sal_Int32 SAL_CALL SwVbaApplication::getWidth ( )
overridevirtual

Definition at line 326 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

sal_Int32 SAL_CALL SwVbaApplication::getWindowState ( )
overridevirtual

Definition at line 295 of file vbaapplication.cxx.

References getActiveWindow(), and nState.

uno::Reference< word::XWordBasic > SAL_CALL SwVbaApplication::getWordBasic ( )
overridevirtual

Definition at line 231 of file vbaapplication.cxx.

uno::Any SAL_CALL SwVbaApplication::ListGalleries ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 265 of file vbaapplication.cxx.

References getCurrentDocument(), uno::Any::hasValue(), and mxContext.

void SAL_CALL SwVbaApplication::Move ( sal_Int32  Left,
sal_Int32  Top 
)
overridevirtual

Definition at line 434 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SwVbaApplication::RemoveSink ( sal_uInt32  nNumber)

Definition at line 158 of file vbaapplication.cxx.

References mvSinks.

void SAL_CALL SwVbaApplication::Resize ( sal_Int32  Width,
sal_Int32  Height 
)
overridevirtual

Definition at line 424 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SAL_CALL SwVbaApplication::setCustomizationContext ( const css::uno::Any &  _customizationcontext)
overridevirtual

Definition at line 384 of file vbaapplication.cxx.

void SAL_CALL SwVbaApplication::setDisplayAutoCompleteTips ( sal_Bool  _displayAutoCompleteTips)
overridevirtual

Definition at line 279 of file vbaapplication.cxx.

References SvxAutoCorrCfg::Get(), and SvxAutoCorrCfg::SetAutoTextTip().

void SAL_CALL SwVbaApplication::setEnableCancelKey ( sal_Int32  _enableCancelKey)
overridevirtual

Definition at line 290 of file vbaapplication.cxx.

void SAL_CALL SwVbaApplication::setHeight ( sal_Int32  _height)
overridevirtual

Definition at line 344 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SAL_CALL SwVbaApplication::setLeft ( sal_Int32  _left)
overridevirtual

Definition at line 356 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SAL_CALL SwVbaApplication::setStatusBar ( const OUString &  _statusbar)
overridevirtual

Definition at line 389 of file vbaapplication.cxx.

References getCurrentDocument(), SAL_INFO, and xModel.

void SAL_CALL SwVbaApplication::setTop ( sal_Int32  _top)
overridevirtual

Definition at line 368 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SAL_CALL SwVbaApplication::setWidth ( sal_Int32  _width)
overridevirtual

Definition at line 332 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SAL_CALL SwVbaApplication::setWindowState ( sal_Int32  _windowstate)
overridevirtual

Definition at line 309 of file vbaapplication.cxx.

References getActiveWindow().

void SAL_CALL SwVbaApplication::ShowMe ( )
overridevirtual

Definition at line 419 of file vbaapplication.cxx.

Member Data Documentation

std::vector<css::uno::Reference< ooo::vba::XSink > > SwVbaApplication::mvSinks
private

Definition at line 49 of file vbaapplication.hxx.

Referenced by AddSink(), CallSinks(), and RemoveSink().


The documentation for this class was generated from the following files: