LCOV - code coverage report
Current view: top level - cui/source/dialogs - cuiimapwnd.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 27 0.0 %
Date: 2012-08-25 Functions: 0 1 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 84 0.0 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : 
      29                 :            : #include <tools/urlobj.hxx>
      30                 :            : #include <vcl/msgbox.hxx>
      31                 :            : #include <vcl/help.hxx>
      32                 :            : #include <sfx2/sfxsids.hrc>
      33                 :            : #include "macroass.hxx"
      34                 :            : #include <svtools/imaprect.hxx>
      35                 :            : #include <svtools/imapcirc.hxx>
      36                 :            : #include <svtools/imappoly.hxx>
      37                 :            : #include <svl/urlbmk.hxx>
      38                 :            : #include <svx/xoutbmp.hxx>
      39                 :            : #include <dialmgr.hxx>
      40                 :            : #include <cuires.hrc>
      41                 :            : #include <cuiimapdlg.hrc>
      42                 :            : #include <cuiimapwnd.hxx>
      43                 :            : #include <svx/svdpage.hxx>
      44                 :            : #include <svx/svdorect.hxx>
      45                 :            : #include <svx/svdocirc.hxx>
      46                 :            : #include <svx/svdopath.hxx>
      47                 :            : #include <svx/xfltrit.hxx>
      48                 :            : #include <svx/svdpagv.hxx>
      49                 :            : #include <svl/urihelper.hxx>
      50                 :            : #include <svx/xfillit.hxx>
      51                 :            : #include <svx/xlineit.hxx>
      52                 :            : 
      53                 :            : #include <sot/formats.hxx>
      54                 :            : 
      55                 :            : /*************************************************************************
      56                 :            : |*
      57                 :            : |*  URLDlg
      58                 :            : |*
      59                 :            : \************************************************************************/
      60                 :            : 
      61                 :          0 : URLDlg::URLDlg( Window* pWindow, const String& rURL, const String& rAlternativeText, const String& rDescription, const String& rTarget, const String& rName, TargetList& rTargetList )
      62                 :          0 : : ModalDialog( pWindow, CUI_RES( RID_SVXDLG_IMAPURL ) )
      63         [ #  # ]:          0 : , maFtURL( this, CUI_RES( FT_URL1 ) )
      64         [ #  # ]:          0 : , maEdtURL( this, CUI_RES( EDT_URL ) )
      65         [ #  # ]:          0 : , maFtTarget( this, CUI_RES( FT_TARGET ) )
      66         [ #  # ]:          0 : , maCbbTargets( this, CUI_RES( CBB_TARGETS ) )
      67         [ #  # ]:          0 : , maFtName( this, CUI_RES( FT_NAME ) )
      68         [ #  # ]:          0 : , maEdtName( this, CUI_RES( EDT_NAME ) )
      69         [ #  # ]:          0 : , maFtAlternativeText( this, CUI_RES( FT_URLDESCRIPTION ) )
      70         [ #  # ]:          0 : , maEdtAlternativeText( this, CUI_RES( EDT_URLDESCRIPTION ) )
      71         [ #  # ]:          0 : , maFtDescription( this, CUI_RES( FT_DESCRIPTION ) )
      72         [ #  # ]:          0 : , maEdtDescription( this, CUI_RES( EDT_DESCRIPTION ) )
      73         [ #  # ]:          0 : , maFlURL( this, CUI_RES( FL_URL ) )
      74         [ #  # ]:          0 : , maBtnHelp( this, CUI_RES( BTN_HELP1 ) )
      75         [ #  # ]:          0 : , maBtnOk( this, CUI_RES( BTN_OK1 ) )
      76 [ #  # ][ #  # ]:          0 : , maBtnCancel( this, CUI_RES( BTN_CANCEL1 ) )
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
      77                 :            : {
      78         [ #  # ]:          0 :     FreeResource();
      79                 :            : 
      80         [ #  # ]:          0 :     maEdtURL.SetText( rURL );
      81         [ #  # ]:          0 :     maEdtAlternativeText.SetText( rAlternativeText );
      82         [ #  # ]:          0 :     maEdtDescription.SetText( rDescription );
      83         [ #  # ]:          0 :     maEdtName.SetText( rName );
      84                 :            : 
      85         [ #  # ]:          0 :     for( size_t i = 0, n = rTargetList.size(); i < n; ++i )
      86 [ #  # ][ #  # ]:          0 :         maCbbTargets.InsertEntry( *rTargetList[ i ] );
      87                 :            : 
      88         [ #  # ]:          0 :     if( !rTarget.Len() )
      89 [ #  # ][ #  # ]:          0 :         maCbbTargets.SetText( rtl::OUString("_self") );
                 [ #  # ]
      90                 :            :     else
      91         [ #  # ]:          0 :         maCbbTargets.SetText( rTarget );
      92                 :          0 : }
      93                 :            : 
      94                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10