LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/include/test/sheet - xdatapilottable2.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             : 
      10             : #include <com/sun/star/uno/Reference.hxx>
      11             : #include <com/sun/star/table/CellRangeAddress.hpp>
      12             : #include <com/sun/star/table/CellAddress.hpp>
      13             : #include <com/sun/star/sheet/XDataPilotTable2.hpp>
      14             : #include <com/sun/star/sheet/XSpreadsheet.hpp>
      15             : #include <com/sun/star/uno/Sequence.h>
      16             : 
      17             : #include "test/testdllapi.hxx"
      18             : 
      19             : #include <vector>
      20             : 
      21             : namespace apitest {
      22             : 
      23          16 : class OOO_DLLPUBLIC_TEST XDataPilotTable2
      24             : {
      25             : public:
      26             :     void testGetPositionData();
      27             :     void testGetDrillDownData();
      28             :     void testGetOutputRangeByType();
      29             :     void testInsertDrillDownSheet();
      30             :     virtual ~XDataPilotTable2();
      31             : 
      32             :     virtual css::uno::Reference< css::uno::XInterface > initDP2() = 0;
      33             :     virtual css::uno::Reference< css::uno::XInterface > getSheets() = 0;
      34             : 
      35             : protected:
      36             : 
      37             : private:
      38             :     bool checkDrillDownSheetContent(css::uno::Reference< css::sheet::XSpreadsheet >, css::uno::Sequence< css::uno::Sequence < css::uno::Any > > aData);
      39             : 
      40             :     void getOutputRanges(css::uno::Reference< css::sheet::XDataPilotTable2 >);
      41             :     void buildDataFields(css::uno::Reference< css::sheet::XDataPilotTable2 >);
      42             :     void buildResultCells(css::uno::Reference< css::sheet::XDataPilotTable2 >);
      43             : 
      44             :     std::vector< css::table::CellAddress > maResultCells;
      45             :     std::vector< sal_Int32 > maDataFieldDims;
      46             :     css::table::CellRangeAddress maRangeWhole;
      47             :     css::table::CellRangeAddress maRangeTable;
      48             :     css::table::CellRangeAddress maRangeResult;
      49             : };
      50             : 
      51             : }
      52             : 
      53             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10