LibreOffice Module sc (master) 1
|
#include <vbastyle.hxx>
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, css::uno::Reference< css::beans::XPropertySet > _xPropertySet, css::uno::Reference< css::frame::XModel > xModel, bool bCheckAmbiguoity) | |
virtual css::uno::Reference< ov::XHelperInterface > | thisHelperIface ()=0 |
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 | setMergeCells (const css::uno::Any &MergeCells)=0 |
virtual css::uno::Any SAL_CALL | getMergeCells ()=0 |
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, 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 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 () |
SfxItemSet * | getCurrentDataSet () |
virtual ScCellRangesBase * | getCellRangesBase () |
Protected Attributes inherited from ScVbaFormat< Ifc > | |
css::uno::Reference< css::beans::XPropertySet > | mxPropertySet |
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 |
Definition at line 30 of file vbastyle.hxx.
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 | ||
) |
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 | ||
) |
css::script::BasicErrorException | |
css::uno::RuntimeException |
|
overridevirtual |
Definition at line 96 of file vbastyle.cxx.
References mxStyle.
|
overridevirtual |
Definition at line 142 of file vbastyle.cxx.
References ERRCODE_BASIC_METHOD_FAILED, mxStyle, and mxStyleFamilyNameContainer.
|
overridevirtual |
css::script::BasicErrorException | |
css::uno::RuntimeException |
Implements ScVbaFormat< Ifc >.
Definition at line 161 of file vbastyle.cxx.
References ERRCODE_BASIC_NOT_IMPLEMENTED.
|
overridevirtual |
Definition at line 108 of file vbastyle.cxx.
References mxStyle.
|
overridevirtual |
Definition at line 127 of file vbastyle.cxx.
References DISPLAYNAME, ERRCODE_BASIC_METHOD_FAILED, ScVbaFormat< Ifc >::mxPropertySet, and sName.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 168 of file vbastyle.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 174 of file vbastyle.cxx.
References aServiceNames.
|
static |
css::uno::RuntimeException |
Definition at line 31 of file vbastyle.cxx.
References xModel.
Referenced by initialise(), and lcl_getStyleProps().
|
private |
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.
|
overridevirtual |
css::script::BasicErrorException | |
css::uno::RuntimeException |
Implements ScVbaFormat< Ifc >.
Definition at line 155 of file vbastyle.cxx.
References ERRCODE_BASIC_NOT_IMPLEMENTED.
|
overridevirtual |
Definition at line 102 of file vbastyle.cxx.
|
overridevirtual |
Definition at line 114 of file vbastyle.cxx.
References DISPLAYNAME, and ScVbaFormat< Ifc >::mxPropertySet.
|
inlineoverridevirtual |
Implements ScVbaFormat< Ifc >.
Definition at line 46 of file vbastyle.hxx.
|
private |
Definition at line 32 of file vbastyle.hxx.
Referenced by BuiltIn(), Delete(), getName(), initialise(), and setName().
|
private |
Definition at line 33 of file vbastyle.hxx.
Referenced by Delete(), and initialise().