/src/libreoffice/oox/inc/drawingml/table/tablestyle.hxx
Line | Count | Source |
1 | | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 | | /* |
3 | | * This file is part of the LibreOffice project. |
4 | | * |
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/. |
8 | | * |
9 | | * This file incorporates work covered by the following license notice: |
10 | | * |
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 . |
18 | | */ |
19 | | |
20 | | #ifndef INCLUDED_OOX_DRAWINGML_TABLE_TABLESTYLE_HXX |
21 | | #define INCLUDED_OOX_DRAWINGML_TABLE_TABLESTYLE_HXX |
22 | | |
23 | | #include <drawingml/table/tablestylepart.hxx> |
24 | | #include <oox/drawingml/drawingmltypes.hxx> |
25 | | #include <oox/drawingml/shape.hxx> |
26 | | |
27 | | namespace oox::drawingml::table { |
28 | | |
29 | | class TableStyle |
30 | | { |
31 | | public: |
32 | | |
33 | | TableStyle(); |
34 | | |
35 | 26.6k | OUString& getStyleId(){ return maStyleId; } |
36 | 44 | OUString& getStyleName() { return maStyleName; } |
37 | | |
38 | 2.89k | ::oox::drawingml::ShapeStyleRef& getBackgroundFillStyleRef(){ return maFillStyleRef; } |
39 | | |
40 | 2.90k | ::oox::drawingml::FillPropertiesPtr& getBackgroundFillProperties(){ return mpFillProperties; } |
41 | | |
42 | 2.98k | TableStylePart& getWholeTbl() { return maWholeTbl; } |
43 | 394 | TableStylePart& getBand1H() { return maBand1H; } |
44 | 394 | TableStylePart& getBand2H() { return maBand2H; } |
45 | 91 | TableStylePart& getBand1V() { return maBand1V; } |
46 | 91 | TableStylePart& getBand2V() { return maBand2V; } |
47 | 98 | TableStylePart& getLastCol() { return maLastCol; } |
48 | 98 | TableStylePart& getFirstCol() { return maFirstCol; } |
49 | 91 | TableStylePart& getLastRow() { return maLastRow; } |
50 | 130 | TableStylePart& getSeCell() { return maSeCell; } |
51 | 130 | TableStylePart& getSwCell() { return maSwCell; } |
52 | 404 | TableStylePart& getFirstRow() { return maFirstRow; } |
53 | 130 | TableStylePart& getNeCell() { return maNeCell; } |
54 | 130 | TableStylePart& getNwCell() { return maNwCell; } |
55 | | |
56 | | private: |
57 | | |
58 | | OUString maStyleId; |
59 | | OUString maStyleName; |
60 | | |
61 | | ::oox::drawingml::ShapeStyleRef maFillStyleRef; |
62 | | |
63 | | ::oox::drawingml::FillPropertiesPtr mpFillProperties; |
64 | | |
65 | | TableStylePart maWholeTbl; |
66 | | TableStylePart maBand1H; |
67 | | TableStylePart maBand2H; |
68 | | TableStylePart maBand1V; |
69 | | TableStylePart maBand2V; |
70 | | TableStylePart maLastCol; |
71 | | TableStylePart maFirstCol; |
72 | | TableStylePart maLastRow; |
73 | | TableStylePart maSeCell; |
74 | | TableStylePart maSwCell; |
75 | | TableStylePart maFirstRow; |
76 | | TableStylePart maNeCell; |
77 | | TableStylePart maNwCell; |
78 | | }; |
79 | | |
80 | | } |
81 | | |
82 | | #endif // INCLUDED_OOX_DRAWINGML_TABLE_TABLESTYLE_HXX |
83 | | |
84 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |