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>
32 /** Handler for a chart plot area context (c:plotArea element).
34 class View3DContext
: public ContextBase
< View3DModel
>
37 explicit View3DContext( ::oox::core::ContextHandler2Helper
& rParent
, View3DModel
& rModel
);
38 virtual ~View3DContext() override
;
40 virtual ::oox::core::ContextHandlerRef
onCreateContext( sal_Int32 nElement
, const AttributeList
& rAttribs
) override
;
44 struct WallFloorModel
;
46 /** Handler for a chart wall/floor context (c:backWall, c:floor, c:sideWall
49 class WallFloorContext
: public ContextBase
< WallFloorModel
>
52 explicit WallFloorContext( ::oox::core::ContextHandler2Helper
& rParent
, WallFloorModel
& rModel
);
53 virtual ~WallFloorContext() override
;
55 virtual ::oox::core::ContextHandlerRef
onCreateContext( sal_Int32 nElement
, const AttributeList
& rAttribs
) override
;
59 struct DataTableModel
;
61 /** Handler for a data table context (c:dTable element).
63 class DataTableContext
: public ContextBase
< DataTableModel
>
66 explicit DataTableContext( ::oox::core::ContextHandler2Helper
& rParent
, DataTableModel
& rModel
);
67 virtual ~DataTableContext() override
;
69 virtual ::oox::core::ContextHandlerRef
onCreateContext( sal_Int32 nElement
, const AttributeList
& rAttribs
) override
;
75 /** Handler for a chart plot area context (c:plotArea element).
77 class PlotAreaContext
: public ContextBase
< PlotAreaModel
>
80 explicit PlotAreaContext( ::oox::core::ContextHandler2Helper
& rParent
, PlotAreaModel
& rModel
);
81 virtual ~PlotAreaContext() override
;
83 virtual ::oox::core::ContextHandlerRef
onCreateContext( sal_Int32 nElement
, const AttributeList
& rAttribs
) override
;
88 } // namespace drawingml
93 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */