LCOV - code coverage report
Current view: top level - libreoffice/sw/source/ui/envelp - envfmt.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 _ENVFMT_HXX
      20             : #define _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             : // class SwEnvFmtPage ---------------------------------------------------------
      32             : 
      33             : class SwEnvFmtPage : public SfxTabPage
      34             : {
      35             : 
      36             :     FixedLine    aAddrFL;
      37             :     FixedInfo    aAddrPosInfo;
      38             :     FixedText    aAddrLeftText;
      39             :     MetricField  aAddrLeftField;
      40             :     FixedText    aAddrTopText;
      41             :     MetricField  aAddrTopField;
      42             :     FixedInfo    aAddrFormatInfo;
      43             :     MenuButton   aAddrEditButton;
      44             :     FixedLine    aSendFL;
      45             :     FixedInfo    aSendPosInfo;
      46             :     FixedText    aSendLeftText;
      47             :     MetricField  aSendLeftField;
      48             :     FixedText    aSendTopText;
      49             :     MetricField  aSendTopField;
      50             :     FixedInfo    aSendFormatInfo;
      51             :     MenuButton   aSendEditButton;
      52             :     FixedLine    aSizeFL;
      53             :     FixedText    aSizeFormatText;
      54             :     ListBox      aSizeFormatBox;
      55             :     FixedText    aSizeWidthText;
      56             :     MetricField  aSizeWidthField;
      57             :     FixedText    aSizeHeightText;
      58             :     MetricField  aSizeHeightField;
      59             :     SwEnvPreview aPreview;
      60             : 
      61             :     std::vector<sal_uInt16>  aIDs;
      62             : 
      63             :      SwEnvFmtPage(Window* pParent, const SfxItemSet& rSet);
      64             :     ~SwEnvFmtPage();
      65             : 
      66             :     DECL_LINK( ModifyHdl, Edit * );
      67             :     DECL_LINK( EditHdl, MenuButton * );
      68             :     DECL_LINK(FormatHdl, void *);
      69             : 
      70             :     void SetMinMax();
      71             : 
      72             :     SfxItemSet  *GetCollItemSet(SwTxtFmtColl* pColl, sal_Bool bSender);
      73             : 
      74           0 :     SwEnvDlg    *GetParentSwEnvDlg() {return (SwEnvDlg*) GetParentDialog();}
      75             : 
      76             :     using TabPage::ActivatePage;
      77             :     using TabPage::DeactivatePage;
      78             : 
      79             : public:
      80             : 
      81             :     static SfxTabPage* Create(Window* pParent, const SfxItemSet& rSet);
      82             : 
      83             :     virtual void ActivatePage(const SfxItemSet& rSet);
      84             :     virtual int  DeactivatePage(SfxItemSet* pSet = 0);
      85             :             void FillItem(SwEnvItem& rItem);
      86             :     virtual sal_Bool FillItemSet(SfxItemSet& rSet);
      87             :     virtual void Reset(const SfxItemSet& rSet);
      88             : };
      89             : 
      90             : #endif
      91             : 
      92             : 
      93             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10