LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScVbaStyle Class Referencefinal

#include <vbastyle.hxx>

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

Public Member Functions

 ScVbaStyle (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const OUString &sStyleName, const css::uno::Reference< css::frame::XModel > &_xModel)
 
 ScVbaStyle (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::beans::XPropertySet > &_xPropertySet, const css::uno::Reference< css::frame::XModel > &_xModel)
 
virtual css::uno::Reference< ov::XHelperInterface > thisHelperIface () override
 
virtual sal_Bool SAL_CALL BuiltIn () override
 
virtual void SAL_CALL setName (const OUString &Name) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setNameLocal (const OUString &NameLocal) override
 
virtual OUString SAL_CALL getNameLocal () override
 
virtual void SAL_CALL Delete () override
 
virtual void SAL_CALL setMergeCells (const css::uno::Any &MergeCells) override
 
virtual css::uno::Any SAL_CALL getMergeCells () override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from ScVbaFormat< Ifc >
 ScVbaFormat (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::beans::XPropertySet > &_xPropertySet, const css::uno::Reference< css::frame::XModel > &xModel, bool bCheckAmbiguoity)
 
void SAL_CALL setAddIndent (const css::uno::Any &BAddIndent)
 
css::uno::Any SAL_CALL getAddIndent ()
 
virtual css::uno::Any SAL_CALL Borders (const css::uno::Any &Index)
 
virtual css::uno::Reference< ::ooo::vba::excel::XFont > SAL_CALL Font ()
 
virtual css::uno::Reference< ::ooo::vba::excel::XInterior > SAL_CALL Interior ()
 
virtual void SAL_CALL setNumberFormat (const css::uno::Any &NumberFormat)
 
virtual css::uno::Any SAL_CALL getNumberFormat ()
 
virtual void SAL_CALL setNumberFormatLocal (const css::uno::Any &NumberFormatLocal)
 
virtual css::uno::Any SAL_CALL getNumberFormatLocal ()
 
virtual void SAL_CALL setIndentLevel (const css::uno::Any &IndentLevel)
 
virtual css::uno::Any SAL_CALL getIndentLevel ()
 
virtual void SAL_CALL setHorizontalAlignment (const css::uno::Any &HorizontalAlignment)
 
virtual css::uno::Any SAL_CALL getHorizontalAlignment ()
 
virtual void SAL_CALL setVerticalAlignment (const css::uno::Any &VerticalAlignment)
 
virtual css::uno::Any SAL_CALL getVerticalAlignment ()
 
virtual void SAL_CALL setOrientation (const css::uno::Any &Orientation)
 
virtual css::uno::Any SAL_CALL getOrientation ()
 
virtual void SAL_CALL setShrinkToFit (const css::uno::Any &ShrinkToFit)
 
virtual css::uno::Any SAL_CALL getShrinkToFit ()
 
virtual void SAL_CALL setWrapText (const css::uno::Any &WrapText)
 
virtual css::uno::Any SAL_CALL getWrapText ()
 
virtual void SAL_CALL setLocked (const css::uno::Any &Locked)
 
virtual css::uno::Any SAL_CALL getLocked ()
 
virtual void SAL_CALL setFormulaHidden (const css::uno::Any &FormulaHidden)
 
virtual css::uno::Any SAL_CALL getFormulaHidden ()
 
virtual void SAL_CALL setReadingOrder (const css::uno::Any &ReadingOrder)
 
virtual css::uno::Any SAL_CALL getReadingOrder ()
 
- 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 css::uno::Reference< css::container::XNameAccess > getStylesNameContainer (const css::uno::Reference< css::frame::XModel > &xModel)
 

Private Member Functions

void initialise ()
 

Private Attributes

css::uno::Reference< css::style::XStyle > mxStyle
 
css::uno::Reference< css::container::XNameContainer > mxStyleFamilyNameContainer
 

Additional Inherited Members

