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 _SFX_IMPFRAME_HXX
21 : : #define _SFX_IMPFRAME_HXX
22 : :
23 : : #include <sfx2/frame.hxx>
24 : : #include <sfx2/viewfrm.hxx> // SvBorder
25 : :
26 : : class SfxViewFrame;
27 : : #include <com/sun/star/frame/XController.hpp>
28 : : #include <com/sun/star/awt/XTopWindow.hpp>
29 : : #include <com/sun/star/awt/XWindow.hpp>
30 : : #include <com/sun/star/awt/PosSize.hpp>
31 : : #include <cppuhelper/weak.hxx>
32 : :
33 : : #include <sfx2/viewsh.hxx>
34 : : #include <sfx2/sfxuno.hxx>
35 : :
36 : : class SfxFrame_Impl : public SfxBroadcaster, public SvCompatWeakBase
37 : : {
38 : : public:
39 : : ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame;
40 : : sal_uInt32 nType;
41 : : SfxViewFrame* pCurrentViewFrame;
42 : : SfxFrameDescriptor* pDescr;
43 : : sal_uInt16 nLocks;
44 : : sal_Bool bClosing : 1;
45 : : sal_Bool bPrepClosing : 1;
46 : : sal_Bool bInCancelTransfers : 1;
47 : : sal_Bool bOwnsBindings : 1;
48 : : sal_Bool bReleasingComponent : 1;
49 : : sal_Bool bInPlace : 1;
50 : : SfxFrame* pFrame;
51 : : SfxWorkWindow* pWorkWin;
52 : : SvBorder aBorder;
53 : : // formerly SfxTopFrame
54 : : Window* pExternalContainerWindow;
55 : : bool bHidden;
56 : : bool bLockResize;
57 : : bool bMenuBarOn;
58 : :
59 : 1711 : SfxFrame_Impl( SfxFrame* pAntiImplP )
60 : : :SvCompatWeakBase( pAntiImplP )
61 : : ,nType( 0L )
62 : : ,pCurrentViewFrame( NULL )
63 : : ,pDescr( NULL )
64 : : ,nLocks( 0 )
65 : : ,bClosing(sal_False)
66 : : ,bPrepClosing(sal_False)
67 : : ,bInCancelTransfers( sal_False )
68 : : ,bOwnsBindings( sal_False )
69 : : ,bReleasingComponent( sal_False )
70 : : ,bInPlace( sal_False )
71 : : ,pFrame( pAntiImplP )
72 : : ,pWorkWin( 0 )
73 : : ,pExternalContainerWindow( NULL )
74 : : ,bHidden( false )
75 : : ,bLockResize( false )
76 [ + - ]: 1711 : ,bMenuBarOn( true )
77 : : {
78 : 1711 : }
79 : :
80 [ + - ][ - + ]: 3240 : virtual ~SfxFrame_Impl() { }
81 : : };
82 : :
83 : : #endif
84 : :
85 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|