1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #ifndef INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_GL3DBARCHARTTYPE_HXX
11 #define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_GL3DBARCHARTTYPE_HXX
13 #include "ChartType.hxx"
18 * Chart type that represents 3 dimensional data content in 3D space using
21 class GL3DBarChartType
: public ChartType
24 GL3DBarChartType( const css::uno::Reference
<css::uno::XComponentContext
>& xContext
);
25 virtual ~GL3DBarChartType();
27 virtual com::sun::star::uno::Sequence
< OUString
> SAL_CALL
28 getSupportedPropertyRoles()
29 throw (::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
30 virtual OUString SAL_CALL
31 getImplementationName()
32 throw( ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
33 virtual sal_Bool SAL_CALL
34 supportsService( const OUString
& ServiceName
)
35 throw( ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
36 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
37 getSupportedServiceNames()
38 throw( ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
39 static OUString
getImplementationName_Static();
40 static ::com::sun::star::uno::Sequence
< OUString
>
41 getSupportedServiceNames_Static();
43 static css::uno::Reference
< css::uno::XInterface
> SAL_CALL
create( css::uno::Reference
< css::uno::XComponentContext
> const & xContext
)
44 throw(css::uno::Exception
)
46 return (::cppu::OWeakObject
*)new GL3DBarChartType( xContext
);
50 GL3DBarChartType( const GL3DBarChartType
& rOther
);
52 virtual OUString SAL_CALL
getChartType()
53 throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
55 virtual css::uno::Reference
<css::util::XCloneable
> SAL_CALL
57 throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
60 virtual css::uno::Any
GetDefaultValue( sal_Int32 nHandle
) const
61 throw (css::beans::UnknownPropertyException
) SAL_OVERRIDE
;
63 virtual cppu::IPropertyArrayHelper
& SAL_CALL
getInfoHelper() SAL_OVERRIDE
;
66 virtual css::uno::Reference
<css::beans::XPropertySetInfo
> SAL_CALL
68 throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */