LCOV - code coverage report
Current view: top level - libreoffice/cui/source/inc - zoom.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 _SVX_ZOOM_HXX
      20             : #define _SVX_ZOOM_HXX
      21             : 
      22             : #include <sfx2/basedlgs.hxx>
      23             : #include <vcl/button.hxx>
      24             : #include <vcl/field.hxx>
      25             : #include <vcl/fixed.hxx>
      26             : 
      27             : class SvxZoomDialog : public SfxModalDialog
      28             : {
      29             : private:
      30             :     RadioButton*        m_pOptimalBtn;
      31             :     RadioButton*        m_pWholePageBtn;
      32             :     RadioButton*        m_pPageWidthBtn;
      33             :     RadioButton*        m_p100Btn;
      34             :     RadioButton*        m_pUserBtn;
      35             :     MetricField*        m_pUserEdit;
      36             : 
      37             :     VclContainer*       m_pViewFrame;
      38             :     RadioButton*        m_pAutomaticBtn;
      39             :     RadioButton*        m_pSingleBtn;
      40             :     RadioButton*        m_pColumnsBtn;
      41             :     MetricField*        m_pColumnsEdit;
      42             :     CheckBox*           m_pBookModeChk;
      43             : 
      44             :     OKButton*           m_pOKBtn;
      45             : 
      46             :     const SfxItemSet&   rSet;
      47             :     SfxItemSet*         pOutSet;
      48             :     sal_Bool            bModified;
      49             : 
      50             : #ifdef _SVX_ZOOM_CXX
      51             :     DECL_LINK( UserHdl, RadioButton* );
      52             :     DECL_LINK(SpinHdl, void *);
      53             :     DECL_LINK( ViewLayoutUserHdl, RadioButton* );
      54             :     DECL_LINK( ViewLayoutSpinHdl, MetricField* );
      55             :     DECL_LINK( ViewLayoutCheckHdl, CheckBox* );
      56             :     DECL_LINK( OKHdl, Button* );
      57             : #endif
      58             : 
      59             : public:
      60             :     SvxZoomDialog( Window* pParent, const SfxItemSet& rCoreSet );
      61             :     ~SvxZoomDialog();
      62             : 
      63           0 :     const SfxItemSet*   GetOutputItemSet() const { return pOutSet; }
      64             : 
      65             :     sal_uInt16              GetFactor() const;
      66             :     void                SetFactor( sal_uInt16 nNewFactor, sal_uInt16 nBtnId = 0 );
      67             : 
      68             :     void                HideButton( sal_uInt16 nBtnId );
      69             :     void                SetLimits( sal_uInt16 nMin, sal_uInt16 nMax );
      70             : };
      71             : 
      72             : #endif
      73             : 
      74             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10