Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / ui / inc / fuinsert.hxx
blob26e2a89322f5a575ed5301420d797baa2cba1607
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 SC_FUINSERT_HXX
22 #define SC_FUINSERT_HXX
24 #include "fupoor.hxx"
26 class FuInsertGraphic : public FuPoor
28 public:
29 FuInsertGraphic( ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pView,
30 SdrModel* pDoc, SfxRequest& rReq);
31 virtual ~FuInsertGraphic();
33 virtual void Activate();
34 virtual void Deactivate();
37 class FuInsertOLE : public FuPoor
39 public:
40 FuInsertOLE( ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pView,
41 SdrModel* pDoc, SfxRequest& rReq);
43 virtual void Activate();
44 virtual void Deactivate();
47 class FuInsertChart : public FuPoor
49 public:
50 FuInsertChart( ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pView,
51 SdrModel* pDoc, SfxRequest& rReq);
53 virtual void Activate();
54 virtual void Deactivate();
57 class FuInsertChartFromFile : public FuPoor
59 public:
60 FuInsertChartFromFile( ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pView,
61 SdrModel* pDoc, SfxRequest& rReq, const OUString& rURL);
63 virtual void Activate();
64 virtual void Deactivate();
67 class FuInsertMedia : public FuPoor
69 public:
70 FuInsertMedia( ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pView,
71 SdrModel* pDoc, SfxRequest& rReq);
72 virtual ~FuInsertMedia();
74 virtual void Activate();
75 virtual void Deactivate();
78 #endif // _SD_FUINSERT_HXX
80 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */