LCOV - code coverage report
Current view: top level - sfx2/source/view - impviewframe.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 12 0.0 %
Date: 2014-04-14 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 INCLUDED_SFX2_SOURCE_VIEW_IMPVIEWFRAME_HXX
      21             : #define INCLUDED_SFX2_SOURCE_VIEW_IMPVIEWFRAME_HXX
      22             : 
      23             : #include <sfx2/viewfrm.hxx>
      24             : 
      25             : #include <svtools/asynclink.hxx>
      26             : #include <vcl/window.hxx>
      27             : 
      28             : #include <boost/optional.hpp>
      29             : 
      30             : struct SfxViewFrame_Impl
      31             : {
      32             :     SvBorder            aBorder;
      33             :     Size                aMargin;
      34             :     Size                aSize;
      35             :     TypeId              aLastType;
      36             :     OUString            aActualURL;
      37             :     SfxFrame&           rFrame;
      38             :     svtools::AsynchronLink* pReloader;
      39             :     Window*             pWindow;
      40             :     SfxViewFrame*       pActiveChild;
      41             :     Window*             pFocusWin;
      42             :     sal_uInt16          nDocViewNo;
      43             :     sal_uInt16          nCurViewId;
      44             :     bool            bResizeInToOut:1;
      45             :     bool            bDontOverwriteResizeInToOut:1;
      46             :     bool            bObjLocked:1;
      47             :     bool            bReloading:1;
      48             :     bool            bIsDowning:1;
      49             :     bool            bModal:1;
      50             :     bool            bEnabled:1;
      51             :     bool            bWindowWasEnabled:1;
      52             :     bool            bActive;
      53             :     OUString            aFactoryName;
      54             :     ::boost::optional< bool >
      55             :                         aHasToolPanels;
      56             : 
      57           0 :                         SfxViewFrame_Impl( SfxFrame& i_rFrame )
      58             :                         : rFrame( i_rFrame )
      59             :                         , pReloader(0 )
      60             :                         , pWindow( 0 )
      61             :                         , pActiveChild(0)
      62             :                         , pFocusWin(0)
      63             :                         , bWindowWasEnabled(true)
      64           0 :                         , bActive( false )
      65             :                         {
      66           0 :                         }
      67             : 
      68           0 :                         ~SfxViewFrame_Impl()
      69           0 :                         {
      70           0 :                             delete pReloader;
      71           0 :                         }
      72             : };
      73             : 
      74           0 : class SfxFrameViewWindow_Impl : public Window
      75             : {
      76             :     SfxViewFrame*   pFrame;
      77             : 
      78             : public:
      79           0 :                         SfxFrameViewWindow_Impl( SfxViewFrame* p, Window& rParent, WinBits nBits=0 ) :
      80             :                             Window( &rParent, nBits | WB_CLIPCHILDREN ),
      81           0 :                             pFrame( p )
      82             :                         {
      83           0 :                             p->GetFrame().GetWindow().SetBorderStyle( WINDOW_BORDER_NOBORDER );
      84           0 :                         }
      85             : 
      86             :     virtual void        Resize() SAL_OVERRIDE;
      87             :     virtual void        StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
      88             : };
      89             : 
      90             : #endif // INCLUDED_SFX2_SOURCE_VIEW_IMPVIEWFRAME_HXX
      91             : 
      92             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10