LCOV - code coverage report
Current view: top level - sw/source/core/uibase/inc - glshell.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 14 0.0 %
Date: 2014-04-14 Functions: 0 8 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_UI_INC_GLSHELL_HXX
      20             : #define INCLUDED_SW_SOURCE_UI_INC_GLSHELL_HXX
      21             : #include "wdocsh.hxx"
      22             : 
      23             : class SwGlosDocShell : public SwDocShell
      24             : {
      25             :     OUString          aLongName;
      26             :     OUString          aShortName;
      27             :     OUString          aGroupName;
      28             : 
      29             :     using SotObject::GetInterface;
      30             : 
      31             : protected:
      32             :     virtual bool Save() SAL_OVERRIDE;
      33             : 
      34             : public:
      35             : 
      36             :     TYPEINFO_OVERRIDE();
      37           0 :     SFX_DECL_INTERFACE(SW_GLOSDOCSHELL)
      38             : 
      39             :     SwGlosDocShell( sal_Bool bNewShow = sal_True);
      40             :     virtual ~SwGlosDocShell();
      41             : 
      42             :     void            Execute( SfxRequest& );
      43             :     void            GetState( SfxItemSet& );
      44           0 :     void            SetLongName( const OUString& rLongName )
      45           0 :                         { aLongName = rLongName; }
      46           0 :     void            SetShortName( const OUString& rShortName )
      47           0 :                         { aShortName = rShortName; }
      48           0 :     void            SetGroupName( const OUString& rGroupName )
      49           0 :                         { aGroupName = rGroupName; }
      50             :     const OUString& GetShortName(){return aShortName;}
      51             : };
      52             : 
      53             : class SwWebGlosDocShell : public SwWebDocShell
      54             : {
      55             :     OUString          aLongName;
      56             :     OUString          aShortName;
      57             :     OUString          aGroupName;
      58             : 
      59             :     using SotObject::GetInterface;
      60             : 
      61             : protected:
      62             :     virtual bool Save() SAL_OVERRIDE;
      63             : 
      64             : public:
      65             : 
      66             :     TYPEINFO_OVERRIDE();
      67           0 :     SFX_DECL_INTERFACE(SW_WEBGLOSDOCSHELL)
      68             : 
      69             :     SwWebGlosDocShell();
      70             :     virtual ~SwWebGlosDocShell();
      71             : 
      72             :     void            Execute( SfxRequest& );
      73             :     void            GetState( SfxItemSet& );
      74           0 :     void            SetLongName( const OUString& rLongName )
      75           0 :                         { aLongName = rLongName; }
      76           0 :     void            SetShortName( const OUString& rShortName )
      77           0 :                         { aShortName = rShortName; }
      78           0 :     void            SetGroupName( const OUString& rGroupName )
      79           0 :                         { aGroupName = rGroupName; }
      80             :     const OUString& GetShortName(){return aShortName;}
      81             : };
      82             : 
      83             : #endif
      84             : 
      85             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10