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

Generated by: LCOV version 1.10