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