LCOV - code coverage report
Current view: top level - libreoffice/cui/source/inc - dstribut.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 4 0.0 %
Date: 2012-12-27 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             : #ifndef _SVX_DSTRIBUT_HXX
      20             : #define _SVX_DSTRIBUT_HXX
      21             : 
      22             : #include <svx/dlgctrl.hxx>
      23             : #include <vcl/group.hxx>
      24             : #include <vcl/fixed.hxx>
      25             : #include <svx/dstribut_enum.hxx>
      26             : 
      27             : class SvxDistributePage : public SvxTabPage
      28             : {
      29             :     SvxDistributeHorizontal     meDistributeHor;
      30             :     SvxDistributeVertical       meDistributeVer;
      31             : 
      32             :     FixedLine                   maFlHorizontal      ;
      33             :     RadioButton                 maBtnHorNone        ;
      34             :     RadioButton                 maBtnHorLeft        ;
      35             :     RadioButton                 maBtnHorCenter      ;
      36             :     RadioButton                 maBtnHorDistance    ;
      37             :     RadioButton                 maBtnHorRight       ;
      38             :     FixedImage                  maHorLow            ;
      39             :     FixedImage                  maHorCenter         ;
      40             :     FixedImage                  maHorDistance       ;
      41             :     FixedImage                  maHorHigh           ;
      42             :     FixedLine                   maFlVertical        ;
      43             :     RadioButton                 maBtnVerNone        ;
      44             :     RadioButton                 maBtnVerTop         ;
      45             :     RadioButton                 maBtnVerCenter      ;
      46             :     RadioButton                 maBtnVerDistance    ;
      47             :     RadioButton                 maBtnVerBottom      ;
      48             :     FixedImage                  maVerLow            ;
      49             :     FixedImage                  maVerCenter         ;
      50             :     FixedImage                  maVerDistance       ;
      51             :     FixedImage                  maVerHigh           ;
      52             : 
      53             : public:
      54             :     SvxDistributePage(Window* pWindow, const SfxItemSet& rInAttrs,
      55             :         SvxDistributeHorizontal eHor = SvxDistributeHorizontalNone,
      56             :         SvxDistributeVertical eVer = SvxDistributeVerticalNone);
      57             :     ~SvxDistributePage();
      58             : 
      59             :     static SfxTabPage* Create(Window*, const SfxItemSet&,
      60             :         SvxDistributeHorizontal eHor, SvxDistributeVertical eVer);
      61             :     static sal_uInt16* GetRanges();
      62             :     virtual sal_Bool FillItemSet(SfxItemSet&);
      63             :     virtual void Reset(const SfxItemSet&);
      64             :     virtual void PointChanged(Window* pWindow, RECT_POINT eRP);
      65             : 
      66           0 :     SvxDistributeHorizontal GetDistributeHor() const { return meDistributeHor; }
      67           0 :     SvxDistributeVertical GetDistributeVer() const { return meDistributeVer; }
      68             : };
      69             : 
      70             : class SvxDistributeDialog : public SfxSingleTabDialog
      71             : {
      72             :     SvxDistributePage*          mpPage;
      73             : 
      74             : public:
      75             :     SvxDistributeDialog(Window* pParent, const SfxItemSet& rAttr,
      76             :         SvxDistributeHorizontal eHor = SvxDistributeHorizontalNone,
      77             :         SvxDistributeVertical eVer = SvxDistributeVerticalNone);
      78             :     ~SvxDistributeDialog();
      79             : 
      80           0 :     SvxDistributeHorizontal GetDistributeHor() const { return mpPage->GetDistributeHor(); }
      81           0 :     SvxDistributeVertical GetDistributeVer() const { return mpPage->GetDistributeVer(); }
      82             : };
      83             : 
      84             : 
      85             : #endif // _SVX_DSTRIBUT_HXX
      86             : 
      87             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10