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>
34 OptValue
< sal_Int32
> monHeightPercent
; /// Height of the 3D view, relative to chart width.
35 OptValue
< sal_Int32
> monRotationX
; /// Horizontal rotation in degrees.
36 OptValue
< sal_Int32
> monRotationY
; /// Vertical rotation in degrees.
37 sal_Int32 mnDepthPercent
; /// Depth of the 3D view, relative to chart width.
38 sal_Int32 mnPerspective
; /// Eye distance to the 3D objects.
39 bool mbRightAngled
; /// True = right-angled axes in 3D view.
41 explicit View3DModel(bool bMSO2007Doc
);
47 typedef ModelRef
< Shape
> ShapeRef
;
48 typedef ModelRef
< PictureOptionsModel
> PictureOptionsRef
;
50 ShapeRef mxShapeProp
; /// Wall/floor frame formatting.
51 PictureOptionsRef mxPicOptions
; /// Fill bitmap settings.
53 explicit WallFloorModel();
59 bool mbShowHBorder
; /// Show Horizontal Border
60 bool mbShowVBorder
; /// Show Vertical Border
61 bool mbShowOutline
; /// Show outline
62 explicit DataTableModel();
68 typedef ModelVector
< TypeGroupModel
> TypeGroupVector
;
69 typedef ModelVector
< AxisModel
> AxisVector
;
70 typedef ModelRef
< Shape
> ShapeRef
;
71 typedef ModelRef
< LayoutModel
> LayoutRef
;
72 typedef ModelRef
< DataTableModel
> DataTableRef
;
74 TypeGroupVector maTypeGroups
; /// All chart type groups contained in the chart.
75 AxisVector maAxes
; /// All axes contained in the chart.
76 ShapeRef mxShapeProp
; /// Plot area frame formatting.
77 LayoutRef mxLayout
; /// Layout/position of the plot area.
78 DataTableRef mxDataTable
; /// Data table of the plot area.
80 explicit PlotAreaModel();
85 } // namespace drawingml
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */