LCOV - code coverage report
Current view: top level - sw/source/uibase/inc - numpara.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 2 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 2 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_SW_SOURCE_UIBASE_INC_NUMPARA_HXX
      20             : #define INCLUDED_SW_SOURCE_UIBASE_INC_NUMPARA_HXX
      21             : 
      22             : #include <sfx2/tabdlg.hxx>
      23             : #include <vcl/lstbox.hxx>
      24             : #include <vcl/fixed.hxx>
      25             : #include <vcl/field.hxx>
      26             : #include <vcl/button.hxx>
      27             : 
      28             : // with this TabPage numbering settings at the paragraph / paragraph style
      29             : // are performed.
      30             : class SwParagraphNumTabPage : public SfxTabPage
      31             : {
      32             :     VclPtr<VclHBox>                 m_pOutlineStartBX;
      33             :     VclPtr<ListBox>                 m_pOutlineLvLB;
      34             :     VclPtr<VclHBox>                 m_pNumberStyleBX;
      35             :     VclPtr<ListBox>                 m_pNumberStyleLB;
      36             :     VclPtr<PushButton>              m_pEditNumStyleBtn;
      37             : 
      38             :     VclPtr<TriStateBox>             m_pNewStartCB;
      39             :     VclPtr<VclHBox>                 m_pNewStartBX;
      40             :     VclPtr<TriStateBox>             m_pNewStartNumberCB;
      41             :     VclPtr<NumericField>            m_pNewStartNF;
      42             : 
      43             :     VclPtr<VclFrame>                m_pCountParaFram;
      44             :     VclPtr<TriStateBox>             m_pCountParaCB;
      45             :     VclPtr<TriStateBox>             m_pRestartParaCountCB;
      46             : 
      47             :     VclPtr<VclHBox>                 m_pRestartBX;
      48             :     VclPtr<NumericField>            m_pRestartNF;
      49             : 
      50             :     // --> OD 2008-04-14 #outlinelevel#
      51             :     const OUString msOutlineNumbering;
      52             : 
      53             :     bool                    bModified : 1;
      54             :     bool                    bCurNumrule : 1;
      55             : 
      56             :     DECL_LINK(NewStartHdl_Impl, void *);
      57             :     DECL_LINK( StyleHdl_Impl, ListBox* );
      58             :     DECL_LINK(LineCountHdl_Impl, void *);
      59             :     DECL_LINK(EditNumStyleHdl_Impl, void *);
      60             :     DECL_LINK(EditNumStyleSelectHdl_Impl, void *);
      61             : 
      62             :     static const sal_uInt16 aPageRg[];
      63             : 
      64             : protected:
      65             :     void aCountParaFL();
      66             :     static bool ExecuteEditNumStyle_Impl( sal_uInt16 nId, const OUString& rStr, const OUString& rRefStr,
      67             :                           sal_uInt16 nFamily, sal_uInt16 nMask = 0,
      68             :                           const sal_uInt16* pModifier = NULL );
      69             : 
      70             : public:
      71             :     SwParagraphNumTabPage(vcl::Window* pParent, const SfxItemSet& rSet );
      72             :     virtual ~SwParagraphNumTabPage();
      73             :     virtual void        dispose() SAL_OVERRIDE;
      74             : 
      75             :     static VclPtr<SfxTabPage> Create( vcl::Window* pParent,
      76             :                                       const SfxItemSet* rSet );
      77           0 :     static const sal_uInt16* GetRanges() { return aPageRg; }
      78             : 
      79             :     virtual bool        FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
      80             :     virtual void        Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
      81             : 
      82             :     void                EnableNewStart();
      83             :     void                DisableOutline();
      84             :     void                DisableNumbering();
      85             : 
      86           0 :     ListBox&            GetStyleBox() {return *m_pNumberStyleLB;};
      87             : };
      88             : 
      89             : #endif
      90             : 
      91             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11