LibreOffice Module sw (master) 1
|
#include <vbaapplication.hxx>
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) |
rtl::Reference< SwVbaWindow > | getActiveSwVbaWindow () |
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 float SAL_CALL | PointsToCentimeters (float Points) override |
virtual float SAL_CALL | PixelsToPoints (float Pixels, ::sal_Bool fVertical) override |
virtual float SAL_CALL | PointsToPixels (float Pixels, ::sal_Bool fVertical) override |
virtual float SAL_CALL | InchesToPoints (float Inches) override |
virtual float SAL_CALL | PointsToInches (float Points) override |
virtual float SAL_CALL | MillimetersToPoints (float Millimeters) override |
virtual float SAL_CALL | PointsToMillimeters (float Points) override |
virtual float SAL_CALL | PicasToPoints (float Picas) override |
virtual float SAL_CALL | PointsToPicas (float Points) 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 |
Definition at line 48 of file vbaapplication.hxx.
|
explicit |
Definition at line 76 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 81 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 188 of file vbaapplication.cxx.
sal_uInt32 SwVbaApplication::AddSink | ( | const css::uno::Reference< ooo::vba::XSink > & | xSink | ) |
Definition at line 86 of file vbaapplication.cxx.
References SwGlobals::ensure(), mvSinks, SW_MOD, and xSink.
|
overridevirtual |
Definition at line 500 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 355 of file vbaapplication.cxx.
References o3tl::cm, o3tl::convert(), and o3tl::pt.
|
overridevirtual |
Definition at line 153 of file vbaapplication.cxx.
References aIndex, and VbaApplicationBase::CommandBars().
|
overridevirtual |
Definition at line 197 of file vbaapplication.cxx.
References getCurrentDocument(), index, and mxContext.
|
overridevirtual |
Definition at line 179 of file vbaapplication.cxx.
References index, and mxContext.
Referenced by SwWordBasic::FileOpen().
|
overridevirtual |
Definition at line 469 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 114 of file vbaapplication.cxx.
References getCurrentDocument(), and mxContext.
Referenced by SwWordBasic::ExistingBookmark(), and SwWordBasic::MailMergeOpenDataSource().
rtl::Reference< SwVbaWindow > SwVbaApplication::getActiveSwVbaWindow | ( | ) |
Definition at line 120 of file vbaapplication.cxx.
References getCurrentDocument(), mxContext, xController, and xModel.
Referenced by getActiveWindow(), getHeight(), getLeft(), getTop(), getWidth(), Move(), Resize(), setHeight(), setLeft(), setTop(), setWidth(), and SwWordBasic::WindowName().
|
overridevirtual |
Definition at line 135 of file vbaapplication.cxx.
References getActiveSwVbaWindow().
Referenced by getWindowState(), and setWindowState().
|
overridevirtual |
Definition at line 458 of file vbaapplication.cxx.
References cppu::UnoType< typename T >::get().
uno::Reference< css::uno::XComponentContext > const & SwVbaApplication::getContext | ( | ) | const |
Definition at line 129 of file vbaapplication.cxx.
References mxContext.
Referenced by SwWordBasic::getMailMergeMainDocumentType(), and SwWordBasic::setMailMergeMainDocumentType().
|
overridevirtual |
Definition at line 492 of file vbaapplication.cxx.
References getCurrentWordDoc(), and mxContext.
Referenced by Dialogs(), SwWordBasic::FileClose(), SwWordBasic::FileSave(), SwWordBasic::FileSaveAs(), getActiveDocument(), getActiveSwVbaWindow(), getSelection(), ListGalleries(), PixelsToPoints(), PointsToPixels(), and setStatusBar().
|
overridevirtual |
Definition at line 320 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 215 of file vbaapplication.cxx.
References SvxAutoCorrCfg::Get(), and SvxAutoCorrCfg::IsAutoTextTip().
|
overridevirtual |
Definition at line 225 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 279 of file vbaapplication.cxx.
References getActiveSwVbaWindow().
|
overridevirtual |
Definition at line 444 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 452 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 291 of file vbaapplication.cxx.
References getActiveSwVbaWindow().
|
overridevirtual |
Definition at line 108 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 147 of file vbaapplication.cxx.
References mxContext.
|
overridevirtual |
Definition at line 166 of file vbaapplication.cxx.
References getCurrentDocument(), and mxContext.
|
overridevirtual |
Definition at line 476 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 482 of file vbaapplication.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 315 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 141 of file vbaapplication.cxx.
References mxContext.
|
overridevirtual |
Definition at line 303 of file vbaapplication.cxx.
References getActiveSwVbaWindow().
|
overridevirtual |
Definition at line 267 of file vbaapplication.cxx.
References getActiveSwVbaWindow().
|
overridevirtual |
Definition at line 236 of file vbaapplication.cxx.
References getActiveWindow(), and nState.
|
overridevirtual |
Definition at line 172 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 388 of file vbaapplication.cxx.
References o3tl::convert(), o3tl::in, and o3tl::pt.
|
overridevirtual |
Definition at line 206 of file vbaapplication.cxx.
References getCurrentDocument(), index, and mxContext.
|
overridevirtual |
Definition at line 398 of file vbaapplication.cxx.
References o3tl::convert(), o3tl::mm, and o3tl::pt.
|
overridevirtual |
Definition at line 433 of file vbaapplication.cxx.
References getActiveSwVbaWindow(), Left, and Top.
|
overridevirtual |
Definition at line 408 of file vbaapplication.cxx.
References o3tl::convert(), o3tl::pc, and o3tl::pt.
|
overridevirtual |
Definition at line 365 of file vbaapplication.cxx.
References getCurrentDocument(), ooo::vba::PixelsToPoints(), xController, xFrame, and xModel.
|
overridevirtual |
Definition at line 360 of file vbaapplication.cxx.
References o3tl::cm, o3tl::convert(), and o3tl::pt.
|
overridevirtual |
Definition at line 393 of file vbaapplication.cxx.
References o3tl::convert(), o3tl::in, and o3tl::pt.
|
overridevirtual |
Definition at line 403 of file vbaapplication.cxx.
References o3tl::convert(), o3tl::mm, and o3tl::pt.
|
overridevirtual |
Definition at line 413 of file vbaapplication.cxx.
References o3tl::convert(), o3tl::pc, and o3tl::pt.
|
overridevirtual |
Definition at line 377 of file vbaapplication.cxx.
References getCurrentDocument(), ooo::vba::PointsToPixels(), xController, xFrame, and xModel.
void SwVbaApplication::RemoveSink | ( | sal_uInt32 | nNumber | ) |
Definition at line 99 of file vbaapplication.cxx.
References mvSinks.
|
overridevirtual |
Definition at line 423 of file vbaapplication.cxx.
References getActiveSwVbaWindow(), Height, and Width.
|
overridevirtual |
Definition at line 325 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 220 of file vbaapplication.cxx.
References SvxAutoCorrCfg::Get(), and SvxAutoCorrCfg::SetAutoTextTip().
|
overridevirtual |
Definition at line 231 of file vbaapplication.cxx.
|
overridevirtual |
Definition at line 285 of file vbaapplication.cxx.
References getActiveSwVbaWindow().
|
overridevirtual |
Definition at line 297 of file vbaapplication.cxx.
References getActiveSwVbaWindow().
|
overridevirtual |
Definition at line 330 of file vbaapplication.cxx.
References getCurrentDocument(), SAL_INFO, and xModel.
|
overridevirtual |
Definition at line 309 of file vbaapplication.cxx.
References getActiveSwVbaWindow().
|
overridevirtual |
Definition at line 273 of file vbaapplication.cxx.
References getActiveSwVbaWindow().
|
overridevirtual |
Definition at line 250 of file vbaapplication.cxx.
References getActiveWindow().
|
overridevirtual |
Definition at line 418 of file vbaapplication.cxx.
|
private |
Definition at line 50 of file vbaapplication.hxx.
Referenced by AddSink(), CallSinks(), and RemoveSink().