40using ::com::sun::star::beans::Property;
41using ::com::sun::star::uno::Reference;
42using ::com::sun::star::uno::Sequence;
64 rnDimensionIndex = 0; rbSubGrid =
false;
break;
66 rnDimensionIndex = 1; rbSubGrid =
false;
break;
68 rnDimensionIndex = 2; rbSubGrid =
false;
break;
70 rnDimensionIndex = 0; rbSubGrid =
true;
break;
72 rnDimensionIndex = 1; rbSubGrid =
true;
break;
74 rnDimensionIndex = 2; rbSubGrid =
true;
break;
85 clearWrappedPropertySet();
112 sal_Int32 nDimensionIndex = 1;
113 bool bSubGrid =
false;
116 sal_Int32 nSubGridIndex = bSubGrid ? 0 : -1;
119 catch(
const uno::Exception & )
144 std::vector< std::unique_ptr<WrappedProperty> > aWrappedProperties;
148 return aWrappedProperties;
153 return "com.sun.star.comp.chart.Grid";
164 "com.sun.star.chart.ChartGrid",
165 "com.sun.star.xml.UserDefinedAttributesSupplier",
166 "com.sun.star.drawing.LineProperties",
167 "com.sun.star.beans.PropertySet"
std::shared_ptr< Chart2ModelContact > m_spChart2ModelContact
PropertiesInfo aProperties
static rtl::Reference< ::chart::BaseCoordinateSystem > getCoordinateSystemByIndex(const rtl::Reference< ::chart::Diagram > &xDiagram, sal_Int32 nIndex)
static rtl::Reference< ::chart::GridProperties > getGridProperties(const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys, sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex, sal_Int32 nSubGridIndex)
virtual css::uno::Reference< css::beans::XPropertySet > getInnerPropertySet() override
static void getDimensionAndSubGridBool(tGridType eType, sal_Int32 &rnDimensionIndex, bool &rbSubGrid)
virtual std::vector< std::unique_ptr< WrappedProperty > > createWrappedProperties() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual const css::uno::Sequence< css::beans::Property > & getPropertySequence() override
virtual OUString SAL_CALL getImplementationName() override
XServiceInfo declarations.
GridWrapper(tGridType eType, std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aEventListenerContainer
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL dispose() override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
virtual ~GridWrapper() override
std::shared_ptr< Chart2ModelContact > m_spChart2ModelContact
sal_Int32 addInterface(std::unique_lock< std::mutex > &rGuard, const css::uno::Reference< ListenerT > &rxIFace)
void disposeAndClear(::std::unique_lock<::std::mutex > &rGuard, const css::lang::EventObject &rEvt)
sal_Int32 removeInterface(std::unique_lock< std::mutex > &rGuard, const css::uno::Reference< ListenerT > &rxIFace)
#define DBG_UNHANDLED_EXCEPTION(...)
OOO_DLLPUBLIC_CHARTTOOLS void AddPropertiesToVector(std::vector< css::beans::Property > &rOutProperties)
const sal_Int32 MAIN_AXIS_INDEX
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)