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 INCLUDED_SD_SOURCE_UI_INC_FUINSERT_HXX
21 : #define INCLUDED_SD_SOURCE_UI_INC_FUINSERT_HXX
22 :
23 : #include "fupoor.hxx"
24 : #include <config_features.h>
25 :
26 : namespace sd {
27 :
28 0 : class FuInsertGraphic
29 : : public FuPoor
30 : {
31 : public:
32 : TYPEINFO_OVERRIDE();
33 :
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;
36 :
37 : private:
38 :
39 : FuInsertGraphic (
40 : ViewShell* pViewSh,
41 : ::sd::Window* pWin,
42 : ::sd::View* pView,
43 : SdDrawDocument* pDoc,
44 : SfxRequest& rReq);
45 : };
46 :
47 : /************************************************************************/
48 :
49 0 : class FuInsertClipboard
50 : : public FuPoor
51 : {
52 : public:
53 : TYPEINFO_OVERRIDE();
54 :
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;
57 :
58 : private:
59 : FuInsertClipboard (
60 : ViewShell* pViewSh,
61 : ::sd::Window* pWin,
62 : ::sd::View* pView,
63 : SdDrawDocument* pDoc,
64 : SfxRequest& rReq);
65 : };
66 :
67 : /************************************************************************/
68 :
69 0 : class FuInsertOLE
70 : : public FuPoor
71 : {
72 : public:
73 : TYPEINFO_OVERRIDE();
74 :
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;
77 :
78 : private:
79 : FuInsertOLE (
80 : ViewShell* pViewSh,
81 : ::sd::Window* pWin,
82 : ::sd::View* pView,
83 : SdDrawDocument* pDoc,
84 : SfxRequest& rReq);
85 : };
86 :
87 : /************************************************************************/
88 :
89 0 : class FuInsertAVMedia
90 : : public FuPoor
91 : {
92 : public:
93 : TYPEINFO_OVERRIDE();
94 :
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;
97 :
98 : private:
99 : FuInsertAVMedia (
100 : ViewShell* pViewSh,
101 : ::sd::Window* pWin,
102 : ::sd::View* pView,
103 : SdDrawDocument* pDoc,
104 : SfxRequest& rReq);
105 : };
106 : #if HAVE_FEATURE_GLTF
107 0 : class FuInsert3DModel
108 : : public FuPoor
109 : {
110 : public:
111 : TYPEINFO_OVERRIDE();
112 :
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;
115 :
116 : private:
117 : FuInsert3DModel (
118 : ViewShell* pViewSh,
119 : ::sd::Window* pWin,
120 : ::sd::View* pView,
121 : SdDrawDocument* pDoc,
122 : SfxRequest& rReq);
123 : };
124 : #endif
125 : } // end of namespace sd
126 :
127 : #endif
128 :
129 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|