LCOV - code coverage report
Current view: top level - sc/source/ui/inc - mtrindlg.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 1 0.0 %
Date: 2014-04-14 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             : 
      20             : #ifndef SC_MTRINDLG_HXX
      21             : #define SC_MTRINDLG_HXX
      22             : 
      23             : #include <vcl/dialog.hxx>
      24             : #include <vcl/field.hxx>
      25             : #include <vcl/button.hxx>
      26             : #include <vcl/fixed.hxx>
      27             : 
      28             : 
      29           0 : class ScMetricInputDlg : public ModalDialog
      30             : {
      31             : public:
      32             :     ScMetricInputDlg( Window*        pParent,
      33             :                       const OString& sDialogName,
      34             :                       long           nCurrent,
      35             :                       long           nDefault,
      36             :                       FieldUnit      eFUnit    = FUNIT_MM,
      37             :                       sal_uInt16     nDecimals = 2,
      38             :                       long           nMaximum  = 1000,
      39             :                       long           nMinimum  = 0,
      40             :                       long           nFirst    = 1,
      41             :                       long           nLast     = 100 );
      42             : 
      43             :     long GetInputValue( FieldUnit eUnit = FUNIT_TWIP ) const;
      44             : 
      45             : private:
      46             :     MetricField*    m_pEdValue;
      47             :     CheckBox*       m_pBtnDefVal;
      48             :     long            nDefaultValue;
      49             :     long            nCurrentValue;
      50             : 
      51             :     DECL_LINK(SetDefValHdl, void *);
      52             :     DECL_LINK(ModifyHdl, void *);
      53             : };
      54             : 
      55             : #endif // SC_MTRINDLG_HXX
      56             : 
      57             : 
      58             : 
      59             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10