LCOV - code coverage report
Current view: top level - sw/source/ui/inc - linenum.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-08-25 Functions: 0 1 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : #ifndef _SWLINENUM_HXX
      29                 :            : #define _SWLINENUM_HXX
      30                 :            : 
      31                 :            : #include <sfx2/basedlgs.hxx>
      32                 :            : #include <sfx2/tabdlg.hxx>
      33                 :            : #include <vcl/fixed.hxx>
      34                 :            : #include <vcl/field.hxx>
      35                 :            : #include <numberingtypelistbox.hxx>
      36                 :            : 
      37                 :            : #include <vcl/lstbox.hxx>
      38                 :            : 
      39                 :            : class Window;
      40                 :            : class SfxItemSet;
      41                 :            : class SwView;
      42                 :            : class SwWrtShell;
      43                 :            : 
      44                 :            : /*--------------------------------------------------------------------
      45                 :            :    Description: SingleTabDialog
      46                 :            :  --------------------------------------------------------------------*/
      47                 :            : class SwLineNumberingDlg : public SfxSingleTabDialog
      48                 :            : {
      49                 :            :     SwWrtShell* pSh;
      50                 :            : 
      51                 :            :     DECL_LINK(OKHdl, void *);
      52                 :            : 
      53                 :            : public:
      54                 :          0 :     inline SwWrtShell* GetWrtShell() const { return pSh; }
      55                 :            : 
      56                 :            :      SwLineNumberingDlg(SwView *pVw);
      57                 :            :     ~SwLineNumberingDlg();
      58                 :            : };
      59                 :            : 
      60                 :            : /*--------------------------------------------------------------------
      61                 :            :    Description: TabPage
      62                 :            :  --------------------------------------------------------------------*/
      63                 :            : class SwLineNumberingPage : public SfxTabPage
      64                 :            : {
      65                 :            :     CheckBox        aNumberingOnCB;
      66                 :            :     FixedLine        aDisplayFL;
      67                 :            :     FixedText       aCharStyleFT;
      68                 :            :     ListBox         aCharStyleLB;
      69                 :            :     FixedText       aFormatFT;
      70                 :            :     SwNumberingTypeListBox   aFormatLB;
      71                 :            :     FixedText       aPosFT;
      72                 :            :     ListBox         aPosLB;
      73                 :            :     FixedText       aOffsetFT;
      74                 :            :     MetricField     aOffsetMF;
      75                 :            :     FixedText       aNumIntervalFT;
      76                 :            :     NumericField    aNumIntervalNF;
      77                 :            :     FixedText       aNumRowsFT;
      78                 :            :     FixedLine        aDivisorFL;
      79                 :            :     FixedText       aDivisorFT;
      80                 :            :     Edit            aDivisorED;
      81                 :            :     FixedText       aDivIntervalFT;
      82                 :            :     NumericField    aDivIntervalNF;
      83                 :            :     FixedText       aDivRowsFT;
      84                 :            :     FixedLine        aCountFL;
      85                 :            :     CheckBox        aCountEmptyLinesCB;
      86                 :            :     CheckBox        aCountFrameLinesCB;
      87                 :            :     CheckBox        aRestartEachPageCB;
      88                 :            : 
      89                 :            :     SwWrtShell*     pSh;
      90                 :            : 
      91                 :            :     SwLineNumberingPage( Window* pParent, const SfxItemSet& rSet );
      92                 :            :     ~SwLineNumberingPage();
      93                 :            : 
      94                 :            :     DECL_LINK(LineOnOffHdl, void * = 0);
      95                 :            :     DECL_LINK(ModifyHdl, void * = 0);
      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                 :            : #endif
     106                 :            : 
     107                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10