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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_OOX_DRAWINGML_CHART_PLOTAREACONTEXT_HXX
21 #define INCLUDED_OOX_DRAWINGML_CHART_PLOTAREACONTEXT_HXX
23 #include <drawingml/chart/chartcontextbase.hxx>
33 /** Handler for a chart plot area context (c:plotArea element).
35 class View3DContext
: public ContextBase
< View3DModel
>
38 explicit View3DContext( ::oox::core::ContextHandler2Helper
& rParent
, View3DModel
& rModel
);
39 virtual ~View3DContext();
41 virtual ::oox::core::ContextHandlerRef
onCreateContext( sal_Int32 nElement
, const AttributeList
& rAttribs
) SAL_OVERRIDE
;
46 struct WallFloorModel
;
48 /** Handler for a chart wall/floor context (c:backWall, c:floor, c:sideWall
51 class WallFloorContext
: public ContextBase
< WallFloorModel
>
54 explicit WallFloorContext( ::oox::core::ContextHandler2Helper
& rParent
, WallFloorModel
& rModel
);
55 virtual ~WallFloorContext();
57 virtual ::oox::core::ContextHandlerRef
onCreateContext( sal_Int32 nElement
, const AttributeList
& rAttribs
) SAL_OVERRIDE
;
62 struct DataTableModel
;
64 /** Handler for a data table context (c:dTable element).
66 class DataTableContext
: public ContextBase
< DataTableModel
>
69 explicit DataTableContext( ::oox::core::ContextHandler2Helper
& rParent
, DataTableModel
& rModel
);
70 virtual ~DataTableContext();
72 virtual ::oox::core::ContextHandlerRef
onCreateContext( sal_Int32 nElement
, const AttributeList
& rAttribs
) SAL_OVERRIDE
;
79 /** Handler for a chart plot area context (c:plotArea element).
81 class PlotAreaContext
: public ContextBase
< PlotAreaModel
>
84 explicit PlotAreaContext( ::oox::core::ContextHandler2Helper
& rParent
, PlotAreaModel
& rModel
);
85 virtual ~PlotAreaContext();
87 virtual ::oox::core::ContextHandlerRef
onCreateContext( sal_Int32 nElement
, const AttributeList
& rAttribs
) SAL_OVERRIDE
;
93 } // namespace drawingml
98 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */