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

#include <vbaglobals.hxx>

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

Public Member Functions

 SwVbaGlobals (css::uno::Sequence< css::uno::Any > const &aArgs, css::uno::Reference< css::uno::XComponentContext > const &rxContext)
 
virtual ~SwVbaGlobals () override
 
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::XGlobals > SAL_CALL getWord () 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 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 css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 

Private Member Functions

css::uno::Reference< ooo::vba::word::XApplication > const & getApplication ()
 

Private Attributes

css::uno::Reference< ooo::vba::word::XApplication > mxApplication
 

Detailed Description

Definition at line 33 of file vbaglobals.hxx.

Constructor & Destructor Documentation

◆ SwVbaGlobals()

SwVbaGlobals::SwVbaGlobals ( css::uno::Sequence< css::uno::Any > const &  aArgs,
css::uno::Reference< css::uno::XComponentContext > const &  rxContext 
)

Definition at line 32 of file vbaglobals.cxx.

References getApplication(), init(), Reference, and SAL_INFO.

◆ ~SwVbaGlobals()

SwVbaGlobals::~SwVbaGlobals ( )
overridevirtual

Definition at line 47 of file vbaglobals.cxx.

References SAL_INFO.

Member Function Documentation

◆ Addins()

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

Definition at line 107 of file vbaglobals.cxx.

References getApplication(), and index.

◆ CentimetersToPoints()

float SAL_CALL SwVbaGlobals::CentimetersToPoints ( float  Centimeters)
overridevirtual

Definition at line 143 of file vbaglobals.cxx.

References getApplication().

◆ CommandBars()

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

Definition at line 95 of file vbaglobals.cxx.

References aIndex, and getApplication().

◆ Dialogs()

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

Definition at line 113 of file vbaglobals.cxx.

References getApplication(), and index.

◆ Documents()

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

Definition at line 101 of file vbaglobals.cxx.

References getApplication(), and index.

◆ getActiveDocument()

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

Definition at line 71 of file vbaglobals.cxx.

References getApplication().

◆ getActiveWindow()

uno::Reference< word::XWindow > SAL_CALL SwVbaGlobals::getActiveWindow ( )
overridevirtual

Definition at line 77 of file vbaglobals.cxx.

References getApplication().

◆ getApplication()

uno::Reference< word::XApplication > const & SwVbaGlobals::getApplication ( )
private

◆ getAvailableServiceNames()

uno::Sequence< OUString > SwVbaGlobals::getAvailableServiceNames ( )
overridevirtual

Definition at line 206 of file vbaglobals.cxx.

References comphelper::concatSequences().

◆ getName()

OUString SAL_CALL SwVbaGlobals::getName ( )
overridevirtual

Definition at line 83 of file vbaglobals.cxx.

References getApplication().

◆ getOptions()

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

Definition at line 89 of file vbaglobals.cxx.

References getApplication().

◆ getSelection()

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

Definition at line 125 of file vbaglobals.cxx.

References getApplication().

◆ getServiceImplName()

OUString SwVbaGlobals::getServiceImplName ( )
overridevirtual

Definition at line 194 of file vbaglobals.cxx.

◆ getServiceNames()

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

Definition at line 200 of file vbaglobals.cxx.

◆ getSystem()

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

Definition at line 65 of file vbaglobals.cxx.

References getApplication().

◆ getWord()

uno::Reference< word::XGlobals > SwVbaGlobals::getWord ( )
overridevirtual

Definition at line 130 of file vbaglobals.cxx.

◆ getWordBasic()

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

Definition at line 135 of file vbaglobals.cxx.

References sw::proofreadingiterator::get(), and getApplication().

◆ InchesToPoints()

float SAL_CALL SwVbaGlobals::InchesToPoints ( float  Inches)
overridevirtual

Definition at line 163 of file vbaglobals.cxx.

References getApplication().

◆ ListGalleries()

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

Definition at line 119 of file vbaglobals.cxx.

References getApplication(), and index.

◆ MillimetersToPoints()

float SAL_CALL SwVbaGlobals::MillimetersToPoints ( float  Millimeters)
overridevirtual

Definition at line 173 of file vbaglobals.cxx.

References getApplication().

◆ PicasToPoints()

float SAL_CALL SwVbaGlobals::PicasToPoints ( float  Picas)
overridevirtual

Definition at line 183 of file vbaglobals.cxx.

References getApplication().

◆ PixelsToPoints()

float SAL_CALL SwVbaGlobals::PixelsToPoints ( float  Pixels,
::sal_Bool  fVertical 
)
overridevirtual

Definition at line 153 of file vbaglobals.cxx.

References getApplication().

◆ PointsToCentimeters()

float SAL_CALL SwVbaGlobals::PointsToCentimeters ( float  Points)
overridevirtual

Definition at line 148 of file vbaglobals.cxx.

References getApplication().

◆ PointsToInches()

float SAL_CALL SwVbaGlobals::PointsToInches ( float  Points)
overridevirtual

Definition at line 168 of file vbaglobals.cxx.

References getApplication().

◆ PointsToMillimeters()

float SAL_CALL SwVbaGlobals::PointsToMillimeters ( float  Points)
overridevirtual

Definition at line 178 of file vbaglobals.cxx.

References getApplication().

◆ PointsToPicas()

float SAL_CALL SwVbaGlobals::PointsToPicas ( float  Points)
overridevirtual

Definition at line 188 of file vbaglobals.cxx.

References getApplication().

◆ PointsToPixels()

float SAL_CALL SwVbaGlobals::PointsToPixels ( float  Pixels,
::sal_Bool  fVertical 
)
overridevirtual

Definition at line 158 of file vbaglobals.cxx.

References getApplication().

Member Data Documentation

◆ mxApplication

css::uno::Reference<ooo::vba::word::XApplication> SwVbaGlobals::mxApplication
private

Definition at line 36 of file vbaglobals.hxx.

Referenced by getApplication().


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