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

#include <vbastyle.hxx>

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

Public Member Functions

 SwVbaStyle (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::frame::XModel > xModel, const css::uno::Reference< css::beans::XPropertySet > &_xPropertySet)
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &Name) override
 
virtual ::sal_Int32 SAL_CALL getLanguageID () override
 
virtual void SAL_CALL setLanguageID (::sal_Int32 _languageid) override
 
virtual ::sal_Int32 SAL_CALL getType () override
 
virtual css::uno::Reference< ooo::vba::word::XFont > SAL_CALL getFont () override
 
virtual OUString SAL_CALL getNameLocal () override
 
virtual void SAL_CALL setNameLocal (const OUString &_namelocal) override
 
virtual css::uno::Reference< ::ooo::vba::word::XParagraphFormat > SAL_CALL getParagraphFormat () override
 
virtual sal_Bool SAL_CALL getAutomaticallyUpdate () override
 
virtual void SAL_CALL setAutomaticallyUpdate (sal_Bool _automaticallyupdate) override
 
virtual css::uno::Any SAL_CALL getBaseStyle () override
 
virtual void SAL_CALL setBaseStyle (const css::uno::Any &_basestyle) override
 
virtual css::uno::Any SAL_CALL getNextParagraphStyle () override
 
virtual void SAL_CALL setNextParagraphStyle (const css::uno::Any &_nextparagraphstyle) override
 
virtual ::sal_Int32 SAL_CALL getListLevelNumber () override
 
virtual OUString SAL_CALL getDefaultPropertyName () 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
 

Static Public Member Functions

static void setStyle (const css::uno::Reference< css::beans::XPropertySet > &xParaProps, const css::uno::Any &xStyle)
 
static LanguageType getLanguageID (const css::uno::Reference< css::beans::XPropertySet > &xTCProps)
 
static void setLanguageID (const css::uno::Reference< css::beans::XPropertySet > &xTCProps, LanguageType _languageid)
 

Private Attributes

css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::beans::XPropertySetmxStyleProps
 
css::uno::Reference< css::style::XStyle > mxStyle
 

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 32 of file vbastyle.hxx.

Constructor & Destructor Documentation

◆ SwVbaStyle()

SwVbaStyle::SwVbaStyle ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
css::uno::Reference< css::frame::XModel >  xModel,
const css::uno::Reference< css::beans::XPropertySet > &  _xPropertySet 
)
Exceptions
css::script::BasicErrorException
css::uno::RuntimeException

Definition at line 34 of file vbastyle.cxx.

References _xPropertySet, mxModel, mxStyle, and xModel.

Member Function Documentation

◆ getAutomaticallyUpdate()

sal_Bool SAL_CALL SwVbaStyle::getAutomaticallyUpdate ( )
overridevirtual

Definition at line 139 of file vbastyle.cxx.

References mxStyleProps.

◆ getBaseStyle()

uno::Any SAL_CALL SwVbaStyle::getBaseStyle ( )
overridevirtual

◆ getDefaultPropertyName()

virtual OUString SAL_CALL SwVbaStyle::getDefaultPropertyName ( )
inlineoverridevirtual

Definition at line 69 of file vbastyle.hxx.

◆ getFont()

uno::Reference< word::XFont > SAL_CALL SwVbaStyle::getFont ( )
overridevirtual

◆ getLanguageID() [1/2]

sal_Int32 SAL_CALL SwVbaStyle::getLanguageID ( )
override

Definition at line 64 of file vbastyle.cxx.

References getLanguageID(), and mxStyleProps.

Referenced by SwVbaRange::getLanguageID(), and getLanguageID().

◆ getLanguageID() [2/2]

static LanguageType SwVbaStyle::getLanguageID ( const css::uno::Reference< css::beans::XPropertySet > &  xTCProps)
static
Exceptions
css::uno::RuntimeException

◆ getListLevelNumber()

