Update ooo320-m1
[ooovba.git] / sc / sdi / graphsh.sdi
blob9b65751a67e4841893f6a329c169cc2c4fb952e1
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: graphsh.sdi,v $
10  * $Revision: 1.9 $
11  *
12  * This file is part of OpenOffice.org.
13  *
14  * OpenOffice.org is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU Lesser General Public License version 3
16  * only, as published by the Free Software Foundation.
17  *
18  * OpenOffice.org is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU Lesser General Public License version 3 for more details
22  * (a copy is included in the LICENSE file that accompanied this code).
23  *
24  * You should have received a copy of the GNU Lesser General Public License
25  * version 3 along with OpenOffice.org.  If not, see
26  * <http://www.openoffice.org/license.html>
27  * for a copy of the LGPLv3 License.
28  *
29  ************************************************************************/
31 interface GraphSelection
33     //  filters
35     SID_GRFFILTER
36     [
37         ExecMethod = ExecuteFilter;
38         StateMethod = GetFilterState;
39     ]
40     SID_GRFFILTER_INVERT
41     [
42         ExecMethod = ExecuteFilter;
43         StateMethod = GetFilterState;
44     ]
45     SID_GRFFILTER_SMOOTH
46     [
47         ExecMethod = ExecuteFilter;
48         StateMethod = GetFilterState;
49     ]
50     SID_GRFFILTER_SHARPEN
51     [
52         ExecMethod = ExecuteFilter;
53         StateMethod = GetFilterState;
54     ]
55     SID_GRFFILTER_REMOVENOISE
56     [
57         ExecMethod = ExecuteFilter;
58         StateMethod = GetFilterState;
59     ]
60     SID_GRFFILTER_SOBEL
61     [
62         ExecMethod = ExecuteFilter;
63         StateMethod = GetFilterState;
64     ]
65     SID_GRFFILTER_MOSAIC
66     [
67         ExecMethod = ExecuteFilter;
68         StateMethod = GetFilterState;
69     ]
70     SID_GRFFILTER_EMBOSS
71     [
72         ExecMethod = ExecuteFilter;
73         StateMethod = GetFilterState;
74     ]
75     SID_GRFFILTER_POSTER
76     [
77         ExecMethod = ExecuteFilter;
78         StateMethod = GetFilterState;
79     ]
80     SID_GRFFILTER_POPART
81     [
82         ExecMethod = ExecuteFilter;
83         StateMethod = GetFilterState;
84     ]
85     SID_GRFFILTER_SEPIA
86     [
87         ExecMethod = ExecuteFilter;
88         StateMethod = GetFilterState;
89     ]
90     SID_GRFFILTER_SOLARIZE
91     [
92         ExecMethod = ExecuteFilter;
93         StateMethod = GetFilterState;
94     ]
96     // other graphics functions
98     SID_ATTR_GRAF_MODE
99     [
100         ExecMethod = Execute;
101         StateMethod = GetAttrState;
102     ]
103     SID_ATTR_GRAF_RED
104     [
105         ExecMethod = Execute;
106         StateMethod = GetAttrState;
107     ]
108     SID_ATTR_GRAF_GREEN
109     [
110         ExecMethod = Execute;
111         StateMethod = GetAttrState;
112     ]
113     SID_ATTR_GRAF_BLUE
114     [
115         ExecMethod = Execute;
116         StateMethod = GetAttrState;
117     ]
118     SID_ATTR_GRAF_LUMINANCE
119     [
120         ExecMethod = Execute;
121         StateMethod = GetAttrState;
122     ]
123     SID_ATTR_GRAF_CONTRAST
124     [
125         ExecMethod = Execute;
126         StateMethod = GetAttrState;
127     ]
128     SID_ATTR_GRAF_GAMMA
129     [
130         ExecMethod = Execute;
131         StateMethod = GetAttrState;
132     ]
133     SID_ATTR_GRAF_TRANSPARENCE
134     [
135         ExecMethod = Execute;
136         StateMethod = GetAttrState;
137     ]
138     SID_ATTR_GRAF_CROP
139     [
140         ExecMethod = Execute;
141         StateMethod = GetAttrState;
142     ]
143         SID_COLOR_SETTINGS
144         [
145                 ExecMethod = Execute;
146                 StateMethod = GetAttrState;
147         ]
150  // ===========================================================================
151 shell ScGraphicShell : ScDrawShell
153     import GraphSelection;