1/*
2 * This file is part of the LibreOffice project.
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * This file incorporates work covered by the following license notice:
9 *
10 *   Licensed to the Apache Software Foundation (ASF) under one or more
11 *   contributor license agreements. See the NOTICE file distributed
12 *   with this work for additional information regarding copyright
13 *   ownership. The ASF licenses this file to you under the Apache
14 *   License, Version 2.0 (the "License"); you may not use this file
15 *   except in compliance with the License. You may obtain a copy of
16 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17 */
18
19interface BaseTextGraphic
20{
21    SID_FLIP_VERTICAL
22    [
23        ExecMethod = ExecAttr ;
24        StateMethod = GetAttrState ;
25        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
26    ]
27
28    SID_FLIP_HORIZONTAL
29    [
30        ExecMethod = ExecAttr ;
31        StateMethod = GetAttrState ;
32        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
33    ]
34
35    FN_FORMAT_GRAFIC_DLG // status(final|play)
36    [
37        ExecMethod = Execute ;
38        StateMethod = GetAttrState ;
39        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
40    ]
41    FN_DRAW_WRAP_DLG // status(final|play)
42    [
43        ExecMethod = Execute ;
44        StateMethod = GetAttrState ;
45        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
46    ]
47
48    SID_SAVE_GRAPHIC
49    [
50        ExecMethod = Execute ;
51        StateMethod = GetAttrState ;
52        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
53    ]
54
55    SID_COMPRESS_GRAPHIC
56    [
57        ExecMethod = Execute ;
58        StateMethod = GetAttrState ;
59        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
60    ]
61
62    SID_CHANGE_PICTURE
63    [
64        ExecMethod = Execute ;
65        StateMethod = GetAttrState ;
66        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
67    ]
68
69    SID_EXTERNAL_EDIT
70    [
71        ExecMethod = Execute ;
72        StateMethod = GetAttrState ;
73        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
74    ]
75
76    SID_ROTATE_GRAPHIC_LEFT
77    [
78        ExecMethod = ExecuteRotation ;
79        StateMethod = GetAttrStateForRotation ;
80        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
81    ]
82
83    SID_ROTATE_GRAPHIC_180
84    [
85        ExecMethod = ExecuteRotation ;
86        StateMethod = GetAttrStateForRotation ;
87        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
88    ]
89
90    SID_ROTATE_GRAPHIC_RIGHT
91    [
92        ExecMethod = ExecuteRotation ;
93        StateMethod = GetAttrStateForRotation ;
94        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
95    ]
96
97    SID_ROTATE_GRAPHIC_RESET
98    [
99        ExecMethod = ExecuteRotation ;
100        StateMethod = GetAttrStateForRotation ;
101        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
102    ]
103
104    SID_ATTR_TRANSFORM_ANGLE
105    [
106        ExecMethod = ExecuteRotation ;
107        StateMethod = GetAttrStateForRotation ;
108        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
109    ]
110
111    SID_OBJECT_CROP
112    [
113        ExecMethod = Execute ;
114        StateMethod = GetAttrState ;
115        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
116    ]
117
118    SID_INSERT_GRAPHIC // points to FN_FORMAT_GRAFIC_DLG
119    [
120        ExecMethod = Execute ;
121        StateMethod = GetAttrState ;
122        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
123    ]
124
125    SID_TWAIN_TRANSFER
126    [
127        ExecMethod = Execute ;
128        StateMethod = GetAttrState ;
129        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
130    ]
131
132    FN_GRAPHIC_MIRROR_ON_EVEN_PAGES // status(final|play|rec)
133    [
134        ExecMethod = Execute ;
135        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
136    ]
137
138    SID_ATTR_GRAF_LUMINANCE // status(final|play|rec)
139    [
140        ExecMethod = ExecAttr ;
141        StateMethod = GetAttrState ;
142        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
143    ]
144    SID_ATTR_GRAF_CONTRAST  // status(final|play|rec)
145    [
146        ExecMethod = ExecAttr ;
147        StateMethod = GetAttrState ;
148        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
149    ]
150    SID_ATTR_GRAF_RED   // status(final|play|rec)
151    [
152        ExecMethod = ExecAttr ;
153        StateMethod = GetAttrState ;
154        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
155    ]
156    SID_ATTR_GRAF_GREEN // status(final|play|rec)
157    [
158        ExecMethod = ExecAttr ;
159        StateMethod = GetAttrState ;
160        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
161    ]
162    SID_ATTR_GRAF_BLUE  // status(final|play|rec)
163    [
164        ExecMethod = ExecAttr ;
165        StateMethod = GetAttrState ;
166        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
167    ]
168    SID_ATTR_GRAF_GAMMA // status(final|play|rec)
169    [
170        ExecMethod = ExecAttr ;
171        StateMethod = GetAttrState ;
172        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
173    ]
174    SID_ATTR_GRAF_TRANSPARENCE  // status(final|play|rec)
175    [
176        ExecMethod = ExecAttr ;
177        StateMethod = GetAttrState ;
178        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
179    ]
180    SID_ATTR_GRAF_INVERT    // status(final|play|rec)
181    [
182        ExecMethod = ExecAttr ;
183        StateMethod = GetAttrState ;
184        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
185    ]
186    SID_ATTR_GRAF_MODE  // status(final|play|rec)
187    [
188        ExecMethod = ExecAttr ;
189        StateMethod = GetAttrState ;
190        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
191    ]
192    SID_GRFFILTER   // status(final|play|rec)
193    [
194        ExecMethod = ExecAttr ;
195        StateMethod = GetAttrState ;
196        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
197    ]
198
199    SID_GRFFILTER_INVERT    // status(final|play|rec)
200    [
201        ExecMethod = ExecAttr ;
202        StateMethod = GetAttrState ;
203        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
204    ]
205    SID_GRFFILTER_SMOOTH    // status(final|play|rec)
206    [
207        ExecMethod = ExecAttr ;
208        StateMethod = GetAttrState ;
209        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
210    ]
211    SID_GRFFILTER_SHARPEN   // status(final|play|rec)
212    [
213        ExecMethod = ExecAttr ;
214        StateMethod = GetAttrState ;
215        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
216    ]
217    SID_GRFFILTER_REMOVENOISE   // status(final|play|rec)
218    [
219        ExecMethod = ExecAttr ;
220        StateMethod = GetAttrState ;
221        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
222    ]
223    SID_GRFFILTER_SOBEL // status(final|play|rec)
224    [
225        ExecMethod = ExecAttr ;
226        StateMethod = GetAttrState ;
227        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
228    ]
229    SID_GRFFILTER_MOSAIC    // status(final|play|rec)
230    [
231        ExecMethod = ExecAttr ;
232        StateMethod = GetAttrState ;
233        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
234    ]
235    SID_GRFFILTER_EMBOSS    // status(final|play|rec)
236    [
237        ExecMethod = ExecAttr ;
238        StateMethod = GetAttrState ;
239        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
240    ]
241    SID_GRFFILTER_POSTER    // status(final|play|rec)
242    [
243        ExecMethod = ExecAttr ;
244        StateMethod = GetAttrState ;
245        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
246    ]
247    SID_GRFFILTER_POPART    // status(final|play|rec)
248    [
249        ExecMethod = ExecAttr ;
250        StateMethod = GetAttrState ;
251        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
252    ]
253    SID_GRFFILTER_SEPIA // status(final|play|rec)
254    [
255        ExecMethod = ExecAttr ;
256        StateMethod = GetAttrState ;
257        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
258    ]
259    SID_GRFFILTER_SOLARIZE  // status(final|play|rec)
260    [
261        ExecMethod = ExecAttr ;
262        StateMethod = GetAttrState ;
263        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
264    ]
265        SID_COLOR_SETTINGS       // status(final|play|rec)
266        [
267                ExecMethod = ExecAttr ;
268                StateMethod = GetAttrState ;
269                DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
270        ]
271
272}
273