LCOV - code coverage report
Current view: top level - sw/source/ui/envelp - envprt.hxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 0 3 0.0 %
Date: 2014-04-11 Functions: 0 4 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 INCLUDED_SW_SOURCE_UI_ENVELP_ENVPRT_HXX
      21             : #define INCLUDED_SW_SOURCE_UI_ENVELP_ENVPRT_HXX
      22             : 
      23             : #include <sfx2/tabdlg.hxx>
      24             : #include <vcl/toolbox.hxx>
      25             : #include <vcl/field.hxx>
      26             : #include <vcl/fixed.hxx>
      27             : #include <vcl/group.hxx>
      28             : #include <vcl/button.hxx>
      29             : #include <svtools/stdctrl.hxx>
      30             : 
      31             : #include "envimg.hxx"
      32             : 
      33             : class SwEnvDlg;
      34             : 
      35             : // class SwEnvPrtPage ---------------------------------------------------------
      36             : 
      37           0 : class SwEnvPrtPage : public SfxTabPage
      38             : {
      39             :     ToolBox*     m_pAlignBox;
      40             :     RadioButton* m_pTopButton;
      41             :     RadioButton* m_pBottomButton;
      42             :     MetricField* m_pRightField;
      43             :     MetricField* m_pDownField;
      44             :     FixedText*   m_pPrinterInfo;
      45             :     PushButton*  m_pPrtSetup;
      46             : 
      47             :     sal_uInt16 m_aIds[ENV_VER_RGHT-ENV_HOR_LEFT+1];
      48             : 
      49             :     Printer* pPrt;
      50             : 
      51             :     SwEnvPrtPage(Window* pParent, const SfxItemSet& rSet);
      52             : 
      53             :     DECL_LINK(ClickHdl, void *);
      54             :     DECL_LINK(AlignHdl, void *);
      55             :     DECL_LINK( ButtonHdl, Button * );
      56             : 
      57           0 :     SwEnvDlg* GetParentSwEnvDlg() {return (SwEnvDlg*) GetParentDialog();}
      58             : 
      59             :     using TabPage::ActivatePage;
      60             :     using TabPage::DeactivatePage;
      61             : 
      62             : public:
      63             : 
      64             :     static SfxTabPage* Create(Window* pParent, const SfxItemSet& rSet);
      65             : 
      66             :     virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE;
      67             :     virtual int  DeactivatePage(SfxItemSet* pSet = 0) SAL_OVERRIDE;
      68             :             void FillItem(SwEnvItem& rItem);
      69             :     virtual bool FillItemSet(SfxItemSet& rSet) SAL_OVERRIDE;
      70             :     virtual void Reset(const SfxItemSet& rSet) SAL_OVERRIDE;
      71             : 
      72           0 :     inline void SetPrt(Printer* pPrinter) { pPrt = pPrinter; }
      73             : };
      74             : 
      75             : #endif
      76             : 
      77             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10