LCOV - code coverage report
Current view: top level - sw/source/core/uibase/inc - break.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 3 0.0 %
Date: 2014-04-14 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : 
       2             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       3             : /*
       4             :  * This file is part of the LibreOffice project.
       5             :  *
       6             :  * This Source Code Form is subject to the terms of the Mozilla Public
       7             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       8             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       9             :  *
      10             :  * This file incorporates work covered by the following license notice:
      11             :  *
      12             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      13             :  *   contributor license agreements. See the NOTICE file distributed
      14             :  *   with this work for additional information regarding copyright
      15             :  *   ownership. The ASF licenses this file to you under the Apache
      16             :  *   License, Version 2.0 (the "License"); you may not use this file
      17             :  *   except in compliance with the License. You may obtain a copy of
      18             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      19             :  */
      20             : #ifndef INCLUDED_SW_SOURCE_UI_INC_BREAK_HXX
      21             : #define INCLUDED_SW_SOURCE_UI_INC_BREAK_HXX
      22             : 
      23             : #include <svx/stddlg.hxx>
      24             : 
      25             : #include <vcl/button.hxx>
      26             : 
      27             : #include <vcl/fixed.hxx>
      28             : 
      29             : #include <vcl/lstbox.hxx>
      30             : 
      31             : #include <vcl/field.hxx>
      32             : 
      33             : #include <boost/optional.hpp>
      34             : 
      35             : class SwWrtShell;
      36             : 
      37             : class SwBreakDlg: public SvxStandardDialog
      38             : {
      39             :     SwWrtShell     &rSh;
      40             :     RadioButton*    m_pLineBtn;
      41             :     RadioButton*    m_pColumnBtn;
      42             :     RadioButton*    m_pPageBtn;
      43             :     FixedText*      m_pPageCollText;
      44             :     ListBox*        m_pPageCollBox;
      45             :     CheckBox*       m_pPageNumBox;
      46             :     NumericField*   m_pPageNumEdit;
      47             : 
      48             :     OUString        aTemplate;
      49             :     sal_uInt16      nKind;
      50             :     ::boost::optional<sal_uInt16>      oPgNum;
      51             : 
      52             :     sal_Bool            bHtmlMode;
      53             : 
      54             :     DECL_LINK( ClickHdl, void * );
      55             :     DECL_LINK( PageNumHdl, CheckBox * );
      56             :     DECL_LINK(PageNumModifyHdl, void *);
      57             :     DECL_LINK(OkHdl, void *);
      58             : 
      59             :     void CheckEnable();
      60             : 
      61             : protected:
      62             :     virtual void Apply() SAL_OVERRIDE;
      63             : 
      64             : public:
      65             :     SwBreakDlg( Window *pParent, SwWrtShell &rSh );
      66             :     virtual ~SwBreakDlg();
      67             : 
      68           0 :     OUString    GetTemplateName() { return aTemplate; }
      69           0 :     sal_uInt16  GetKind() { return nKind; }
      70           0 :     ::boost::optional<sal_uInt16>  GetPageNumber() { return oPgNum; }
      71             : };
      72             : 
      73             : #endif
      74             : 
      75             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10