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_PLOTAREAMODEL_HXX
21 #define INCLUDED_OOX_DRAWINGML_CHART_PLOTAREAMODEL_HXX
23 #include <oox/drawingml/shape.hxx>
24 #include <drawingml/chart/axismodel.hxx>
25 #include <drawingml/chart/seriesmodel.hxx>
26 #include <drawingml/chart/typegroupmodel.hxx>
27 #include <drawingml/chart/datatablemodel.hxx>
29 namespace oox::drawingml::chart
{
33 std::optional
< sal_Int32
> monHeightPercent
; /// Height of the 3D view, relative to chart width.
34 std::optional
< sal_Int32
> monRotationX
; /// Horizontal rotation in degrees.
35 std::optional
< sal_Int32
> monRotationY
; /// Vertical rotation in degrees.
36 sal_Int32 mnDepthPercent
; /// Depth of the 3D view, relative to chart width.
37 sal_Int32 mnPerspective
; /// Eye distance to the 3D objects.
38 bool mbRightAngled
; /// True = right-angled axes in 3D view.
40 explicit View3DModel(bool bMSO2007Doc
);
45 typedef ModelRef
< Shape
> ShapeRef
;
46 typedef ModelRef
< PictureOptionsModel
> PictureOptionsRef
;
48 ShapeRef mxShapeProp
; /// Wall/floor frame formatting.
49 PictureOptionsRef mxPicOptions
; /// Fill bitmap settings.
51 explicit WallFloorModel();
57 typedef ModelVector
< TypeGroupModel
> TypeGroupVector
;
58 typedef ModelVector
< AxisModel
> AxisVector
;
59 typedef ModelRef
< Shape
> ShapeRef
;
60 typedef ModelRef
< LayoutModel
> LayoutRef
;
61 typedef ModelRef
< DataTableModel
> DataTableRef
;
63 TypeGroupVector maTypeGroups
; /// All chart type groups contained in the chart.
64 AxisVector maAxes
; /// All axes contained in the chart.
65 ShapeRef mxShapeProp
; /// Plot area frame formatting.
66 LayoutRef mxLayout
; /// Layout/position of the plot area.
67 DataTableRef mxDataTable
; /// Data table of the plot area.
69 explicit PlotAreaModel();
73 } // namespace oox::drawingml::chart
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */