bump product version to 5.0.4.1
[LibreOffice.git] / sd / source / ui / inc / fuinsert.hxx
blob1e11d8b833eba47332fb1e1dd4c5fed4201a1cd5
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 INCLUDED_SD_SOURCE_UI_INC_FUINSERT_HXX
21 #define INCLUDED_SD_SOURCE_UI_INC_FUINSERT_HXX
23 #include "fupoor.hxx"
24 #include <config_features.h>
26 namespace sd {
28 class FuInsertGraphic
29 : public FuPoor
31 public:
32 TYPEINFO_OVERRIDE();
34 static rtl::Reference<FuPoor> Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
35 virtual void DoExecute( SfxRequest& rReq ) SAL_OVERRIDE;
37 private:
39 FuInsertGraphic (
40 ViewShell* pViewSh,
41 ::sd::Window* pWin,
42 ::sd::View* pView,
43 SdDrawDocument* pDoc,
44 SfxRequest& rReq);
47 /************************************************************************/
49 class FuInsertClipboard
50 : public FuPoor
52 public:
53 TYPEINFO_OVERRIDE();
55 static rtl::Reference<FuPoor> Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
56 virtual void DoExecute( SfxRequest& rReq ) SAL_OVERRIDE;
58 private:
59 FuInsertClipboard (
60 ViewShell* pViewSh,
61 ::sd::Window* pWin,
62 ::sd::View* pView,
63 SdDrawDocument* pDoc,
64 SfxRequest& rReq);
67 /************************************************************************/
69 class FuInsertOLE
70 : public FuPoor
72 public:
73 TYPEINFO_OVERRIDE();
75 static rtl::Reference<FuPoor> Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
76 virtual void DoExecute( SfxRequest& rReq ) SAL_OVERRIDE;
78 private:
79 FuInsertOLE (
80 ViewShell* pViewSh,
81 ::sd::Window* pWin,
82 ::sd::View* pView,
83 SdDrawDocument* pDoc,
84 SfxRequest& rReq);
87 /************************************************************************/
89 class FuInsertAVMedia
90 : public FuPoor
92 public:
93 TYPEINFO_OVERRIDE();
95 static rtl::Reference<FuPoor> Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
96 virtual void DoExecute( SfxRequest& rReq ) SAL_OVERRIDE;
98 private:
99 FuInsertAVMedia (
100 ViewShell* pViewSh,
101 ::sd::Window* pWin,
102 ::sd::View* pView,
103 SdDrawDocument* pDoc,
104 SfxRequest& rReq);
106 #if HAVE_FEATURE_GLTF
107 class FuInsert3DModel
108 : public FuPoor
110 public:
111 TYPEINFO_OVERRIDE();
113 static rtl::Reference<FuPoor> Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
114 virtual void DoExecute( SfxRequest& rReq ) SAL_OVERRIDE;
116 private:
117 FuInsert3DModel (
118 ViewShell* pViewSh,
119 ::sd::Window* pWin,
120 ::sd::View* pView,
121 SdDrawDocument* pDoc,
122 SfxRequest& rReq);
124 #endif
125 } // end of namespace sd
127 #endif
129 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */