LCOV - code coverage report
Current view: top level - libreoffice/sd/source/ui/inc - dlgsnap.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-27 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             : 
      20             : 
      21             : #ifndef _SD_DLGSNAP_HXX
      22             : #define _SD_DLGSNAP_HXX
      23             : 
      24             : 
      25             : #include <vcl/button.hxx>
      26             : #include <vcl/fixed.hxx>
      27             : #include <vcl/field.hxx>
      28             : #include <vcl/group.hxx>
      29             : #include <tools/fract.hxx>
      30             : #include <vcl/dialog.hxx>
      31             : #include "sdenumdef.hxx"
      32             : /************************************************************************/
      33             : 
      34             : class SfxItemSet;
      35             : namespace sd {
      36             :     class View;
      37             : }
      38             : 
      39             : /*************************************************************************
      40             : |*
      41             : |* Dialog zum Einstellen von Fanglinien und -punkten
      42             : |*
      43             : \************************************************************************/
      44             : 
      45           0 : class SdSnapLineDlg : public ModalDialog
      46             : {
      47             : private:
      48             :     FixedLine           aFlPos;
      49             :     FixedText           aFtX;
      50             :     MetricField         aMtrFldX;
      51             :     FixedText           aFtY;
      52             :     MetricField         aMtrFldY;
      53             :     FixedLine           aFlDir;
      54             :     ImageRadioButton    aRbPoint;
      55             :     ImageRadioButton    aRbVert;
      56             :     ImageRadioButton    aRbHorz;
      57             :     OKButton            aBtnOK;
      58             :     CancelButton        aBtnCancel;
      59             :     HelpButton          aBtnHelp;
      60             :     PushButton          aBtnDelete;
      61             :     long                nXValue;
      62             :     long                nYValue;
      63             :     FieldUnit           eUIUnit;
      64             :     Fraction            aUIScale;
      65             : 
      66             :     DECL_LINK( ClickHdl, Button * );
      67             : 
      68             : public:
      69             :     SdSnapLineDlg(Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView);
      70             : 
      71             :     void GetAttr(SfxItemSet& rOutAttrs);
      72             : 
      73             :     void HideRadioGroup();
      74           0 :     void HideDeleteBtn() { aBtnDelete.Hide(); }
      75             :     void SetInputFields(sal_Bool bEnableX, sal_Bool bEnableY);
      76             : };
      77             : 
      78             : 
      79             : 
      80             : #endif      // _SD_DLGSNAP_HXX
      81             : 
      82             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10