LCOV - code coverage report
Current view: top level - libreoffice/sfx2/source/inc - versdlg.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 3 0.0 %
Date: 2012-12-27 Functions: 0 5 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             : #ifndef _VERSDLG_HXX
      21             : #define _VERSDLG_HXX
      22             : 
      23             : #include <vcl/button.hxx>
      24             : #include <vcl/fixed.hxx>
      25             : #include <svtools/svtabbx.hxx>
      26             : #include <svtools/svmedit.hxx>
      27             : #include <sfx2/basedlgs.hxx>
      28             : 
      29             : class SfxViewFrame;
      30             : struct SfxVersionInfo;
      31             : 
      32           0 : class SfxVersionsTabListBox_Impl  : public SvTabListBox
      33             : {
      34             :     virtual void                KeyInput( const KeyEvent& rKeyEvent );
      35             : 
      36             : public:
      37             :                                 SfxVersionsTabListBox_Impl(
      38             :                                     Window* pParent, const ResId& );
      39             : };
      40             : 
      41             : class SfxVersionTableDtor;
      42             : class SfxVersionDialog : public SfxModalDialog
      43             : {
      44             :     FixedLine                   aNewGroup;
      45             :     PushButton                  aSaveButton;
      46             :     CheckBox                    aSaveCheckBox;
      47             :     FixedLine                   aExistingGroup;
      48             :     FixedText                   aDateTimeText;
      49             :     FixedText                   aSavedByText;
      50             :     FixedText                   aCommentText;
      51             :     SfxVersionsTabListBox_Impl  aVersionBox;
      52             :     CancelButton                aCloseButton;
      53             :     PushButton                  aOpenButton;
      54             :     PushButton                  aViewButton;
      55             :     PushButton                  aDeleteButton;
      56             :     PushButton                  aCompareButton;
      57             :     HelpButton                  aHelpButton;
      58             :     SfxViewFrame*               pViewFrame;
      59             :     SfxVersionTableDtor*        mpTable;
      60             :     sal_Bool                    mbIsSaveVersionOnClose;
      61             : 
      62             :     DECL_LINK(DClickHdl_Impl, void *);
      63             :     DECL_LINK(SelectHdl_Impl, void *);
      64             :     DECL_LINK(                  ButtonHdl_Impl, Button* );
      65             :     void                        Init_Impl();
      66             :     void                        Open_Impl();
      67             :     void                        RecalcDateColumn();
      68             : 
      69             : public:
      70             :                                 SfxVersionDialog ( SfxViewFrame* pFrame, sal_Bool );
      71             :     virtual                     ~SfxVersionDialog ();
      72           0 :     sal_Bool                    IsSaveVersionOnClose() const { return mbIsSaveVersionOnClose; }
      73             : };
      74             : 
      75           0 : class SfxViewVersionDialog_Impl : public SfxModalDialog
      76             : {
      77             :     FixedText                   aDateTimeText;
      78             :     FixedText                   aSavedByText;
      79             :     MultiLineEdit               aEdit;
      80             :     OKButton                    aOKButton;
      81             :     CancelButton                aCancelButton;
      82             :     PushButton                  aCloseButton;
      83             :     HelpButton                  aHelpButton;
      84             :     SfxVersionInfo*             pInfo;
      85             : 
      86             :     DECL_LINK(                  ButtonHdl, Button* );
      87             : 
      88             : public:
      89             :                                 SfxViewVersionDialog_Impl( Window *pParent,
      90             :                                     SfxVersionInfo& rInfo, sal_Bool bEdit );
      91             :  };
      92             : 
      93             : #endif
      94             : 
      95             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10