LCOV - code coverage report
Current view: top level - include/sfx2 - StyleManager.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 5 5 100.0 %
Date: 2015-06-13 12:38:46 Functions: 2 3 66.7 %
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_SFX2_STYLEMANAGER_HXX
      11             : #define INCLUDED_SFX2_STYLEMANAGER_HXX
      12             : 
      13             : #include <sfx2/dllapi.h>
      14             : 
      15             : #include <vcl/outdev.hxx>
      16             : 
      17             : #include <sfx2/StylePreviewRenderer.hxx>
      18             : #include <rsc/rscsfx.hxx>
      19             : 
      20             : #include <sfx2/objsh.hxx>
      21             : 
      22             : namespace sfx2
      23             : {
      24             : 
      25             : class SFX2_DLLPUBLIC StyleManager
      26             : {
      27             : protected:
      28             :     SfxObjectShell& mrShell;
      29             : 
      30             : public:
      31        2963 :     StyleManager(SfxObjectShell& rShell)
      32        2963 :         : mrShell(rShell)
      33        2963 :     {}
      34             : 
      35        2956 :     virtual ~StyleManager()
      36        2956 :     {}
      37             : 
      38             :     virtual StylePreviewRenderer* CreateStylePreviewRenderer(
      39             :                     OutputDevice& rOutputDev, OUString const & rName,
      40             :                     SfxStyleFamily eFamily, long nMaxHeight = 32) = 0;
      41             : };
      42             : 
      43             : } // end namespace sfx2
      44             : 
      45             : #endif //INCLUDED_SFX2_STYLEMANAGER_HXX
      46             : 
      47             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11