LCOV - code coverage report
Current view: top level - libreoffice/sfx2/source/view - viewimp.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 1 100.0 %
Date: 2012-12-27 Functions: 1 1 100.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 SFX_VIEWIMP_HXX
      21             : #define SFX_VIEWIMP_HXX
      22             : 
      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>
      34             : 
      35             : class SfxBaseController;
      36             : 
      37             : typedef SfxShell* SfxShellPtr_Impl;
      38             : typedef std::vector<SfxShellPtr_Impl> SfxShellArr_Impl;
      39             : 
      40             : class SfxClipboardChangeListener;
      41             : 
      42          63 : struct SfxViewShell_Impl
      43             : {
      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;
      64             : 
      65             :     SfxViewShell_Impl(sal_uInt16 const nFlags);
      66             : };
      67             : 
      68             : #endif
      69             : 
      70             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10