LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/cui/source/options - optfltr.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 4 0.0 %
Date: 2013-07-09 Functions: 0 3 0.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             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : #ifndef _OFA_OPTFLTR_HXX
      20             : #define _OFA_OPTFLTR_HXX
      21             : 
      22             : #include <vcl/button.hxx>
      23             : #include <vcl/group.hxx>
      24             : #include <vcl/fixed.hxx>
      25             : #include <sfx2/tabdlg.hxx>
      26             : #include <svx/simptabl.hxx>
      27             : 
      28             : 
      29             : 
      30             : class OfaMSFilterTabPage : public SfxTabPage
      31             : {
      32             :     CheckBox*       aWBasicCodeCB;
      33             :     CheckBox*       aWBasicWbctblCB;
      34             :     CheckBox*       aWBasicStgCB;
      35             :     CheckBox*       aEBasicCodeCB;
      36             :     CheckBox*       aEBasicExectblCB;
      37             :     CheckBox*       aEBasicStgCB;
      38             :     CheckBox*       aPBasicCodeCB;
      39             :     CheckBox*       aPBasicStgCB;
      40             : 
      41             :     OfaMSFilterTabPage( Window* pParent, const SfxItemSet& rSet );
      42             :     virtual ~OfaMSFilterTabPage();
      43             : 
      44             :     DECL_LINK(LoadWordBasicCheckHdl_Impl, void *);
      45             :     DECL_LINK(LoadExcelBasicCheckHdl_Impl, void *);
      46             : public:
      47             : 
      48             :     static SfxTabPage*  Create( Window* pParent,
      49             :                                 const SfxItemSet& rAttrSet );
      50             : 
      51             :     virtual sal_Bool        FillItemSet( SfxItemSet& rSet );
      52             :     virtual void        Reset( const SfxItemSet& rSet );
      53             : };
      54             : 
      55             : class OfaMSFilterTabPage2 : public SfxTabPage
      56             : {
      57           0 :     class MSFltrSimpleTable : public SvxSimpleTable
      58             :     {
      59             :         using SvTreeListBox::GetCheckButtonState;
      60             :         using SvTreeListBox::SetCheckButtonState;
      61             :         using SvxSimpleTable::SetTabs;
      62             : 
      63             :         void            CheckEntryPos(sal_uLong nPos, sal_uInt16 nCol, sal_Bool bChecked);
      64             :         SvButtonState   GetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol ) const;
      65             :         void            SetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol, SvButtonState );
      66             :     protected:
      67             :         virtual void    SetTabs();
      68             :         virtual void    HBarClick();
      69             :         virtual void    KeyInput( const KeyEvent& rKEvt );
      70             : 
      71             :     public:
      72           0 :         MSFltrSimpleTable(SvxSimpleTableContainer& rParent, WinBits nBits = WB_BORDER)
      73           0 :             : SvxSimpleTable(rParent, nBits)
      74             :         {
      75           0 :         }
      76             :     };
      77             : 
      78             :     SvxSimpleTableContainer m_aCheckLBContainer;
      79             :     MSFltrSimpleTable aCheckLB;
      80             :     FixedText aHeader1FT, aHeader2FT;
      81             :     String sHeader1, sHeader2;
      82             :     String sChgToFromMath,
      83             :            sChgToFromWriter,
      84             :            sChgToFromCalc,
      85             :            sChgToFromImpress;
      86             :     SvLBoxButtonData*   pCheckButtonData;
      87             : 
      88             :     OfaMSFilterTabPage2( Window* pParent, const SfxItemSet& rSet );
      89             :     virtual ~OfaMSFilterTabPage2();
      90             : 
      91             :     void            InsertEntry( const String& _rTxt, sal_IntPtr _nType );
      92             :     SvTreeListEntry*    GetEntry4Type( sal_IntPtr _nType ) const;
      93             : 
      94             : public:
      95             : 
      96             :     static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet );
      97             : 
      98             :     virtual sal_Bool        FillItemSet( SfxItemSet& rSet );
      99             :     virtual void        Reset( const SfxItemSet& rSet );
     100             : };
     101             : 
     102             : 
     103             : #endif //
     104             : 
     105             : 
     106             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10