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

#include <vbawrapformat.hxx>

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

Public Member Functions

 SwVbaWrapFormat (css::uno::Sequence< css::uno::Any > const &aArgs, css::uno::Reference< css::uno::XComponentContext >const &xContext)
 
virtual ::sal_Int32 SAL_CALL getType () override
 
virtual void SAL_CALL setType (::sal_Int32 _type) override
 
virtual ::sal_Int32 SAL_CALL getSide () override
 
virtual void SAL_CALL setSide (::sal_Int32 _side) override
 
virtual float SAL_CALL getDistanceTop () override
 
virtual void SAL_CALL setDistanceTop (float _distancetop) override
 
virtual float SAL_CALL getDistanceBottom () override
 
virtual void SAL_CALL setDistanceBottom (float _distancebottom) override
 
virtual float SAL_CALL getDistanceLeft () override
 
virtual void SAL_CALL setDistanceLeft (float _distanceleft) override
 
virtual float SAL_CALL getDistanceRight () override
 
virtual void SAL_CALL setDistanceRight (float _distanceright) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

void makeWrap ()
 
float getDistance (const OUString &sName)
 
void setDistance (const OUString &sName, float _distance)
 

Private Attributes

css::uno::Reference< css::drawing::XShape > m_xShape
 
css::uno::Reference< css::beans::XPropertySetm_xPropertySet
 
sal_Int32 mnWrapFormatType
 
sal_Int32 mnSide
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 28 of file vbawrapformat.hxx.

Constructor & Destructor Documentation

◆ SwVbaWrapFormat()

SwVbaWrapFormat::SwVbaWrapFormat ( css::uno::Sequence< css::uno::Any > const &  aArgs,
css::uno::Reference< css::uno::XComponentContext >const &  xContext 
)

Definition at line 33 of file vbawrapformat.cxx.

References getXSomethingFromArgs(), m_xPropertySet, and m_xShape.

Member Function Documentation

◆ getDistance()

float SwVbaWrapFormat::getDistance ( const OUString &  sName)
private
Exceptions
css::uno::RuntimeException

Definition at line 166 of file vbawrapformat.cxx.

References m_xPropertySet, and sName.

Referenced by getDistanceBottom(), getDistanceLeft(), getDistanceRight(), and getDistanceTop().

◆ getDistanceBottom()

float SAL_CALL SwVbaWrapFormat::getDistanceBottom ( )
overridevirtual

Definition at line 189 of file vbawrapformat.cxx.

References getDistance().

◆ getDistanceLeft()

float SAL_CALL SwVbaWrapFormat::getDistanceLeft ( )
overridevirtual

Definition at line 199 of file vbawrapformat.cxx.

References getDistance().

◆ getDistanceRight()

float SAL_CALL SwVbaWrapFormat::getDistanceRight ( )
overridevirtual

Definition at line 209 of file vbawrapformat.cxx.

References getDistance().

◆ getDistanceTop()

float SAL_CALL SwVbaWrapFormat::getDistanceTop ( )
overridevirtual

Definition at line 179 of file vbawrapformat.cxx.

References getDistance().

◆ getServiceImplName()

OUString SwVbaWrapFormat::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ getSide()

sal_Int32 SAL_CALL SwVbaWrapFormat::getSide ( )
override

Definition at line 135 of file vbawrapformat.cxx.

References m_xPropertySet.

◆ getType()

sal_Int32 SAL_CALL SwVbaWrapFormat::getType ( )
override

Definition at line 87 of file vbawrapformat.cxx.

References m_xPropertySet, and nType.

◆ makeWrap()

void SwVbaWrapFormat::makeWrap ( )
private
Exceptions
css::uno::RuntimeException

Definition at line 38 of file vbawrapformat.cxx.

References ERRCODE_BASIC_BAD_ARGUMENT, m_xPropertySet, mnSide, and mnWrapFormatType.

Referenced by setSide(), and setType().

◆ setDistance()

void SwVbaWrapFormat::setDistance ( const OUString &  sName,
float  _distance 
)
private
Exceptions
css::uno::RuntimeException

Definition at line 173 of file vbawrapformat.cxx.

References m_xPropertySet, and sName.

Referenced by setDistanceBottom(), setDistanceLeft(), setDistanceRight(), and setDistanceTop().

◆ setDistanceBottom()

void SAL_CALL SwVbaWrapFormat::setDistanceBottom ( float  _distancebottom)
overridevirtual

Definition at line 194 of file vbawrapformat.cxx.

References setDistance().

◆ setDistanceLeft()

void SAL_CALL SwVbaWrapFormat::setDistanceLeft ( float  _distanceleft)
overridevirtual

Definition at line 204 of file vbawrapformat.cxx.

References setDistance().

◆ setDistanceRight()

void SAL_CALL SwVbaWrapFormat::setDistanceRight ( float  _distanceright)
overridevirtual

Definition at line 214 of file vbawrapformat.cxx.

References setDistance().

◆ setDistanceTop()

void SAL_CALL SwVbaWrapFormat::setDistanceTop ( float  _distancetop)
overridevirtual

Definition at line 184 of file vbawrapformat.cxx.

References setDistance().

◆ setSide()

void SAL_CALL SwVbaWrapFormat::setSide ( ::sal_Int32  _side)
overridevirtual

Definition at line 160 of file vbawrapformat.cxx.

References makeWrap(), and mnSide.

◆ setType()

void SAL_CALL SwVbaWrapFormat::setType ( ::sal_Int32  _type)
overridevirtual

Definition at line 129 of file vbawrapformat.cxx.

References makeWrap(), and mnWrapFormatType.

Member Data Documentation

◆ m_xPropertySet

css::uno::Reference< css::beans::XPropertySet > SwVbaWrapFormat::m_xPropertySet
private

Definition at line 32 of file vbawrapformat.hxx.

Referenced by getDistance(), getSide(), getType(), makeWrap(), setDistance(), and SwVbaWrapFormat().

◆ m_xShape

css::uno::Reference< css::drawing::XShape > SwVbaWrapFormat::m_xShape
private

Definition at line 31 of file vbawrapformat.hxx.

Referenced by SwVbaWrapFormat().

◆ mnSide

sal_Int32 SwVbaWrapFormat::mnSide
private

Definition at line 34 of file vbawrapformat.hxx.

Referenced by makeWrap(), and setSide().

◆ mnWrapFormatType

sal_Int32 SwVbaWrapFormat::mnWrapFormatType
private

Definition at line 33 of file vbawrapformat.hxx.

Referenced by makeWrap(), and setType().


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