LCOV - code coverage report
Current view: top level - cui/source/inc - cuihyperdlg.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 4 0.0 %
Date: 2012-08-25 Functions: 0 5 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 6 0.0 %

           Branch data     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 _CUI_TAB_HYPERLINK_HXX
      21                 :            : #define _CUI_TAB_HYPERLINK_HXX
      22                 :            : 
      23                 :            : #include <svx/hlnkitem.hxx>
      24                 :            : #include <sfx2/childwin.hxx>
      25                 :            : #include <sfx2/ctrlitem.hxx>
      26                 :            : #include <sfx2/bindings.hxx>
      27                 :            : #include <vcl/image.hxx>
      28                 :            : 
      29                 :            : #include "iconcdlg.hxx"
      30                 :            : 
      31                 :            : /*************************************************************************
      32                 :            : |*
      33                 :            : |* Hyperlink-Dialog
      34                 :            : |*
      35                 :            : \************************************************************************/
      36                 :            : 
      37                 :            : class SvxHpLinkDlg;
      38 [ #  # ][ #  # ]:          0 : class SvxHlinkCtrl : public SfxControllerItem
                 [ #  # ]
      39                 :            : {
      40                 :            : private :
      41                 :            :     SvxHpLinkDlg *pParent;
      42                 :            : 
      43                 :            :     SfxStatusForwarder aOnlineForwarder;
      44                 :            :     SfxStatusForwarder aRdOnlyForwarder;
      45                 :            : 
      46                 :            : public :
      47                 :            :     SvxHlinkCtrl( sal_uInt16 nId, SfxBindings & rBindings, SvxHpLinkDlg* pDlg);
      48                 :            : 
      49                 :            :     virtual void    StateChanged( sal_uInt16 nSID, SfxItemState eState,
      50                 :            :                                 const SfxPoolItem* pState );
      51                 :            : };
      52                 :            : 
      53                 :            : 
      54                 :            : 
      55                 :            : /*************************************************************************
      56                 :            : |*
      57                 :            : |* Hyperlink-Dialog
      58                 :            : |*
      59                 :            : \************************************************************************/
      60                 :            : 
      61                 :            : class SvxHpLinkDlg : public IconChoiceDialog
      62                 :            : {
      63                 :            : private:
      64                 :            :     SvxHlinkCtrl        maCtrl;         ///< Controler
      65                 :            :     SfxBindings*        mpBindings;
      66                 :            :     SfxItemSet*         mpItemSet;
      67                 :            : 
      68                 :            :     sal_Bool            mbDummy1    : 1;
      69                 :            :     sal_Bool            mbDummy2    : 1;
      70                 :            :     sal_Bool            mbDummy3    : 1;
      71                 :            :     sal_Bool            mbDummy4    : 1;
      72                 :            :     sal_Bool            mbDummy5    : 1;
      73                 :            :     sal_Bool            mbGrabFocus : 1;
      74                 :            :     sal_Bool            mbReadOnly  : 1;
      75                 :            :     sal_Bool            mbIsHTMLDoc : 1;
      76                 :            : 
      77                 :            :     void*               mpDummy1;
      78                 :            :     void*               mpDummy2;
      79                 :            : 
      80                 :            :     DECL_LINK (ClickApplyHdl_Impl, void * );
      81                 :            :     DECL_LINK (ClickCloseHdl_Impl, void * );
      82                 :            : 
      83                 :            : protected:
      84                 :            :     virtual sal_Bool            Close();
      85                 :            :     virtual void            Move();
      86                 :            : 
      87                 :            : public:
      88                 :            :     SvxHpLinkDlg (Window* pParent, SfxBindings* pBindings );
      89                 :            :     ~SvxHpLinkDlg ();
      90                 :            : 
      91                 :            :     virtual void            PageCreated( sal_uInt16 nId, IconChoicePage& rPage );
      92                 :            : 
      93                 :            :     sal_uInt16                  SetPage( SvxHyperlinkItem* pItem );
      94                 :            :     void                    EnableInetBrowse( sal_Bool bEnable = sal_True );
      95                 :            :     void                    SetReadOnlyMode( sal_Bool bReadOnly = sal_False );
      96                 :          0 :     inline sal_Bool     IsHTMLDoc() const { return mbIsHTMLDoc; }
      97                 :            : 
      98                 :          0 :     inline SfxBindings*     GetBindings() const { return mpBindings; };
      99                 :          0 :     inline SfxDispatcher*   GetDispatcher() const { return mpBindings->GetDispatcher(); }
     100                 :            : };
     101                 :            : 
     102                 :            : 
     103                 :            : #endif // _CUI_TAB_HYPERLINK_HXX
     104                 :            : 
     105                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10