LibreOffice Module vbahelper (master) 1
|
#include <vbafillformat.hxx>
Public Member Functions | |
ScVbaFillFormat (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::drawing::XShape > &xShape) | |
void | setForeColorAndInternalStyle (sal_Int32 nForeColor) |
virtual sal_Bool SAL_CALL | getVisible () override |
virtual void SAL_CALL | setVisible (sal_Bool _visible) override |
virtual double SAL_CALL | getTransparency () override |
virtual void SAL_CALL | setTransparency (double _transparency) override |
virtual void SAL_CALL | Solid () override |
virtual void SAL_CALL | TwoColorGradient (sal_Int32 style, sal_Int32 variant) override |
virtual css::uno::Reference< ov::msforms::XColorFormat > SAL_CALL | BackColor () override |
virtual css::uno::Reference< ov::msforms::XColorFormat > SAL_CALL | ForeColor () 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 |
Private Member Functions | |
void | setFillStyle (css::drawing::FillStyle nFillStyle) |
Private Attributes | |
css::uno::Reference< css::drawing::XShape > | m_xShape |
css::uno::Reference< css::beans::XPropertySet > | m_xPropertySet |
css::uno::Reference< ov::msforms::XColorFormat > | m_xColorFormat |
css::drawing::FillStyle | m_nFillStyle |
sal_Int32 | m_nForeColor |
sal_Int16 | m_nGradientAngle |
Additional Inherited Members | |
Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 29 of file vbafillformat.hxx.
ScVbaFillFormat::ScVbaFillFormat | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
const css::uno::Reference< css::drawing::XShape > & | xShape | ||
) |
Definition at line 29 of file vbafillformat.cxx.
References m_nFillStyle, m_nForeColor, m_nGradientAngle, and m_xPropertySet.
|
overridevirtual |
Definition at line 156 of file vbafillformat.cxx.
References ColorFormatType::FILLFORMAT_BACKCOLOR, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::getParent(), m_xColorFormat, m_xShape, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext.
Referenced by setFillStyle().
|
overridevirtual |
Definition at line 164 of file vbafillformat.cxx.
References ColorFormatType::FILLFORMAT_FORECOLOR, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::getParent(), m_xColorFormat, m_xShape, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext.
Referenced by setFillStyle().
|
overrideprotectedvirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 172 of file vbafillformat.cxx.
|
overrideprotectedvirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 178 of file vbafillformat.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 105 of file vbafillformat.cxx.
References m_xPropertySet.
|
overridevirtual |
Definition at line 77 of file vbafillformat.cxx.
References m_xPropertySet.
|
private |
css::uno::RuntimeException |
Definition at line 38 of file vbafillformat.cxx.
References BackColor(), ForeColor(), m_nFillStyle, m_nGradientAngle, and m_xPropertySet.
Referenced by setForeColorAndInternalStyle(), setVisible(), Solid(), and TwoColorGradient().
void ScVbaFillFormat::setForeColorAndInternalStyle | ( | sal_Int32 | nForeColor | ) |
css::uno::RuntimeException |
Definition at line 69 of file vbafillformat.cxx.
References m_nFillStyle, m_nForeColor, and setFillStyle().
Referenced by ScVbaColorFormat::setRGB().
|
overridevirtual |
Definition at line 116 of file vbafillformat.cxx.
References m_xPropertySet.
|
overridevirtual |
Definition at line 87 of file vbafillformat.cxx.
References m_nFillStyle, m_xPropertySet, and setFillStyle().
|
overridevirtual |
Definition at line 125 of file vbafillformat.cxx.
References setFillStyle().
|
overridevirtual |
Definition at line 131 of file vbafillformat.cxx.
References m_nGradientAngle, and setFillStyle().
|
private |
Definition at line 35 of file vbafillformat.hxx.
Referenced by ScVbaFillFormat(), setFillStyle(), setForeColorAndInternalStyle(), and setVisible().
|
private |
Definition at line 36 of file vbafillformat.hxx.
Referenced by ScVbaFillFormat(), and setForeColorAndInternalStyle().
|
private |
Definition at line 37 of file vbafillformat.hxx.
Referenced by ScVbaFillFormat(), setFillStyle(), and TwoColorGradient().
|
private |
Definition at line 34 of file vbafillformat.hxx.
Referenced by BackColor(), and ForeColor().
|
private |
Definition at line 33 of file vbafillformat.hxx.
Referenced by getTransparency(), getVisible(), ScVbaFillFormat(), setFillStyle(), setTransparency(), and setVisible().
|
private |
Definition at line 32 of file vbafillformat.hxx.
Referenced by BackColor(), and ForeColor().