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_CHARTSPACEMODEL_HXX
21 #define INCLUDED_OOX_DRAWINGML_CHART_CHARTSPACEMODEL_HXX
23 #include <oox/drawingml/shape.hxx>
24 #include <drawingml/chart/plotareamodel.hxx>
25 #include <drawingml/chart/titlemodel.hxx>
33 struct ChartSpaceModel
35 typedef ModelRef
< Shape
> ShapeRef
;
36 typedef ModelRef
< TextBody
> TextBodyRef
;
37 typedef ModelRef
< PlotAreaModel
> PlotAreaRef
;
38 typedef ModelRef
< WallFloorModel
> WallFloorRef
;
39 typedef ModelRef
< View3DModel
> View3DRef
;
40 typedef ModelRef
< TitleModel
> TitleRef
;
41 typedef ModelRef
< LegendModel
> LegendRef
;
43 ShapeRef mxShapeProp
; /// Chart frame formatting.
44 TextBodyRef mxTextProp
; /// Global chart text formatting.
45 PlotAreaRef mxPlotArea
; /// Plot area of the chart.
46 WallFloorRef mxFloor
; /// Floor formatting in 3D charts.
47 WallFloorRef mxBackWall
; /// Back wall formatting in 3D charts.
48 WallFloorRef mxSideWall
; /// Side wall formatting in 3D charts.
49 View3DRef mxView3D
; /// 3D settings.
50 TitleRef mxTitle
; /// Chart main title.
51 LegendRef mxLegend
; /// Chart legend.
52 OUString maDrawingPath
; /// Path to drawing fragment with embedded shapes.
53 OUString maSheetPath
; /// Path to embedded charts.
54 sal_Int32 mnDispBlanksAs
; /// Mode how to display blank values.
55 sal_Int32 mnStyle
; /// Index to default formatting.
56 bool mbAutoTitleDel
; /// True = automatic title deleted manually.
57 bool mbPlotVisOnly
; /// True = plot visible cells in a sheet only.
58 bool mbShowLabelsOverMax
;/// True = show labels over chart maximum.
59 bool mbPivotChart
; /// True = pivot chart.
61 explicit ChartSpaceModel(bool bMSO2007Doc
);
68 } // namespace drawingml
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */