LCOV - code coverage report
Current view: top level - libreoffice/sw/source/ui/inc - wordcountdialog.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 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 SW_WORDCOUNTDIALOG_HXX
      20             : #define SW_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();
      32             :     void SetValues(const SwDocStat& rCurrent, const SwDocStat& rDoc);
      33             :     void showCJK(bool bShowCJK);
      34             : 
      35             :     FixedText* m_pCurrentWordFT;
      36             :     FixedText* m_pCurrentCharacterFT;
      37             :     FixedText* m_pCurrentCharacterExcludingSpacesFT;
      38             :     FixedText* m_pCurrentCjkcharsFT;
      39             : 
      40             :     FixedText* m_pDocWordFT;
      41             :     FixedText* m_pDocCharacterFT;
      42             :     FixedText* m_pDocCharacterExcludingSpacesFT;
      43             :     FixedText* m_pDocCjkcharsFT;
      44             : 
      45             :     FixedText* m_pCjkcharsLabelFT;
      46             : 
      47             :     PushButton* m_pClosePB;
      48             : 
      49             :     SW_DLLPRIVATE DECL_LINK( CloseHdl,     void* );
      50             : public:
      51             :     SwWordCountFloatDlg(     SfxBindings* pBindings,
      52             :                              SfxChildWindow* pChild,
      53             :                              Window *pParent,
      54             :                              SfxChildWinInfo* pInfo);
      55             :     ~SwWordCountFloatDlg();
      56             :     void    UpdateCounts();
      57             : 
      58             :     void    SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat);
      59             : };
      60             : 
      61           0 : class SwWordCountWrapper : public SfxChildWindow
      62             : {
      63             :     AbstractSwWordCountFloatDlg*   pAbstDlg;
      64             : protected:
      65             :     SwWordCountWrapper(    Window *pParentWindow,
      66             :                             sal_uInt16 nId,
      67             :                             SfxBindings* pBindings,
      68             :                             SfxChildWinInfo* pInfo );
      69             : 
      70             :     SFX_DECL_CHILDWINDOW_WITHID(SwWordCountWrapper);
      71             : 
      72             : public:
      73             :     void    UpdateCounts();
      74             :     void    SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat);
      75             : };
      76             : 
      77             : #endif
      78             : 
      79             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10