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 134 of file vbaapplication.cxx.

SwVbaApplication::~SwVbaApplication ( )
overridevirtual

Definition at line 139 of file vbaapplication.cxx.

Member Function Documentation

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

Definition at line 246 of file vbaapplication.cxx.

References uno::Any::hasValue().

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

Definition at line 144 of file vbaapplication.cxx.

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

Referenced by SwVbaApplicationOutgoingConnectionPoint::Advise().

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

Definition at line 500 of file vbaapplication.cxx.

References i, and mvSinks.

float SAL_CALL SwVbaApplication::CentimetersToPoints ( float  Centimeters)
overridevirtual

Definition at line 413 of file vbaapplication.cxx.

References VbaApplicationBase::CentimetersToPoints().

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

Definition at line 211 of file vbaapplication.cxx.

References VbaApplicationBase::CommandBars().

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

Definition at line 255 of file vbaapplication.cxx.

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

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

Definition at line 237 of file vbaapplication.cxx.

References uno::Any::hasValue().

Referenced by SwWordBasic::FileOpen().

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

Definition at line 469 of file vbaapplication.cxx.

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

Definition at line 193 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

Referenced by getWindowState(), and setWindowState().

TypeAndIID SAL_CALL SwVbaApplication::GetConnectionPoint ( )
overridevirtual

Definition at line 458 of file vbaapplication.cxx.

uno::Reference< css::uno::XComponentContext > const & SwVbaApplication::getContext ( ) const
uno::Reference< frame::XModel > SwVbaApplication::getCurrentDocument ( )
overridevirtual
uno::Any SAL_CALL SwVbaApplication::getCustomizationContext ( )
overridevirtual

Definition at line 378 of file vbaapplication.cxx.

sal_Bool SAL_CALL SwVbaApplication::getDisplayAutoCompleteTips ( )
overridevirtual

Definition at line 273 of file vbaapplication.cxx.

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

sal_Int32 SAL_CALL SwVbaApplication::getEnableCancelKey ( )
overridevirtual

Definition at line 283 of file vbaapplication.cxx.

sal_Int32 SAL_CALL SwVbaApplication::getHeight ( )
overridevirtual

Definition at line 337 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

OUString SAL_CALL SwVbaApplication::getIID ( )
overridevirtual

Definition at line 444 of file vbaapplication.cxx.

OUString SAL_CALL SwVbaApplication::GetIIDForClassItselfNotCoclass ( )
overridevirtual

Definition at line 452 of file vbaapplication.cxx.

sal_Int32 SAL_CALL SwVbaApplication::getLeft ( )
overridevirtual

Definition at line 349 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

OUString SAL_CALL SwVbaApplication::getName ( )
overridevirtual

Definition at line 166 of file vbaapplication.cxx.

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

Definition at line 205 of file vbaapplication.cxx.

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

Definition at line 224 of file vbaapplication.cxx.

References getCurrentDocument().

OUString SwVbaApplication::getServiceImplName ( )
overridevirtual

Definition at line 476 of file vbaapplication.cxx.

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

Definition at line 482 of file vbaapplication.cxx.

OUString SAL_CALL SwVbaApplication::getStatusBar ( )
overridevirtual

Definition at line 373 of file vbaapplication.cxx.

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

Definition at line 199 of file vbaapplication.cxx.

sal_Int32 SAL_CALL SwVbaApplication::getTop ( )
overridevirtual

Definition at line 361 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

sal_Int32 SAL_CALL SwVbaApplication::getWidth ( )
overridevirtual

Definition at line 325 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

sal_Int32 SAL_CALL SwVbaApplication::getWindowState ( )
overridevirtual

Definition at line 294 of file vbaapplication.cxx.

References getActiveWindow().

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

Definition at line 230 of file vbaapplication.cxx.

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

Definition at line 264 of file vbaapplication.cxx.

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

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

Definition at line 433 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SwVbaApplication::RemoveSink ( sal_uInt32  nNumber)

Definition at line 157 of file vbaapplication.cxx.

References mvSinks.

Referenced by SwVbaApplicationOutgoingConnectionPoint::Unadvise().

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

Definition at line 423 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

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

Definition at line 383 of file vbaapplication.cxx.

void SAL_CALL SwVbaApplication::setDisplayAutoCompleteTips ( sal_Bool  _displayAutoCompleteTips)
overridevirtual

Definition at line 278 of file vbaapplication.cxx.

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

void SAL_CALL SwVbaApplication::setEnableCancelKey ( sal_Int32  _enableCancelKey)
overridevirtual

Definition at line 289 of file vbaapplication.cxx.

void SAL_CALL SwVbaApplication::setHeight ( sal_Int32  _height)
overridevirtual

Definition at line 343 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SAL_CALL SwVbaApplication::setLeft ( sal_Int32  _left)
overridevirtual

Definition at line 355 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

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

Definition at line 388 of file vbaapplication.cxx.

References getCurrentDocument(), SAL_INFO, and xModel.

void SAL_CALL SwVbaApplication::setTop ( sal_Int32  _top)
overridevirtual

Definition at line 367 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SAL_CALL SwVbaApplication::setWidth ( sal_Int32  _width)
overridevirtual

Definition at line 331 of file vbaapplication.cxx.

References getActiveSwVbaWindow().

void SAL_CALL SwVbaApplication::setWindowState ( sal_Int32  _windowstate)
overridevirtual

Definition at line 308 of file vbaapplication.cxx.

References getActiveWindow().

void SAL_CALL SwVbaApplication::ShowMe ( )
overridevirtual

Definition at line 418 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: