LCOV - code coverage report
Current view: top level - cui/source/options - optfltr.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 4 0.0 %
Date: 2015-06-13 12:38:46 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 INCLUDED_CUI_SOURCE_OPTIONS_OPTFLTR_HXX
      20             : #define INCLUDED_CUI_SOURCE_OPTIONS_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 <svtools/simptabl.hxx>
      27             : 
      28             : class OfaMSFilterTabPage : public SfxTabPage
      29             : {
      30             :     VclPtr<CheckBox>       aWBasicCodeCB;
      31             :     VclPtr<CheckBox>       aWBasicWbctblCB;
      32             :     VclPtr<CheckBox>       aWBasicStgCB;
      33             :     VclPtr<CheckBox>       aEBasicCodeCB;
      34             :     VclPtr<CheckBox>       aEBasicExectblCB;
      35             :     VclPtr<CheckBox>       aEBasicStgCB;
      36             :     VclPtr<CheckBox>       aPBasicCodeCB;
      37             :     VclPtr<CheckBox>       aPBasicStgCB;
      38             : 
      39             : 
      40             :     DECL_LINK(LoadWordBasicCheckHdl_Impl, void *);
      41             :     DECL_LINK(LoadExcelBasicCheckHdl_Impl, void *);
      42             : public:
      43             :     OfaMSFilterTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
      44             :     virtual ~OfaMSFilterTabPage();
      45             :     virtual void dispose() SAL_OVERRIDE;
      46             : 
      47             :     static VclPtr<SfxTabPage>  Create( vcl::Window* pParent,
      48             :                                 const SfxItemSet* rAttrSet );
      49             : 
      50             :     virtual bool        FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
      51             :     virtual void        Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
      52             : };
      53             : 
      54             : class OfaMSFilterTabPage2 : public SfxTabPage
      55             : {
      56           0 :     class MSFltrSimpleTable : public SvSimpleTable
      57             :     {
      58             :         using SvTreeListBox::GetCheckButtonState;
      59             :         using SvTreeListBox::SetCheckButtonState;
      60             :         using SvSimpleTable::SetTabs;
      61             : 
      62             :         void            CheckEntryPos(sal_uLong nPos, sal_uInt16 nCol, bool bChecked);
      63             :         static SvButtonState GetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol );
      64             :         void            SetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol, SvButtonState );
      65             :     protected:
      66             :         virtual void    SetTabs() SAL_OVERRIDE;
      67             :         virtual void    HBarClick() SAL_OVERRIDE;
      68             :         virtual void    KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
      69             : 
      70             :     public:
      71           0 :         MSFltrSimpleTable(SvSimpleTableContainer& rParent, WinBits nBits = 0)
      72           0 :             : SvSimpleTable(rParent, nBits)
      73             :         {
      74           0 :         }
      75             :     };
      76             : 
      77             :     VclPtr<SvSimpleTableContainer> m_pCheckLBContainer;
      78             :     VclPtr<MSFltrSimpleTable> m_pCheckLB;
      79             :     OUString sHeader1, sHeader2;
      80             :     OUString sChgToFromMath,
      81             :            sChgToFromWriter,
      82             :            sChgToFromCalc,
      83             :            sChgToFromImpress,
      84             :            sChgToFromSmartArt;
      85             :     SvLBoxButtonData*   pCheckButtonData;
      86             : 
      87             :     VclPtr<RadioButton> aHighlightingRB;
      88             :     VclPtr<RadioButton> aShadingRB;
      89             : 
      90             :     virtual ~OfaMSFilterTabPage2();
      91             :     virtual void dispose() SAL_OVERRIDE;
      92             : 
      93             :     void                InsertEntry( const OUString& _rTxt, sal_IntPtr _nType );
      94             :     void                InsertEntry( const OUString& _rTxt, sal_IntPtr _nType,
      95             :                                      bool loadEnabled, bool saveEnabled );
      96             :     SvTreeListEntry*    GetEntry4Type( sal_IntPtr _nType ) const;
      97             : 
      98             : public:
      99             :     OfaMSFilterTabPage2( vcl::Window* pParent, const SfxItemSet& rSet );
     100             :     static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet );
     101             : 
     102             :     virtual bool        FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
     103             :     virtual void        Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
     104             : };
     105             : 
     106             : 
     107             : #endif
     108             : 
     109             : 
     110             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11