1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22interface GraphSelection 23{ 24 // filters 25 26 SID_GRFFILTER 27 [ 28 ExecMethod = ExecuteFilter ; 29 StateMethod = GetFilterState ; 30 ] 31 SID_GRFFILTER_INVERT 32 [ 33 ExecMethod = ExecuteFilter ; 34 StateMethod = GetFilterState ; 35 ] 36 SID_GRFFILTER_SMOOTH 37 [ 38 ExecMethod = ExecuteFilter ; 39 StateMethod = GetFilterState ; 40 ] 41 SID_GRFFILTER_SHARPEN 42 [ 43 ExecMethod = ExecuteFilter ; 44 StateMethod = GetFilterState ; 45 ] 46 SID_GRFFILTER_REMOVENOISE 47 [ 48 ExecMethod = ExecuteFilter ; 49 StateMethod = GetFilterState ; 50 ] 51 SID_GRFFILTER_SOBEL 52 [ 53 ExecMethod = ExecuteFilter ; 54 StateMethod = GetFilterState ; 55 ] 56 SID_GRFFILTER_MOSAIC 57 [ 58 ExecMethod = ExecuteFilter ; 59 StateMethod = GetFilterState ; 60 ] 61 SID_GRFFILTER_EMBOSS 62 [ 63 ExecMethod = ExecuteFilter ; 64 StateMethod = GetFilterState ; 65 ] 66 SID_GRFFILTER_POSTER 67 [ 68 ExecMethod = ExecuteFilter ; 69 StateMethod = GetFilterState ; 70 ] 71 SID_GRFFILTER_POPART 72 [ 73 ExecMethod = ExecuteFilter ; 74 StateMethod = GetFilterState ; 75 ] 76 SID_GRFFILTER_SEPIA 77 [ 78 ExecMethod = ExecuteFilter ; 79 StateMethod = GetFilterState ; 80 ] 81 SID_GRFFILTER_SOLARIZE 82 [ 83 ExecMethod = ExecuteFilter ; 84 StateMethod = GetFilterState ; 85 ] 86 87 // other graphics functions 88 89 SID_ATTR_GRAF_MODE 90 [ 91 ExecMethod = Execute ; 92 StateMethod = GetAttrState ; 93 ] 94 SID_ATTR_GRAF_RED 95 [ 96 ExecMethod = Execute ; 97 StateMethod = GetAttrState ; 98 ] 99 SID_ATTR_GRAF_GREEN 100 [ 101 ExecMethod = Execute ; 102 StateMethod = GetAttrState ; 103 ] 104 SID_ATTR_GRAF_BLUE 105 [ 106 ExecMethod = Execute ; 107 StateMethod = GetAttrState ; 108 ] 109 SID_ATTR_GRAF_LUMINANCE 110 [ 111 ExecMethod = Execute ; 112 StateMethod = GetAttrState ; 113 ] 114 SID_ATTR_GRAF_CONTRAST 115 [ 116 ExecMethod = Execute ; 117 StateMethod = GetAttrState ; 118 ] 119 SID_ATTR_GRAF_GAMMA 120 [ 121 ExecMethod = Execute ; 122 StateMethod = GetAttrState ; 123 ] 124 SID_ATTR_GRAF_TRANSPARENCE 125 [ 126 ExecMethod = Execute ; 127 StateMethod = GetAttrState ; 128 ] 129 SID_ATTR_GRAF_CROP 130 [ 131 ExecMethod = Execute ; 132 StateMethod = GetAttrState ; 133 ] 134 SID_COLOR_SETTINGS 135 [ 136 ExecMethod = Execute ; 137 StateMethod = GetAttrState ; 138 ] 139} 140 141// =========================================================================== 142shell ScGraphicShell : ScDrawShell 143{ 144 import GraphSelection ; 145} 146