LCOV - code coverage report
Current view: top level - libreoffice/cui/source/options - optfltr.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 4 0.0 %
Date: 2012-12-27 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             :     FixedLine       aMSWordGB;
      33             :     CheckBox        aWBasicCodeCB;
      34             :     CheckBox        aWBasicWbctblCB;
      35             :     CheckBox        aWBasicStgCB;
      36             :     FixedLine       aMSExcelGB;
      37             :     CheckBox        aEBasicCodeCB;
      38             :     CheckBox        aEBasicExectblCB;
      39             :     CheckBox        aEBasicStgCB;
      40             :     FixedLine       aMSPPointGB;
      41             :     CheckBox        aPBasicCodeCB;
      42             :     CheckBox        aPBasicStgCB;
      43             : 
      44             :     OfaMSFilterTabPage( Window* pParent, const SfxItemSet& rSet );
      45             :     virtual ~OfaMSFilterTabPage();
      46             : 
      47             :     DECL_LINK(LoadWordBasicCheckHdl_Impl, void *);
      48             :     DECL_LINK(LoadExcelBasicCheckHdl_Impl, void *);
      49             : public:
      50             : 
      51             :     static SfxTabPage*  Create( Window* pParent,
      52             :                                 const SfxItemSet& rAttrSet );
      53             : 
      54             :     virtual sal_Bool        FillItemSet( SfxItemSet& rSet );
      55             :     virtual void        Reset( const SfxItemSet& rSet );
      56             : };
      57             : 
      58             : class OfaMSFilterTabPage2 : public SfxTabPage
      59             : {
      60           0 :     class MSFltrSimpleTable : public SvxSimpleTable
      61             :     {
      62             :         using SvTreeListBox::GetCheckButtonState;
      63             :         using SvTreeListBox::SetCheckButtonState;
      64             :         using SvxSimpleTable::SetTabs;
      65             : 
      66             :         void            CheckEntryPos(sal_uLong nPos, sal_uInt16 nCol, sal_Bool bChecked);
      67             :         SvButtonState   GetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol ) const;
      68             :         void            SetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol, SvButtonState );
      69             :     protected:
      70             :         virtual void    SetTabs();
      71             :         virtual void    HBarClick();
      72             :         virtual void    KeyInput( const KeyEvent& rKEvt );
      73             : 
      74             :     public:
      75           0 :         MSFltrSimpleTable(SvxSimpleTableContainer& rParent, WinBits nBits = WB_BORDER)
      76           0 :             : SvxSimpleTable(rParent, nBits)
      77             :         {
      78           0 :         }
      79             :     };
      80             : 
      81             :     SvxSimpleTableContainer m_aCheckLBContainer;
      82             :     MSFltrSimpleTable aCheckLB;
      83             :     FixedText aHeader1FT, aHeader2FT;
      84             :     String sHeader1, sHeader2;
      85             :     String sChgToFromMath,
      86             :            sChgToFromWriter,
      87             :            sChgToFromCalc,
      88             :            sChgToFromImpress;
      89             :     SvLBoxButtonData*   pCheckButtonData;
      90             : 
      91             :     OfaMSFilterTabPage2( Window* pParent, const SfxItemSet& rSet );
      92             :     virtual ~OfaMSFilterTabPage2();
      93             : 
      94             :     void            InsertEntry( const String& _rTxt, sal_IntPtr _nType );
      95             :     SvTreeListEntry*    GetEntry4Type( sal_IntPtr _nType ) const;
      96             : 
      97             : public:
      98             : 
      99             :     static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet );
     100             : 
     101             :     virtual sal_Bool        FillItemSet( SfxItemSet& rSet );
     102             :     virtual void        Reset( const SfxItemSet& rSet );
     103             : };
     104             : 
     105             : 
     106             : #endif //
     107             : 
     108             : 
     109             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10