Bump version to 4.1-6
[LibreOffice.git] / sfx2 / source / view / viewimp.hxx
bloba5c750af30620f97aba6d9ade483d3035b1510b5
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef SFX_VIEWIMP_HXX
21 #define SFX_VIEWIMP_HXX
23 #include <basic/sbxobj.hxx>
24 #include <sfx2/viewsh.hxx>
25 #include <sfx2/viewfrm.hxx> // SvBorder
26 #include <osl/mutex.hxx>
27 #include <cppuhelper/interfacecontainer.hxx>
28 #include <com/sun/star/uno/Sequence.hxx>
29 #include <com/sun/star/beans/PropertyValue.hpp>
30 #include <svtools/acceleratorexecute.hxx>
31 #include <rtl/ref.hxx>
32 #include <vcl/print.hxx>
33 #include <queue>
35 class SfxBaseController;
37 typedef SfxShell* SfxShellPtr_Impl;
38 typedef std::vector<SfxShellPtr_Impl> SfxShellArr_Impl;
40 class SfxClipboardChangeListener;
42 struct SfxViewShell_Impl
44 ::osl::Mutex aMutex;
45 ::cppu::OInterfaceContainerHelper aInterceptorContainer;
46 bool m_bControllerSet;
47 SfxShellArr_Impl aArr;
48 SvBorder aBorder;
49 Size aOptimalSize;
50 Size aMargin;
51 sal_uInt16 m_nPrinterLocks;
52 bool m_bCanPrint;
53 bool m_bHasPrintOptions;
54 bool m_bPlugInsActive;
55 bool m_bIsShowView;
56 bool m_bGotOwnership;
57 bool m_bGotFrameOwnership;
58 sal_uInt16 m_nFamily;
59 ::rtl::Reference<SfxBaseController> m_pController;
60 ::std::auto_ptr< ::svt::AcceleratorExecute > m_pAccExec;
61 com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > aPrintOpts;
62 ::rtl::Reference< SfxClipboardChangeListener > xClipboardListener;
63 ::boost::shared_ptr< vcl::PrinterController > m_pPrinterController;
65 SfxViewShell_Impl(sal_uInt16 const nFlags);
68 #endif
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */