LCOV - code coverage report
Current view: top level - sw/source/ui/envelp - envfmt.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 2 0.0 %
Date: 2014-11-03 Functions: 0 3 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 INCLUDED_SW_SOURCE_UI_ENVELP_ENVFMT_HXX
      20             : #define INCLUDED_SW_SOURCE_UI_ENVELP_ENVFMT_HXX
      21             : 
      22             : #include <svtools/stdctrl.hxx>
      23             : #include <vcl/field.hxx>
      24             : #include <vcl/menubtn.hxx>
      25             : #include <vcl/group.hxx>
      26             : 
      27             : #include "envlop.hxx"
      28             : 
      29             : class SwTxtFmtColl;
      30             : 
      31           0 : class SwEnvFmtPage : public SfxTabPage
      32             : {
      33             :     MetricField*  m_pAddrLeftField;
      34             :     MetricField*  m_pAddrTopField;
      35             :     MenuButton*   m_pAddrEditButton;
      36             :     MetricField*  m_pSendLeftField;
      37             :     MetricField*  m_pSendTopField;
      38             :     MenuButton*   m_pSendEditButton;
      39             :     ListBox*      m_pSizeFormatBox;
      40             :     MetricField*  m_pSizeWidthField;
      41             :     MetricField*  m_pSizeHeightField;
      42             :     SwEnvPreview* m_pPreview;
      43             : 
      44             :     std::vector<sal_uInt16>  aIDs;
      45             : 
      46             :     SwEnvFmtPage(vcl::Window* pParent, const SfxItemSet& rSet);
      47             : 
      48             :     DECL_LINK( ModifyHdl, Edit * );
      49             :     DECL_LINK( EditHdl, MenuButton * );
      50             :     DECL_LINK(FormatHdl, void *);
      51             : 
      52             :     void SetMinMax();
      53             : 
      54             :     SfxItemSet  *GetCollItemSet(SwTxtFmtColl* pColl, bool bSender);
      55             : 
      56           0 :     SwEnvDlg    *GetParentSwEnvDlg() {return (SwEnvDlg*) GetParentDialog();}
      57             : 
      58             :     using TabPage::ActivatePage;
      59             :     using TabPage::DeactivatePage;
      60             : 
      61             : public:
      62             : 
      63             :     static SfxTabPage* Create(vcl::Window* pParent, const SfxItemSet* rSet);
      64             : 
      65             :     virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE;
      66             :     virtual int  DeactivatePage(SfxItemSet* pSet = 0) SAL_OVERRIDE;
      67             :             void FillItem(SwEnvItem& rItem);
      68             :     virtual bool FillItemSet(SfxItemSet* rSet) SAL_OVERRIDE;
      69             :     virtual void Reset(const SfxItemSet* rSet) SAL_OVERRIDE;
      70             : };
      71             : 
      72             : #endif
      73             : 
      74             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10