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