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< 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, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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 ( css::uno::Sequence< css::uno::Any > const &  aArgs,
css::uno::Reference< css::uno::XComponentContext >const &  xContext 
)

Definition at line 35 of file vbawrapformat.cxx.

References m_xPropertySet, and m_xShape.

Member Function Documentation

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

Definition at line 168 of file vbawrapformat.cxx.

References m_xPropertySet.

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

float SAL_CALL SwVbaWrapFormat::getDistanceBottom ( )
overridevirtual

Definition at line 191 of file vbawrapformat.cxx.

References getDistance().

float SAL_CALL SwVbaWrapFormat::getDistanceLeft ( )
overridevirtual

Definition at line 201 of file vbawrapformat.cxx.

References getDistance().

float SAL_CALL SwVbaWrapFormat::getDistanceRight ( )
overridevirtual

Definition at line 211 of file vbawrapformat.cxx.

References getDistance().

float SAL_CALL SwVbaWrapFormat::getDistanceTop ( )
overridevirtual

Definition at line 181 of file vbawrapformat.cxx.

References getDistance().

OUString SwVbaWrapFormat::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > SwVbaWrapFormat::getServiceNames ( )
overridevirtual
sal_Int32 SAL_CALL SwVbaWrapFormat::getSide ( )
override

Definition at line 137 of file vbawrapformat.cxx.

References m_xPropertySet.

sal_Int32 SAL_CALL SwVbaWrapFormat::getType ( )
override

Definition at line 89 of file vbawrapformat.cxx.

References m_xPropertySet, and nType.

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

Definition at line 40 of file vbawrapformat.cxx.

References ERRCODE_BASIC_BAD_ARGUMENT, m_xPropertySet, mnSide, and mnWrapFormatType.

Referenced by setSide(), and setType().

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

Definition at line 175 of file vbawrapformat.cxx.

References m_xPropertySet.

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

void SAL_CALL SwVbaWrapFormat::setDistanceBottom ( float  _distancebottom)
overridevirtual

Definition at line 196 of file vbawrapformat.cxx.

References setDistance().

void SAL_CALL SwVbaWrapFormat::setDistanceLeft ( float  _distanceleft)
overridevirtual

Definition at line 206 of file vbawrapformat.cxx.

References setDistance().

void SAL_CALL SwVbaWrapFormat::setDistanceRight ( float  _distanceright)
overridevirtual

Definition at line 216 of file vbawrapformat.cxx.

References setDistance().

void SAL_CALL SwVbaWrapFormat::setDistanceTop ( float  _distancetop)
overridevirtual

Definition at line 186 of file vbawrapformat.cxx.

References setDistance().

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

Definition at line 162 of file vbawrapformat.cxx.

References makeWrap(), and mnSide.

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

Definition at line 131 of file vbawrapformat.cxx.

References makeWrap(), and mnWrapFormatType.

Member Data Documentation

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().

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

Definition at line 31 of file vbawrapformat.hxx.

Referenced by SwVbaWrapFormat().

sal_Int32 SwVbaWrapFormat::mnSide
private

Definition at line 34 of file vbawrapformat.hxx.

Referenced by makeWrap(), and setSide().

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: