Version 6.1.0.2, tag libreoffice-6.1.0.2
[LibreOffice.git] / basctl / source / inc / dlgedview.hxx
blobc194c1216d11f35083da17106ce424e058719484
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 .
21 #ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDVIEW_HXX
22 #define INCLUDED_BASCTL_SOURCE_INC_DLGEDVIEW_HXX
24 #include <svx/svdview.hxx>
26 namespace basctl
29 class DlgEditor;
32 // DlgEdView
35 class DlgEdView : public SdrView
37 private:
38 DlgEditor& rDlgEditor;
40 public:
42 DlgEdView(
43 SdrModel& rSdrModel,
44 OutputDevice& rOut,
45 DlgEditor& rEditor);
47 virtual ~DlgEdView() override;
49 virtual void MarkListHasChanged() override;
50 virtual void MakeVisible( const tools::Rectangle& rRect, vcl::Window& rWin ) override;
52 protected:
53 /// override to handle HitTest for some objects specially
54 using SdrView::CheckSingleSdrObjectHit;
55 virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, SdrPageView* pPV, SdrSearchOptions nOptions, const SdrLayerIDSet* pMVisLay) const override;
58 } // namespace basctl
60 #endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDVIEW_HXX
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */