LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/svx/source/sidebar/text - SvxSBFontNameBox.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 6 0.0 %
Date: 2013-07-09 Functions: 0 5 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * This file is part of the LibreOffice project.
       3             :  *
       4             :  * This Source Code Form is subject to the terms of the Mozilla Public
       5             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       6             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       7             :  *
       8             :  * This file incorporates work covered by the following license notice:
       9             :  *
      10             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      11             :  *   contributor license agreements. See the NOTICE file distributed
      12             :  *   with this work for additional information regarding copyright
      13             :  *   ownership. The ASF licenses this file to you under the Apache
      14             :  *   License, Version 2.0 (the "License"); you may not use this file
      15             :  *   except in compliance with the License. You may obtain a copy of
      16             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      17             :  */
      18             : #ifndef SVX_SIDEBAR_SB_FONT_NAME_BOX_HXX
      19             : #define SVX_SIDEBAR_SB_FONT_NAME_BOX_HXX
      20             : 
      21             : #include <sfx2/bindings.hxx>
      22             : #include <svtools/ctrlbox.hxx>
      23             : #include <svtools/ctrltool.hxx>
      24             : 
      25             : /*
      26             : #include <sfx2/sectionpage.hxx>
      27             : #include <svx/svxdllapi.h>
      28             : #include <vcl/fixed.hxx>
      29             : 
      30             : #include <vcl/button.hxx>
      31             : #include <svl/lstner.hxx>
      32             : #include <vcl/toolbox.hxx>
      33             : 
      34             : #include <svx/tbxcolorupdate.hxx>
      35             : #include <svx/svxenum.hxx>
      36             : #include <svx/fhgtitem.hxx>
      37             : 
      38             : #define FONT_COLOR          1
      39             : #define BACK_COLOR          2
      40             : */
      41             : namespace svx
      42             : {
      43             :     class ToolboxButtonColorUpdater;
      44             : }
      45             : 
      46             : namespace svx { namespace sidebar {
      47             : 
      48           0 : class SvxSBFontNameBox : public FontNameBox//, public SfxListener
      49             : {
      50             : private:
      51             :     const FontList* pFontList;
      52             :     Font            aCurFont;
      53             :     String          aCurText;
      54             :     sal_uInt16 nFtCount;
      55             :     void            EnableControls_Impl();
      56             :     SfxBindings*    pBindings;//
      57             : protected:
      58             :     virtual void    Select();
      59             : 
      60             : public:
      61             :     SvxSBFontNameBox( Window* pParent, const ResId& rResId );
      62             :     SvxSBFontNameBox( Window* pParent );
      63             :     void            FillList();
      64           0 :     sal_uInt16 GetListCount() { return nFtCount; }
      65           0 :     void            Clear() { FontNameBox::Clear(); nFtCount = 0; }
      66           0 :     void            Fill( const FontList* pList )
      67           0 :                         { FontNameBox::Fill( pList );
      68           0 :                           nFtCount = pList->GetFontNameCount(); }
      69             :     void            SetBindings(SfxBindings* pBinding);//
      70             :     virtual long    PreNotify( NotifyEvent& rNEvt );
      71             :     virtual long    Notify(  NotifyEvent& rNEvt );//
      72             : };
      73             : 
      74             : } } // end of namespace svx::sidebar
      75             : 
      76             : #endif

Generated by: LCOV version 1.10