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, const 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< 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
 

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 ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const 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 mxModel, and mxStyle.

Member Function Documentation

sal_Bool SAL_CALL SwVbaStyle::getAutomaticallyUpdate ( )
overridevirtual

Definition at line 139 of file vbastyle.cxx.

References mxStyleProps.

uno::Any SAL_CALL SwVbaStyle::getBaseStyle ( )
overridevirtual
virtual OUString SAL_CALL SwVbaStyle::getDefaultPropertyName ( )
inlineoverridevirtual

Definition at line 69 of file vbastyle.hxx.

uno::Reference< word::XFont > SAL_CALL SwVbaStyle::getFont ( )
overridevirtual
static LanguageType SwVbaStyle::getLanguageID ( const css::uno::Reference< css::beans::XPropertySet > &  xTCProps)
static
Exceptions
css::uno::RuntimeException
sal_Int32 SAL_CALL SwVbaStyle::getLanguageID ( )
override

Definition at line 64 of file vbastyle.cxx.

References mxStyleProps.

Referenced by SwVbaRange::getLanguageID().

sal_Int32 SAL_CALL SwVbaStyle::getListLevelNumber ( )
override

Definition at line 205 of file vbastyle.cxx.

References mxStyleProps.

OUString SAL_CALL SwVbaStyle::getName ( )
overridevirtual

Definition at line 46 of file vbastyle.cxx.

References mxStyle.

OUString SAL_CALL SwVbaStyle::getNameLocal ( )
overridevirtual

Definition at line 116 of file vbastyle.cxx.

References mxStyleProps.

uno::Any SAL_CALL SwVbaStyle::getNextParagraphStyle ( )
overridevirtual
uno::Reference< word::XParagraphFormat > SAL_CALL SwVbaStyle::getParagraphFormat ( )
overridevirtual
OUString SwVbaStyle::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > SwVbaStyle::getServiceNames ( )
overridevirtual
sal_Int32 SAL_CALL SwVbaStyle::getType ( )
override

Definition at line 74 of file vbastyle.cxx.

References mxStyle, and nType.

Referenced by getParagraphFormat().

void SAL_CALL SwVbaStyle::setAutomaticallyUpdate ( sal_Bool  _automaticallyupdate)
overridevirtual

Definition at line 146 of file vbastyle.cxx.

References mxStyleProps.

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

Definition at line 165 of file vbastyle.cxx.

References mxStyleProps.

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

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

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

Definition at line 69 of file vbastyle.cxx.

References mxStyleProps, and setLanguageID().

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

Definition at line 40 of file vbastyle.cxx.

References mxStyle.

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

Definition at line 123 of file vbastyle.cxx.

References mxStyleProps.

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

Definition at line 192 of file vbastyle.cxx.

References mxStyleProps.

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

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

Definition at line 35 of file vbastyle.hxx.

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

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

Definition at line 37 of file vbastyle.hxx.

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

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

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