- Protected Member Functions inherited from ScVbaFormat< Ifc >
bool isAmbiguous (const OUString &_sPropertyName)
 
css::uno::Reference< css::beans::XPropertyState > const & getXPropertyState ()
 
void initializeNumberFormats ()
 
SfxItemSetgetCurrentDataSet ()
 
virtual ScCellRangesBasegetCellRangesBase ()
 
- Protected Attributes inherited from ScVbaFormat< Ifc >
css::uno::Reference< css::beans::XPropertySetmxPropertySet
 
css::uno::Reference< css::util::XNumberFormatsSupplier > mxNumberFormatsSupplier
 
css::uno::Reference< css::util::XNumberFormats > xNumberFormats
 
css::uno::Reference< css::util::XNumberFormatTypes > xNumberFormatTypes
 
css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::beans::XPropertyState > xPropertyState
 
bool mbCheckAmbiguoity
 
bool mbAddIndent
 
- 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 31 of file vbastyle.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

sal_Bool SAL_CALL ScVbaStyle::BuiltIn ( )
overridevirtual

Definition at line 96 of file vbastyle.cxx.

References mxStyle.

void SAL_CALL ScVbaStyle::Delete ( )
overridevirtual

Definition at line 142 of file vbastyle.cxx.

References ERRCODE_BASIC_METHOD_FAILED, mxStyle, and mxStyleFamilyNameContainer.

uno::Any SAL_CALL ScVbaStyle::getMergeCells ( )
overridevirtual
Exceptions
css::script::BasicErrorException
css::uno::RuntimeException

Implements ScVbaFormat< Ifc >.

Definition at line 161 of file vbastyle.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

OUString SAL_CALL ScVbaStyle::getName ( )
overridevirtual

Definition at line 108 of file vbastyle.cxx.

References mxStyle.

OUString SAL_CALL ScVbaStyle::getNameLocal ( )
overridevirtual
OUString ScVbaStyle::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > ScVbaStyle::getServiceNames ( )
overridevirtual
uno::Reference< container::XNameAccess > ScVbaStyle::getStylesNameContainer ( const css::uno::Reference< css::frame::XModel > &  xModel)
static
Exceptions
css::uno::RuntimeException

Definition at line 31 of file vbastyle.cxx.

Referenced by initialise(), and lcl_getStyleProps().

void ScVbaStyle::initialise ( )
private
Exceptions
css::uno::RuntimeException
css::script::BasicErrorException

Definition at line 48 of file vbastyle.cxx.

References ERRCODE_BASIC_METHOD_FAILED, getStylesNameContainer(), ScVbaFormat< Ifc >::mxModel, ScVbaFormat< Ifc >::mxPropertySet, mxStyle, mxStyleFamilyNameContainer, and u.

void SAL_CALL ScVbaStyle::setMergeCells ( const css::uno::Any &  MergeCells)
overridevirtual
Exceptions
css::script::BasicErrorException
css::uno::RuntimeException

Implements ScVbaFormat< Ifc >.

Definition at line 155 of file vbastyle.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

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

Definition at line 102 of file vbastyle.cxx.

References mxStyle.

void SAL_CALL ScVbaStyle::setNameLocal ( const OUString &  NameLocal)
overridevirtual

Definition at line 114 of file vbastyle.cxx.

References DISPLAYNAME, and ScVbaFormat< Ifc >::mxPropertySet.

virtual css::uno::Reference< ov::XHelperInterface > ScVbaStyle::thisHelperIface ( )
inlineoverridevirtual

Implements ScVbaFormat< Ifc >.

Definition at line 47 of file vbastyle.hxx.

Member Data Documentation

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

Definition at line 33 of file vbastyle.hxx.

Referenced by BuiltIn(), Delete(), getName(), initialise(), and setName().

css::uno::Reference< css::container::XNameContainer > ScVbaStyle::mxStyleFamilyNameContainer
private

Definition at line 34 of file vbastyle.hxx.

Referenced by Delete(), and initialise().


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