LibreOffice Module sfx2 (master) 1
viewimp.hxx
Go to the documentation of this file.
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_VIEWIMP_HXX
21#define INCLUDED_SFX2_SOURCE_VIEW_VIEWIMP_HXX
22
23#include <com/sun/star/ui/XContextMenuInterceptor.hpp>
24#include <memory>
25#include <sfx2/viewsh.hxx>
26#include <mutex>
29#include <rtl/ref.hxx>
30#include <vcl/print.hxx>
31#include <chrono>
32#include <vector>
33
35typedef std::vector<SfxShell*> SfxShellArr_Impl;
37
39{
40 std::mutex aMutex;
46 std::chrono::steady_clock::time_point m_nDefaultPrinterNameFetchTime;
48 sal_uInt16 m_nFamily;
50 std::unique_ptr<::svt::AcceleratorExecute> m_xAccExec;
52 std::shared_ptr<vcl::PrinterController> m_xPrinterController;
53
54 mutable std::vector<SfxInPlaceClient*> maIPClients;
55
59 static sal_uInt32 m_nLastViewShellId;
62
63 explicit SfxViewShell_Impl(SfxViewShellFlags const nFlags, ViewShellDocId nDocId);
65
66 std::vector<SfxInPlaceClient*>& GetIPClients_Impl();
67};
68
69#endif
70
71/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::shared_ptr< vcl::PrinterController > m_xPrinterController
Definition: viewimp.hxx:52
bool m_bTiledSearching
Set if we are in the middle of a tiled search.
Definition: viewimp.hxx:58
SfxShellArr_Impl aArr
Definition: viewimp.hxx:43
std::mutex aMutex
Definition: viewimp.hxx:40
std::chrono::steady_clock::time_point m_nDefaultPrinterNameFetchTime
Definition: viewimp.hxx:46
SfxLokCallbackInterface * m_pLibreOfficeKitViewCallback
Definition: viewimp.hxx:56
std::vector< SfxInPlaceClient * > & GetIPClients_Impl()
Definition: viewsh.cxx:914
std::unique_ptr<::svt::AcceleratorExecute > m_xAccExec
Definition: viewimp.hxx:50
const ViewShellId m_nViewShellId
Definition: viewimp.hxx:60
const ViewShellDocId m_nDocId
Definition: viewimp.hxx:61
SfxViewShell_Impl(SfxViewShellFlags const nFlags, ViewShellDocId nDocId)
Definition: viewsh.cxx:900
sal_uInt16 m_nFamily
Definition: viewimp.hxx:48
static sal_uInt32 m_nLastViewShellId
Definition: viewimp.hxx:59
bool m_bHasPrintOptions
Definition: viewimp.hxx:47
OUString m_sDefaultPrinterName
Definition: viewimp.hxx:45
::comphelper::OInterfaceContainerHelper4< css::ui::XContextMenuInterceptor > aInterceptorContainer
Definition: viewimp.hxx:42
::rtl::Reference< SfxClipboardChangeListener > xClipboardListener
Definition: viewimp.hxx:51
std::vector< SfxInPlaceClient * > maIPClients
Definition: viewimp.hxx:54
::rtl::Reference< SfxBaseController > m_pController
Definition: viewimp.hxx:49
std::vector< SfxShell * > SfxShellArr_Impl
Definition: viewimp.hxx:34
SfxViewShellFlags
Definition: viewsh.hxx:104