LCOV - code coverage report
Current view: top level - libreoffice/sw/source/ui/inc - numpara.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 Functions: 0 1 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 _NUMPARA_HXX
      20             : #define _NUMPARA_HXX
      21             : 
      22             : 
      23             : #include <sfx2/tabdlg.hxx>
      24             : #include <vcl/lstbox.hxx>
      25             : #include <vcl/fixed.hxx>
      26             : #include <vcl/field.hxx>
      27             : #include <vcl/button.hxx>
      28             : 
      29             : 
      30             : /* --- class SwParagraphNumTabPage ----------------------------------------
      31             :     with this TabPage numbering settings at the paragraph / paragraph style
      32             :     are performed.
      33             : 
      34             :  ---------------------------------------------------------------------------*/
      35             : class SwParagraphNumTabPage : public SfxTabPage
      36             : {
      37             :     FixedLine               aOutlineStartFL;
      38             :     FixedText               aOutlineLvFT;
      39             :     ListBox                 aOutlineLvLB;
      40             : 
      41             :     FixedLine               aNewStartFL;
      42             :     FixedText               aNumberStyleFT;
      43             :     ListBox                 aNumberStyleLB;
      44             : 
      45             :     TriStateBox             aNewStartCB;
      46             :     TriStateBox             aNewStartNumberCB;
      47             :     NumericField            aNewStartNF;
      48             : 
      49             :     FixedLine               aCountParaFL;
      50             :     TriStateBox             aCountParaCB;
      51             :     TriStateBox             aRestartParaCountCB;
      52             :     FixedText               aRestartFT;
      53             :     NumericField            aRestartNF;
      54             : 
      55             :     // --> OD 2008-04-14 #outlinelevel#
      56             :     const String msOutlineNumbering;
      57             : 
      58             :     sal_Bool                    bModified : 1;
      59             :     sal_Bool                    bCurNumrule : 1;
      60             : 
      61             :     DECL_LINK(NewStartHdl_Impl, void *);
      62             :     DECL_LINK( StyleHdl_Impl, ListBox* );
      63             :     DECL_LINK(LineCountHdl_Impl, void *);
      64             : 
      65             : protected:
      66             :         SwParagraphNumTabPage(Window* pParent, const SfxItemSet& rSet );
      67             : 
      68             : public:
      69             :         ~SwParagraphNumTabPage();
      70             : 
      71             :     static SfxTabPage*  Create( Window* pParent,
      72             :                                 const SfxItemSet& rSet );
      73             :     static sal_uInt16*      GetRanges();
      74             : 
      75             :     virtual sal_Bool        FillItemSet( SfxItemSet& rSet );
      76             :     virtual void        Reset( const SfxItemSet& rSet );
      77             : 
      78             :     void                EnableNewStart();
      79             :     void                DisableOutline();
      80             :     void                DisableNumbering();
      81             : 
      82           0 :     ListBox&            GetStyleBox() {return aNumberStyleLB;};
      83             : };
      84             : 
      85             : 
      86             : #endif
      87             : 
      88             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10