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 22 23 24interface GraphSelection 25{ 26 // filters 27 28 SID_GRFFILTER 29 [ 30 ExecMethod = ExecuteFilter; 31 StateMethod = GetFilterState; 32 ] 33 SID_GRFFILTER_INVERT 34 [ 35 ExecMethod = ExecuteFilter; 36 StateMethod = GetFilterState; 37 ] 38 SID_GRFFILTER_SMOOTH 39 [ 40 ExecMethod = ExecuteFilter; 41 StateMethod = GetFilterState; 42 ] 43 SID_GRFFILTER_SHARPEN 44 [ 45 ExecMethod = ExecuteFilter; 46 StateMethod = GetFilterState; 47 ] 48 SID_GRFFILTER_REMOVENOISE 49 [ 50 ExecMethod = ExecuteFilter; 51 StateMethod = GetFilterState; 52 ] 53 SID_GRFFILTER_SOBEL 54 [ 55 ExecMethod = ExecuteFilter; 56 StateMethod = GetFilterState; 57 ] 58 SID_GRFFILTER_MOSAIC 59 [ 60 ExecMethod = ExecuteFilter; 61 StateMethod = GetFilterState; 62 ] 63 SID_GRFFILTER_EMBOSS 64 [ 65 ExecMethod = ExecuteFilter; 66 StateMethod = GetFilterState; 67 ] 68 SID_GRFFILTER_POSTER 69 [ 70 ExecMethod = ExecuteFilter; 71 StateMethod = GetFilterState; 72 ] 73 SID_GRFFILTER_POPART 74 [ 75 ExecMethod = ExecuteFilter; 76 StateMethod = GetFilterState; 77 ] 78 SID_GRFFILTER_SEPIA 79 [ 80 ExecMethod = ExecuteFilter; 81 StateMethod = GetFilterState; 82 ] 83 SID_GRFFILTER_SOLARIZE 84 [ 85 ExecMethod = ExecuteFilter; 86 StateMethod = GetFilterState; 87 ] 88 89 // other graphics functions 90 91 SID_ATTR_GRAF_MODE 92 [ 93 ExecMethod = Execute; 94 StateMethod = GetAttrState; 95 ] 96 SID_ATTR_GRAF_RED 97 [ 98 ExecMethod = Execute; 99 StateMethod = GetAttrState; 100 ] 101 SID_ATTR_GRAF_GREEN 102 [ 103 ExecMethod = Execute; 104 StateMethod = GetAttrState; 105 ] 106 SID_ATTR_GRAF_BLUE 107 [ 108 ExecMethod = Execute; 109 StateMethod = GetAttrState; 110 ] 111 SID_ATTR_GRAF_LUMINANCE 112 [ 113 ExecMethod = Execute; 114 StateMethod = GetAttrState; 115 ] 116 SID_ATTR_GRAF_CONTRAST 117 [ 118 ExecMethod = Execute; 119 StateMethod = GetAttrState; 120 ] 121 SID_ATTR_GRAF_GAMMA 122 [ 123 ExecMethod = Execute; 124 StateMethod = GetAttrState; 125 ] 126 SID_ATTR_GRAF_TRANSPARENCE 127 [ 128 ExecMethod = Execute; 129 StateMethod = GetAttrState; 130 ] 131 SID_ATTR_GRAF_CROP 132 [ 133 ExecMethod = Execute; 134 StateMethod = GetAttrState; 135 ] 136 SID_COLOR_SETTINGS 137 [ 138 ExecMethod = Execute; 139 StateMethod = GetAttrState; 140 ] 141} 142 143 // =========================================================================== 144shell ScGraphicShell : ScDrawShell 145{ 146 import GraphSelection; 147} 148 149