LibreOffice Module vbahelper (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VbaTextFrame Class Reference

#include <vbatextframe.hxx>

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

Public Member Functions

 VbaTextFrame (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::drawing::XShape > xShape)
 
virtual sal_Bool SAL_CALL getAutoSize () override
 
virtual void SAL_CALL setAutoSize (sal_Bool _autosize) override
 
virtual float SAL_CALL getMarginBottom () override
 
virtual void SAL_CALL setMarginBottom (float _marginbottom) override
 
virtual float SAL_CALL getMarginTop () override
 
virtual void SAL_CALL setMarginTop (float _margintop) override
 
virtual float SAL_CALL getMarginLeft () override
 
virtual void SAL_CALL setMarginLeft (float _marginleft) override
 
virtual float SAL_CALL getMarginRight () override
 
virtual void SAL_CALL setMarginRight (float _marginright) override
 
virtual css::uno::Any SAL_CALL Characters () 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, 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
 

Protected Member Functions

virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
void setAsMSObehavior ()
 
sal_Int32 getMargin (const OUString &sMarginType)
 
void setMargin (const OUString &sMarginType, float fMargin)
 

Protected Attributes

css::uno::Reference< css::drawing::XShape > m_xShape
 
css::uno::Reference< css::beans::XPropertySetm_xPropertySet
 
- 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 47 of file vbatextframe.hxx.

Constructor & Destructor Documentation

◆ VbaTextFrame()

VbaTextFrame::VbaTextFrame ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
css::uno::Reference< css::drawing::XShape >  xShape 
)

Definition at line 29 of file vbatextframe.cxx.

References m_xPropertySet, and m_xShape.

Member Function Documentation

◆ Characters()

uno::Any SAL_CALL VbaTextFrame::Characters ( )
overridevirtual

Definition at line 137 of file vbatextframe.cxx.

◆ getAutoSize()

sal_Bool SAL_CALL VbaTextFrame::getAutoSize ( )
overridevirtual

Definition at line 60 of file vbatextframe.cxx.

References m_xPropertySet.

◆ getMargin()

sal_Int32 VbaTextFrame::getMargin ( const OUString &  sMarginType)
protected

Definition at line 44 of file vbatextframe.cxx.

References m_xPropertySet.

Referenced by getMarginBottom(), getMarginLeft(), getMarginRight(), and getMarginTop().

◆ getMarginBottom()

float SAL_CALL VbaTextFrame::getMarginBottom ( )
overridevirtual

Definition at line 79 of file vbatextframe.cxx.

References getMargin().

◆ getMarginLeft()

float SAL_CALL VbaTextFrame::getMarginLeft ( )
overridevirtual

Definition at line 107 of file vbatextframe.cxx.

References getMargin().

◆ getMarginRight()

float SAL_CALL VbaTextFrame::getMarginRight ( )
overridevirtual

Definition at line 121 of file vbatextframe.cxx.

References getMargin().

◆ getMarginTop()

float SAL_CALL VbaTextFrame::getMarginTop ( )
overridevirtual

Definition at line 93 of file vbatextframe.cxx.

References getMargin().

◆ getServiceImplName()

OUString VbaTextFrame::getServiceImplName ( )
overrideprotectedvirtual

◆ getServiceNames()

uno::Sequence< OUString > VbaTextFrame::getServiceNames ( )
overrideprotectedvirtual

◆ setAsMSObehavior()

void VbaTextFrame::setAsMSObehavior ( )
protected

Definition at line 35 of file vbatextframe.cxx.

References m_xPropertySet.

Referenced by setAutoSize().

◆ setAutoSize()

void SAL_CALL VbaTextFrame::setAutoSize ( sal_Bool  _autosize)
overridevirtual

Definition at line 72 of file vbatextframe.cxx.

References m_xPropertySet, and setAsMSObehavior().

◆ setMargin()

void VbaTextFrame::setMargin ( const OUString &  sMarginType,
float  fMargin 
)
protected

Definition at line 52 of file vbatextframe.cxx.

References m_xPropertySet.

Referenced by setMarginBottom(), setMarginLeft(), setMarginRight(), and setMarginTop().

◆ setMarginBottom()

void SAL_CALL VbaTextFrame::setMarginBottom ( float  _marginbottom)
overridevirtual

Definition at line 87 of file vbatextframe.cxx.

References setMargin().

◆ setMarginLeft()

void SAL_CALL VbaTextFrame::setMarginLeft ( float  _marginleft)
overridevirtual

Definition at line 115 of file vbatextframe.cxx.

References setMargin().

◆ setMarginRight()

void SAL_CALL VbaTextFrame::setMarginRight ( float  _marginright)
overridevirtual

Definition at line 129 of file vbatextframe.cxx.

References setMargin().

◆ setMarginTop()

void SAL_CALL VbaTextFrame::setMarginTop ( float  _margintop)
overridevirtual

Definition at line 101 of file vbatextframe.cxx.

References setMargin().

Member Data Documentation

◆ m_xPropertySet

css::uno::Reference< css::beans::XPropertySet > VbaTextFrame::m_xPropertySet
protected

◆ m_xShape

css::uno::Reference< css::drawing::XShape > VbaTextFrame::m_xShape
protected

Definition at line 50 of file vbatextframe.hxx.

Referenced by VbaTextFrame().


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