LCOV - code coverage report
Current view: top level - cui/source/inc - zoom.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 _SVX_ZOOM_HXX
      29                 :            : #define _SVX_ZOOM_HXX
      30                 :            : 
      31                 :            : #include <sfx2/basedlgs.hxx>
      32                 :            : #include <vcl/button.hxx>
      33                 :            : #include <vcl/field.hxx>
      34                 :            : #include <vcl/fixed.hxx>
      35                 :            : 
      36                 :            : class SvxZoomDialog : public SfxModalDialog
      37                 :            : {
      38                 :            : private:
      39                 :            :     FixedLine           aZoomFl;
      40                 :            :     RadioButton         aOptimalBtn;
      41                 :            :     RadioButton         aWholePageBtn;
      42                 :            :     RadioButton         aPageWidthBtn;
      43                 :            :     RadioButton         a100Btn;
      44                 :            :     RadioButton         aUserBtn;
      45                 :            :     MetricField         aUserEdit;
      46                 :            : 
      47                 :            :     FixedLine           aViewLayoutFl;
      48                 :            :     RadioButton         aAutomaticBtn;
      49                 :            :     RadioButton         aSingleBtn;
      50                 :            :     RadioButton         aColumnsBtn;
      51                 :            :     MetricField         aColumnsEdit;
      52                 :            :     CheckBox            aBookModeChk;
      53                 :            : 
      54                 :            :     FixedLine           aBottomFl;
      55                 :            :     OKButton            aOKBtn;
      56                 :            :     CancelButton        aCancelBtn;
      57                 :            :     HelpButton          aHelpBtn;
      58                 :            : 
      59                 :            :     const SfxItemSet&   rSet;
      60                 :            :     SfxItemSet*         pOutSet;
      61                 :            :     sal_Bool                bModified;
      62                 :            : 
      63                 :            : #ifdef _SVX_ZOOM_CXX
      64                 :            :     DECL_LINK( UserHdl, RadioButton* );
      65                 :            :     DECL_LINK(SpinHdl, void *);
      66                 :            :     DECL_LINK( ViewLayoutUserHdl, RadioButton* );
      67                 :            :     DECL_LINK( ViewLayoutSpinHdl, MetricField* );
      68                 :            :     DECL_LINK( ViewLayoutCheckHdl, CheckBox* );
      69                 :            :     DECL_LINK( OKHdl, Button* );
      70                 :            : #endif
      71                 :            : 
      72                 :            : public:
      73                 :            :     SvxZoomDialog( Window* pParent, const SfxItemSet& rCoreSet );
      74                 :            :     ~SvxZoomDialog();
      75                 :            : 
      76                 :          0 :     const SfxItemSet*   GetOutputItemSet() const { return pOutSet; }
      77                 :            : 
      78                 :            :     sal_uInt16              GetFactor() const;
      79                 :            :     void                SetFactor( sal_uInt16 nNewFactor, sal_uInt16 nBtnId = 0 );
      80                 :            : 
      81                 :            :     void                HideButton( sal_uInt16 nBtnId );
      82                 :            :     void                SetLimits( sal_uInt16 nMin, sal_uInt16 nMax );
      83                 :            : };
      84                 :            : 
      85                 :            : #endif
      86                 :            : 
      87                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10