LCOV - code coverage report
Current view: top level - sw/source/uibase/inc - wordcountdialog.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 1 0.0 %
Date: 2014-11-03 Functions: 0 2 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_WORDCOUNTDIALOG_HXX
      20             : #define INCLUDED_SW_SOURCE_UIBASE_INC_WORDCOUNTDIALOG_HXX
      21             : #include <sfx2/basedlgs.hxx>
      22             : #include <svtools/stdctrl.hxx>
      23             : #include <vcl/layout.hxx>
      24             : #include <vcl/button.hxx>
      25             : struct SwDocStat;
      26             : #include <sfx2/childwin.hxx>
      27             : #include "swabstdlg.hxx"
      28             : 
      29             : class SwWordCountFloatDlg : public SfxModelessDialog
      30             : {
      31             :     virtual void    Activate() SAL_OVERRIDE;
      32             :     void SetValues(const SwDocStat& rCurrent, const SwDocStat& rDoc);
      33             :     void showCJK(bool bShowCJK);
      34             :     void showStandardizedPages(bool bShowStandardizedPages);
      35             : 
      36             :     FixedText* m_pCurrentWordFT;
      37             :     FixedText* m_pCurrentCharacterFT;
      38             :     FixedText* m_pCurrentCharacterExcludingSpacesFT;
      39             :     FixedText* m_pCurrentCjkcharsFT;
      40             :     FixedText* m_pCurrentStandardizedPagesFT;
      41             : 
      42             :     FixedText* m_pDocWordFT;
      43             :     FixedText* m_pDocCharacterFT;
      44             :     FixedText* m_pDocCharacterExcludingSpacesFT;
      45             :     FixedText* m_pDocCjkcharsFT;
      46             :     FixedText* m_pDocStandardizedPagesFT;
      47             : 
      48             :     FixedText* m_pCjkcharsLabelFT;
      49             :     FixedText* m_pStandardizedPagesLabelFT;
      50             : 
      51             :     CloseButton* m_pClosePB;
      52             : 
      53             :     DECL_LINK( CloseHdl,     void* );
      54             : public:
      55             :     SwWordCountFloatDlg(     SfxBindings* pBindings,
      56             :                              SfxChildWindow* pChild,
      57             :                              vcl::Window *pParent,
      58             :                              SfxChildWinInfo* pInfo);
      59             :     virtual ~SwWordCountFloatDlg();
      60             :     void    UpdateCounts();
      61             : 
      62             :     void    SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat);
      63             : };
      64             : 
      65           0 : class SwWordCountWrapper : public SfxChildWindow
      66             : {
      67             :     AbstractSwWordCountFloatDlg*   pAbstDlg;
      68             : protected:
      69             :     SwWordCountWrapper(    vcl::Window *pParentWindow,
      70             :                             sal_uInt16 nId,
      71             :                             SfxBindings* pBindings,
      72             :                             SfxChildWinInfo* pInfo );
      73             : 
      74             :     SFX_DECL_CHILDWINDOW_WITHID(SwWordCountWrapper);
      75             : 
      76             : public:
      77             :     void    UpdateCounts();
      78             :     void    SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat);
      79             : };
      80             : 
      81             : #endif
      82             : 
      83             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10