LCOV - code coverage report
Current view: top level - oox/inc/drawingml/table - tablestyle.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 18 18 100.0 %
Date: 2015-06-13 12:38:46 Functions: 18 18 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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 { namespace drawingml { namespace table {
      28             : 
      29          18 : class TableStyle
      30             : {
      31             : public:
      32             : 
      33             :     TableStyle();
      34             :     ~TableStyle();
      35             : 
      36          34 :     OUString&  getStyleId(){ return maStyleId; }
      37          16 :     OUString&  getStyleName() { return maStyleName; }
      38             : 
      39          81 :     ::oox::drawingml::ShapeStyleRef&        getBackgroundFillStyleRef(){ return maFillStyleRef; }
      40             : 
      41          77 :     ::oox::drawingml::FillPropertiesPtr&    getBackgroundFillProperties(){ return mpFillProperties; }
      42             : 
      43         109 :     TableStylePart& getWholeTbl()   { return maWholeTbl; }
      44          40 :     TableStylePart& getBand1H()     { return maBand1H; }
      45          31 :     TableStylePart& getBand2H()     { return maBand2H; }
      46          17 :     TableStylePart& getBand1V()     { return maBand1V; }
      47          13 :     TableStylePart& getBand2V()     { return maBand2V; }
      48          26 :     TableStylePart& getLastCol()    { return maLastCol; }
      49          22 :     TableStylePart& getFirstCol()   { return maFirstCol; }
      50          27 :     TableStylePart& getLastRow()    { return maLastRow; }
      51          14 :     TableStylePart& getSeCell()     { return maSeCell; }
      52          14 :     TableStylePart& getSwCell()     { return maSwCell; }
      53          36 :     TableStylePart& getFirstRow()   { return maFirstRow; }
      54          14 :     TableStylePart& getNeCell()     { return maNeCell; }
      55          12 :     TableStylePart& getNwCell()     { return maNwCell; }
      56             : 
      57             : private:
      58             : 
      59             :     OUString           maStyleId;
      60             :     OUString           maStyleName;
      61             : 
      62             :     ::oox::drawingml::ShapeStyleRef maFillStyleRef;
      63             : 
      64             :     ::oox::drawingml::FillPropertiesPtr mpFillProperties;
      65             : 
      66             :     TableStylePart  maWholeTbl;
      67             :     TableStylePart  maBand1H;
      68             :     TableStylePart  maBand2H;
      69             :     TableStylePart  maBand1V;
      70             :     TableStylePart  maBand2V;
      71             :     TableStylePart  maLastCol;
      72             :     TableStylePart  maFirstCol;
      73             :     TableStylePart  maLastRow;
      74             :     TableStylePart  maSeCell;
      75             :     TableStylePart  maSwCell;
      76             :     TableStylePart  maFirstRow;
      77             :     TableStylePart  maNeCell;
      78             :     TableStylePart  maNwCell;
      79             : };
      80             : 
      81             : } } }
      82             : 
      83             : #endif // INCLUDED_OOX_DRAWINGML_TABLE_TABLESTYLE_HXX
      84             : 
      85             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11