LCOV - code coverage report
Current view: top level - cui/source/inc - measure.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_CUI_SOURCE_INC_MEASURE_HXX
      20             : #define INCLUDED_CUI_SOURCE_INC_MEASURE_HXX
      21             : 
      22             : #include <vcl/fixed.hxx>
      23             : #include <vcl/group.hxx>
      24             : #include <sfx2/basedlgs.hxx>
      25             : #include <svx/dlgctrl.hxx>
      26             : #include <svx/measctrl.hxx>
      27             : 
      28             : class SdrView;
      29             : 
      30             : /// Dialog for changing TextAtrributes
      31             : class SvxMeasurePage : public SvxTabPage
      32             : {
      33             : private:
      34             : 
      35             :     MetricField*         m_pMtrFldLineDist;
      36             :     MetricField*         m_pMtrFldHelplineOverhang;
      37             :     MetricField*         m_pMtrFldHelplineDist;
      38             :     MetricField*         m_pMtrFldHelpline1Len;
      39             :     MetricField*         m_pMtrFldHelpline2Len;
      40             :     TriStateBox*         m_pTsbBelowRefEdge;
      41             :     MetricField*         m_pMtrFldDecimalPlaces;
      42             : 
      43             :     SvxRectCtl*          m_pCtlPosition;
      44             :     TriStateBox*         m_pTsbAutoPosV;
      45             :     TriStateBox*         m_pTsbAutoPosH;
      46             :     TriStateBox*         m_pTsbShowUnit;
      47             :     ListBox*             m_pLbUnit;
      48             :     TriStateBox*         m_pTsbParallel;
      49             :     FixedText*           m_pFtAutomatic;
      50             : 
      51             :     SvxXMeasurePreview*  m_pCtlPreview;
      52             : 
      53             :     const SfxItemSet&   rOutAttrs;
      54             :     SfxItemSet          aAttrSet;
      55             :     const SdrView*      pView;
      56             :     SfxMapUnit          eUnit;
      57             : 
      58             :     bool            bPositionModified;
      59             : 
      60             :     void                FillUnitLB();
      61             : 
      62             :     DECL_LINK( ClickAutoPosHdl_Impl, void * );
      63             :     DECL_LINK( ChangeAttrHdl_Impl, void * );
      64             : 
      65             : public:
      66             : 
      67             :     SvxMeasurePage( vcl::Window* pWindow, const SfxItemSet& rInAttrs );
      68             :     virtual ~SvxMeasurePage();
      69             : 
      70             :     static SfxTabPage*  Create( vcl::Window*, const SfxItemSet* );
      71             :     static  const sal_uInt16*     GetRanges();
      72             : 
      73             :     virtual bool        FillItemSet( SfxItemSet* ) SAL_OVERRIDE;
      74             :     virtual void        Reset( const SfxItemSet * ) SAL_OVERRIDE;
      75             : 
      76             :     virtual void        PointChanged( vcl::Window* pWindow, RECT_POINT eRP ) SAL_OVERRIDE;
      77             : 
      78             :     void         Construct();
      79           0 :     void         SetView( const SdrView* pSdrView ) { pView = pSdrView; }
      80             :     virtual void PageCreated(const SfxAllItemSet& aSet) SAL_OVERRIDE;
      81             : 
      82             : };
      83             : 
      84             : /* Derived from SfxSingleTabDialog, in order to be able to be
      85             :    informed about virtual methods by the control. */
      86           0 : class SvxMeasureDialog : public SfxSingleTabDialog
      87             : {
      88             : public:
      89             :     SvxMeasureDialog(vcl::Window* pParent, const SfxItemSet& rAttr,
      90             :         const SdrView* pView);
      91             : };
      92             : 
      93             : #endif // INCLUDED_CUI_SOURCE_INC_MEASURE_HXX
      94             : 
      95             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10