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 22enum FadeEffect 23{ 24 FADE_EFFECT_NONE , 25 FADE_EFFECT_FADE_FROM_LEFT , 26 FADE_EFFECT_FADE_FROM_TOP , 27 FADE_EFFECT_FADE_FROM_RIGHT , 28 FADE_EFFECT_FADE_FROM_BOTTOM , 29 FADE_EFFECT_FADE_TO_CENTER , 30 FADE_EFFECT_FADE_FROM_CENTER , 31 FADE_EFFECT_MOVE_FROM_LEFT , 32 FADE_EFFECT_MOVE_FROM_TOP , 33 FADE_EFFECT_MOVE_FROM_RIGHT , 34 FADE_EFFECT_MOVE_FROM_BOTTOM , 35 FADE_EFFECT_ROLL_FROM_LEFT , 36 FADE_EFFECT_ROLL_FROM_TOP , 37 FADE_EFFECT_ROLL_FROM_RIGHT , 38 FADE_EFFECT_ROLL_FROM_BOTTOM , 39 FADE_EFFECT_VERTICAL_STRIPES , 40 FADE_EFFECT_HORIZONTAL_STRIPES , 41 FADE_EFFECT_OPEN_VERTICAL , 42 FADE_EFFECT_CLOSE_VERTICAL , 43 FADE_EFFECT_OPEN_HORIZONTAL , 44 FADE_EFFECT_CLOSE_HORIZONTAL , 45 FADE_EFFECT_CLEAR_AWAY , 46 FADE_EFFECT_OVERLAY 47} 48 49enum FadeSpeed 50{ 51 FADE_SPEED_SLOW , 52 FADE_SPEED_MEDIUM , 53 FADE_SPEED_FAST 54} 55 56enum PresChange 57{ 58 PRESCHANGE_MANUAL , 59 PRESCHANGE_AUTO , 60 PRESCHANGE_SEMIAUTO 61} ; 62 63 // Items 64item UINT32 DiaTimeItem ; 65item PresChange DiaAutoItem ; 66item FadeEffect DiaEffectItem ; 67item FadeSpeed DiaSpeedItem ; 68 69interface SlideSorterView 70{ 71 SID_INSERTPAGE 72 [ 73 ExecMethod = FuTemporary ; 74 StateMethod = GetMenuState ; 75 ] 76 SID_INSERT_MASTER_PAGE 77 [ 78 ExecMethod = FuTemporary ; 79 StateMethod = GetMenuState ; 80 ] 81 SID_DUPLICATE_PAGE 82 [ 83 ExecMethod = FuTemporary ; 84 StateMethod = GetMenuState ; 85 ] 86 SID_DELETE_PAGE 87 [ 88 ExecMethod = FuTemporary ; 89 StateMethod = GetClipboardState ; 90 ] 91 SID_DELETE_MASTER_PAGE 92 [ 93 ExecMethod = FuTemporary ; 94 StateMethod = GetClipboardState ; 95 ] 96 SID_RENAMEPAGE 97 [ 98 ExecMethod = FuTemporary ; 99 StateMethod = GetMenuState ; 100 ] 101 SID_RENAME_MASTER_PAGE 102 [ 103 ExecMethod = FuTemporary ; 104 StateMethod = GetMenuState ; 105 ] 106 SID_DELETE 107 [ 108 ExecMethod = FuTemporary ; 109 StateMethod = GetMenuState ; 110 ] 111 SID_CUT // ole : no, status : ? 112 [ 113 ExecMethod = FuSupport ; 114 StateMethod = GetClipboardState ; 115 ] 116 SID_COPY // ole : no, status : ? 117 [ 118 ExecMethod = FuSupport ; 119 StateMethod = GetClipboardState ; 120 ] 121 SID_PASTE // ole : no, status : ? 122 [ 123 ExecMethod = FuSupport ; 124 StateMethod = GetClipboardState ; 125 ] 126 SID_PASTE_SPECIAL // ole : no, status : ? 127 [ 128 ExecMethod = FuSupport ; 129 StateMethod = GetClipboardState ; 130 ] 131 SID_REHEARSE_TIMINGS // ole : no, status : ? 132 [ 133 ExecMethod = FuTemporary ; 134 StateMethod = GetMenuState ; 135 ] 136 SID_PRESENTATION // ole : no, status : ? 137 [ 138 ExecMethod = FuTemporary ; 139 StateMethod = GetMenuState ; 140 ] 141 SID_HIDE_SLIDE // ole : no, status : ? 142 [ 143 ExecMethod = FuTemporary ; 144 StateMethod = GetMenuState ; 145 ] 146 SID_SHOW_SLIDE // ole : no, status : ? 147 [ 148 ExecMethod = FuTemporary ; 149 StateMethod = GetMenuState ; 150 ] 151 SID_OBJECT_SELECT // ole : no, status : ? 152 [ 153 ExecMethod = FuPermanent ; 154 StateMethod = GetMenuState ; 155 ] 156 SID_ZOOM_TOOLBOX // ole : no, status : ? 157 [ 158 ExecMethod = FuTemporary ; 159 StateMethod = GetMenuState ; 160 ] 161 SID_SIZE_VISAREA // ole : no, status : no 162 [ 163 ExecMethod = FuTemporary ; 164 StateMethod = GetMenuState ; 165 ] 166 SID_PAGES_PER_ROW // ole : no, status : ? 167 [ 168 ExecMethod = FuTemporary ; 169 StateMethod = GetAttrState ; 170 ] 171 SID_SELECTALL // ole : no, status : ? 172 [ 173 ExecMethod = FuTemporary ; 174 StateMethod = GetMenuState ; 175 ] 176 SID_STATUS_PAGE // ole : no, status : ? 177 [ 178 ExecMethod = ExecStatusBar ; 179 StateMethod = GetStatusBarState ; 180 ] 181 SID_STATUS_LAYOUT // ole : no, status : ? 182 [ 183 ExecMethod = ExecStatusBar ; 184 StateMethod = GetStatusBarState ; 185 ] 186/* #121506: Zoom slider disappears after changing page/slide in Draw/Impress 187 SID_ATTR_ZOOMSLIDER // status() 188 [ 189 ExecMethod = ExecStatusBar ; 190 StateMethod = GetStatusBarState ; 191 ] 192*/ 193 194 SID_RELOAD // ole : no, status : ? 195 [ 196 GroupId = GID_DOCUMENT ; 197 ExecMethod = ExecCtrl ; 198 StateMethod = GetCtrlState ; 199 Asynchron , AutoUpdate , 200 MenuConfig , AccelConfig , ToolBoxConfig ; 201 ] 202 SID_SEARCH_DLG // ole : no, status : ? 203 [ 204 ExecMethod = ExecCtrl ; 205 StateMethod = GetMenuState ; 206 ] 207 SID_STYLE_CATALOG // ole : no, status : ? 208 [ 209 ExecMethod = FuTemporary ; 210 StateMethod = GetMenuState ; 211 ] 212 SID_SLIDE_TRANSITIONS_PANEL // ole : no, status : ? 213 [ 214 ExecMethod = FuTemporary ; 215 StateMethod = GetMenuState ; 216 ] 217 SID_PRESENTATION_DLG 218 [ 219 ExecMethod = FuTemporary ; 220 ] 221 SID_CUSTOMSHOW_DLG 222 [ 223 ExecMethod = FuTemporary ; 224 ] 225 SID_EXPAND_PAGE // ole : no, status : play rec 226 [ 227 ExecMethod = FuTemporary ; 228 StateMethod = GetMenuState ; 229 ] 230 SID_SUMMARY_PAGE // ole : no, status : ? 231 [ 232 ExecMethod = FuTemporary ; 233 StateMethod = GetMenuState ; 234 ] 235 SID_OUTPUT_QUALITY_COLOR // ole : no, status : play rec 236 [ 237 ExecMethod = ExecCtrl ; 238 StateMethod = GetCtrlState ; 239 ] 240 SID_OUTPUT_QUALITY_GRAYSCALE // ole : no, status : play rec 241 [ 242 ExecMethod = ExecCtrl ; 243 StateMethod = GetCtrlState ; 244 ] 245 SID_OUTPUT_QUALITY_BLACKWHITE // ole : no, status : play rec 246 [ 247 ExecMethod = ExecCtrl ; 248 StateMethod = GetCtrlState ; 249 ] 250 SID_OUTPUT_QUALITY_CONTRAST // ole : no, status : play rec 251 [ 252 ExecMethod = ExecCtrl ; 253 StateMethod = GetCtrlState ; 254 ] 255 SID_MAIL_SCROLLBODY_PAGEDOWN // ole : no, status : ? 256 [ 257 ExecMethod = ExecCtrl ; 258 StateMethod = GetCtrlState ; 259 ] 260 SID_STYLE_FAMILY 261 [ 262 ExecMethod = FuSupport ; 263 StateMethod = GetMenuState ; 264 ] 265 SID_OPT_LOCALE_CHANGED // ole : no, status : ? 266 [ 267 ExecMethod = ExecCtrl ; 268 StateMethod = GetCtrlState ; 269 ] 270 271 // #96090# 272 SID_GETUNDOSTRINGS // ole : no, status : ? 273 [ 274 ExecMethod = FuSupport ; 275 StateMethod = GetMenuState ; 276 ] 277 SID_UNDO // ole : no, status : ? 278 [ 279 ExecMethod = FuSupport ; 280 StateMethod = GetMenuState ; 281 ] 282 SID_GETREDOSTRINGS // ole : no, status : ? 283 [ 284 ExecMethod = FuSupport ; 285 StateMethod = GetMenuState ; 286 ] 287 SID_REDO // ole : no, status : ? 288 [ 289 ExecMethod = FuSupport ; 290 StateMethod = GetMenuState ; 291 ] 292 SID_MODIFYPAGE 293 [ 294 ExecMethod = FuTemporary ; 295 StateMethod = GetMenuState ; 296 ] 297 SID_ASSIGN_LAYOUT 298 [ 299 ExecMethod = FuTemporary; 300 StateMethod = GetMenuState; 301 ] 302} 303 304shell SlideSorterController 305{ 306 import SlideSorterView[Automation]; 307} 308 309shell SlideSorterViewShell 310{ 311 import SlideSorterView[Automation]; 312} 313