1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: graphsh.sdi,v $
12 * This file is part of OpenOffice.org.
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.
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).
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.
29 ************************************************************************/
31 interface GraphSelection
37 ExecMethod = ExecuteFilter;
38 StateMethod = GetFilterState;
42 ExecMethod = ExecuteFilter;
43 StateMethod = GetFilterState;
47 ExecMethod = ExecuteFilter;
48 StateMethod = GetFilterState;
52 ExecMethod = ExecuteFilter;
53 StateMethod = GetFilterState;
55 SID_GRFFILTER_REMOVENOISE
57 ExecMethod = ExecuteFilter;
58 StateMethod = GetFilterState;
62 ExecMethod = ExecuteFilter;
63 StateMethod = GetFilterState;
67 ExecMethod = ExecuteFilter;
68 StateMethod = GetFilterState;
72 ExecMethod = ExecuteFilter;
73 StateMethod = GetFilterState;
77 ExecMethod = ExecuteFilter;
78 StateMethod = GetFilterState;
82 ExecMethod = ExecuteFilter;
83 StateMethod = GetFilterState;
87 ExecMethod = ExecuteFilter;
88 StateMethod = GetFilterState;
90 SID_GRFFILTER_SOLARIZE
92 ExecMethod = ExecuteFilter;
93 StateMethod = GetFilterState;
96 // other graphics functions
100 ExecMethod = Execute;
101 StateMethod = GetAttrState;
105 ExecMethod = Execute;
106 StateMethod = GetAttrState;
110 ExecMethod = Execute;
111 StateMethod = GetAttrState;
115 ExecMethod = Execute;
116 StateMethod = GetAttrState;
118 SID_ATTR_GRAF_LUMINANCE
120 ExecMethod = Execute;
121 StateMethod = GetAttrState;
123 SID_ATTR_GRAF_CONTRAST
125 ExecMethod = Execute;
126 StateMethod = GetAttrState;
130 ExecMethod = Execute;
131 StateMethod = GetAttrState;
133 SID_ATTR_GRAF_TRANSPARENCE
135 ExecMethod = Execute;
136 StateMethod = GetAttrState;
140 ExecMethod = Execute;
141 StateMethod = GetAttrState;
145 ExecMethod = Execute;
146 StateMethod = GetAttrState;
150 // ===========================================================================
151 shell ScGraphicShell : ScDrawShell
153 import GraphSelection;