LCOV - code coverage report
Current view: top level - include/test/sheet - xstyleloader.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 2 2 100.0 %
Date: 2015-06-13 12:38:46 Functions: 2 2 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_XSTYLELOADER_HXX
      11             : #define INCLUDED_TEST_SHEET_XSTYLELOADER_HXX
      12             : 
      13             : #include <rtl/ustring.hxx>
      14             : #include <com/sun/star/style/XStyleLoader2.hpp>
      15             : #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
      16             : 
      17             : #include <test/testdllapi.hxx>
      18             : 
      19             : namespace apitest {
      20             : 
      21           2 : class OOO_DLLPUBLIC_TEST XStyleLoader
      22             : {
      23             : public:
      24             :     virtual css::uno::Reference< css::uno::XInterface > init() = 0;
      25             : 
      26             :     virtual OUString getTestURL() = 0;
      27             :     virtual css::uno::Reference< css::lang::XComponent  > getTargetComponent() = 0;
      28             :     virtual css::uno::Reference< css::lang::XComponent > getSourceComponent() = 0;
      29             : 
      30             :     // XStyleLoader
      31             :     void testLoadStylesFromURL();
      32             :     // XStyleLoader2
      33             :     void testLoadStylesFromDocument();
      34             : 
      35             : private:
      36             :     static void checkStyleProperties(css::uno::Reference< css::style::XStyleFamiliesSupplier > xFamilySupplier);
      37             : 
      38             : protected:
      39           2 :     ~XStyleLoader() {}
      40             : 
      41             : };
      42             : 
      43             : }
      44             : 
      45             : #endif // INCLUDED_TEST_SHEET_XSTYLELOADER_HXX

Generated by: LCOV version 1.11