LCOV - code coverage report
Current view: top level - sw/source/uibase/inc - drpcps.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 3 0.0 %
Date: 2015-06-13 12:38:46 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 INCLUDED_SW_SOURCE_UIBASE_INC_DRPCPS_HXX
      20             : #define INCLUDED_SW_SOURCE_UIBASE_INC_DRPCPS_HXX
      21             : 
      22             : #include <sfx2/basedlgs.hxx>
      23             : #include <sfx2/tabdlg.hxx>
      24             : 
      25             : #include <vcl/button.hxx>
      26             : 
      27             : #include <vcl/fixed.hxx>
      28             : 
      29             : #include <vcl/field.hxx>
      30             : 
      31             : #include <vcl/edit.hxx>
      32             : 
      33             : #include <vcl/lstbox.hxx>
      34             : 
      35             : class SwWrtShell;
      36             : 
      37           0 : class SwDropCapsDlg : public SfxSingleTabDialog
      38             : {
      39             : public:
      40             :     SwDropCapsDlg(vcl::Window *pParent, const SfxItemSet &rSet );
      41             : };
      42             : 
      43             : class SwDropCapsPict;
      44             : 
      45             : class SwDropCapsPage : public SfxTabPage
      46             : {
      47             : friend class SwDropCapsPict;
      48             :     VclPtr<CheckBox>        m_pDropCapsBox;
      49             :     VclPtr<CheckBox>        m_pWholeWordCB;
      50             :     VclPtr<FixedText>       m_pSwitchText;
      51             :     VclPtr<NumericField>    m_pDropCapsField;
      52             :     VclPtr<FixedText>       m_pLinesText;
      53             :     VclPtr<NumericField>    m_pLinesField;
      54             :     VclPtr<FixedText>       m_pDistanceText;
      55             :     VclPtr<MetricField>     m_pDistanceField;
      56             :     VclPtr<FixedText>       m_pTextText;
      57             :     VclPtr<Edit>            m_pTextEdit;
      58             :     VclPtr<FixedText>       m_pTemplateText;
      59             :     VclPtr<ListBox>         m_pTemplateBox;
      60             : 
      61             :     VclPtr<SwDropCapsPict>  m_pPict;
      62             : 
      63             :     bool          bModified;
      64             :     bool          bFormat;
      65             :     bool          bHtmlMode;
      66             : 
      67             :     SwWrtShell &rSh;
      68             : 
      69             :     virtual sfxpg   DeactivatePage(SfxItemSet *pSet) SAL_OVERRIDE;
      70             :     void    FillSet( SfxItemSet &rSet );
      71             : 
      72             :     DECL_LINK(ClickHdl, void *);
      73             :     DECL_LINK( ModifyHdl, Edit * );
      74             :     DECL_LINK(SelectHdl, void *);
      75             :     DECL_LINK(WholeWordHdl, void *);
      76             : 
      77             :     using SfxTabPage::ActivatePage;
      78             :     using SfxTabPage::DeactivatePage;
      79             : 
      80             :     static const sal_uInt16 aPageRg[];
      81             : 
      82             : public:
      83             :     SwDropCapsPage(vcl::Window *pParent, const SfxItemSet &rSet);
      84             :     virtual ~SwDropCapsPage();
      85             :     virtual void dispose() SAL_OVERRIDE;
      86             : 
      87             :     static VclPtr<SfxTabPage> Create(vcl::Window *pParent, const SfxItemSet *rSet);
      88           0 :     static const sal_uInt16* GetRanges() { return aPageRg; }
      89             : 
      90             : 
      91             :     virtual bool FillItemSet(      SfxItemSet *rSet) SAL_OVERRIDE;
      92             :     virtual void Reset      (const SfxItemSet *rSet) SAL_OVERRIDE;
      93             : 
      94           0 :     void    SetFormat(bool bSet){bFormat = bSet;}
      95             : protected:
      96             :     void aSwitchText(bool bChecked);
      97             :     //void SW_RES(int arg1);
      98             : };
      99             : 
     100             : #endif
     101             : 
     102             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11