LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/sc/source/ui/inc - cellmergeoption.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 1 100.0 %
Date: 2013-07-09 Functions: 1 1 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             :  */
      12             : 
      13             : #ifndef SC_CELLMERGEOPTION_HXX
      14             : #define SC_CELLMERGEOPTION_HXX
      15             : 
      16             : #include "address.hxx"
      17             : 
      18             : #include <set>
      19             : 
      20             : class ScRange;
      21             : 
      22          20 : struct ScCellMergeOption
      23             : {
      24             :     ::std::set<SCTAB> maTabs;
      25             :     SCCOL mnStartCol;
      26             :     SCROW mnStartRow;
      27             :     SCCOL mnEndCol;
      28             :     SCROW mnEndRow;
      29             :     bool mbCenter;
      30             : 
      31             :     explicit ScCellMergeOption(const ScRange& rRange);
      32             :     explicit ScCellMergeOption(SCCOL nStartCol, SCROW nStartRow,
      33             :                                SCCOL nEndCol, SCROW nEndRow,
      34             :                                bool bCenter = false);
      35             :     explicit ScCellMergeOption(const ScCellMergeOption& r);
      36             : 
      37             :     ScRange getSingleRange(SCTAB nTab) const;
      38             :     ScRange getFirstSingleRange() const;
      39             : };
      40             : 
      41             : 
      42             : #endif
      43             : 
      44             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10