sal_Int32 SAL_CALL SwVbaStyle::getListLevelNumber ( )
override

Definition at line 205 of file vbastyle.cxx.

References mxStyleProps.

◆ getName()

OUString SAL_CALL SwVbaStyle::getName ( )
overridevirtual

Definition at line 46 of file vbastyle.cxx.

References mxStyle.

◆ getNameLocal()

OUString SAL_CALL SwVbaStyle::getNameLocal ( )
overridevirtual

Definition at line 116 of file vbastyle.cxx.

References mxStyleProps.

◆ getNextParagraphStyle()

uno::Any SAL_CALL SwVbaStyle::getNextParagraphStyle ( )
overridevirtual

◆ getParagraphFormat()

uno::Reference< word::XParagraphFormat > SAL_CALL SwVbaStyle::getParagraphFormat ( )
overridevirtual

◆ getServiceImplName()

OUString SwVbaStyle::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ getType()

sal_Int32 SAL_CALL SwVbaStyle::getType ( )
override

Definition at line 74 of file vbastyle.cxx.

References mxStyle, and nType.

Referenced by getParagraphFormat().

◆ setAutomaticallyUpdate()

void SAL_CALL SwVbaStyle::setAutomaticallyUpdate ( sal_Bool  _automaticallyupdate)
overridevirtual

Definition at line 146 of file vbastyle.cxx.

References mxStyleProps.

◆ setBaseStyle()

void SAL_CALL SwVbaStyle::setBaseStyle ( const css::uno::Any &  _basestyle)
overridevirtual

Definition at line 165 of file vbastyle.cxx.

References mxStyleProps.

◆ setLanguageID() [1/2]

void SAL_CALL SwVbaStyle::setLanguageID ( ::sal_Int32  _languageid)
overridevirtual

Definition at line 69 of file vbastyle.cxx.

References mxStyleProps, and setLanguageID().

◆ setLanguageID() [2/2]

static void SwVbaStyle::setLanguageID ( const css::uno::Reference< css::beans::XPropertySet > &  xTCProps,
LanguageType  _languageid 
)
static
Exceptions
css::uno::RuntimeException

Referenced by SwVbaRange::setLanguageID(), and setLanguageID().

◆ setName()

void SAL_CALL SwVbaStyle::setName ( const OUString &  Name)
overridevirtual

Definition at line 40 of file vbastyle.cxx.

References mxStyle, and Name.

◆ setNameLocal()

void SAL_CALL SwVbaStyle::setNameLocal ( const OUString &  _namelocal)
overridevirtual

Definition at line 123 of file vbastyle.cxx.

References mxStyleProps.

◆ setNextParagraphStyle()

void SAL_CALL SwVbaStyle::setNextParagraphStyle ( const css::uno::Any &  _nextparagraphstyle)
overridevirtual

Definition at line 192 of file vbastyle.cxx.

References mxStyleProps.

◆ setStyle()

void SwVbaStyle::setStyle ( const css::uno::Reference< css::beans::XPropertySet > &  xParaProps,
const css::uno::Any &  xStyle 
)
static
Exceptions
css::uno::RuntimeException

Definition at line 94 of file vbastyle.cxx.

Referenced by SwVbaRange::setStyle(), and SwVbaSelection::setStyle().

Member Data Documentation

◆ mxModel

css::uno::Reference< css::frame::XModel > SwVbaStyle::mxModel
private

Definition at line 35 of file vbastyle.hxx.

Referenced by getBaseStyle(), getNextParagraphStyle(), and getParagraphFormat().

◆ mxStyle

css::uno::Reference< css::style::XStyle > SwVbaStyle::mxStyle
private

Definition at line 37 of file vbastyle.hxx.

Referenced by getName(), getType(), setName(), and SwVbaStyle().

◆ mxStyleProps

css::uno::Reference< css::beans::XPropertySet > SwVbaStyle::mxStyleProps
private

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