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 TextInTable 29[ uuid = "63C33940-69D8-101D-9757-C667E8298000" ] 30{ 31 import Text; 32 import TextTable; 33} 34 35interface ListInTable 36[ uuid="7F1A6E20-69D8-101D-9757-C667E8298000" ] 37{ 38 import Text; 39 import TextList; 40 import TextTable; 41} 42 43interface ListInText 44[ uuid = "8A4C07E0-69D8-101D-9757-C667E8298000"] 45{ 46 import TextList; 47 import Text; 48} 49 50interface TextEditView : BaseTextEditView 51[ 52 uuid = "09782660-111A-101D-9757-6E74207A7520" 53] 54{ 55 // Slots, die nicht in der WebDocShell gebraucht werden 56 FN_INSERT_OBJ_CTRL 57 [ 58 ExecMethod = Execute ; 59 StateMethod = GetState ; 60 Export = FALSE ; 61 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 62 ] 63 FN_INSERT_CAPTION // status() 64 [ 65 ExecMethod = ExecDlgExt ; 66 StateMethod = GetState ; 67 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 68 ] 69 FN_EDIT_FOOTNOTE // status(final|play) 70 [ 71 ExecMethod = ExecDlgExt ; 72 StateMethod = GetState ; 73 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 74 ] 75 FN_HYPHENATE_OPT_DLG // status(final|play) 76 [ 77 ExecMethod = ExecLingu ; 78 StateMethod = GetState ; 79 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 80 ] 81 FN_CHANGE_PAGENUM // status(final) 82 [ 83 ExecMethod = ExecDlg ; 84 StateMethod = GetState ; 85 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 86 ] 87 SID_INSERT_DRAW // status() 88 [ 89 ExecMethod = ExecDraw ; 90 StateMethod = GetDrawState ; 91 ] 92 SID_FONTWORK_GALLERY_FLOATER 93 [ 94 ExecMethod = ExecDraw ; 95 StateMethod = GetDrawState ; 96 ] 97 SID_DRAWTBX_CS_BASIC 98 [ 99 ExecMethod = ExecDraw ; 100 StateMethod = GetDrawState ; 101 ] 102 SID_DRAWTBX_CS_SYMBOL 103 [ 104 ExecMethod = ExecDraw ; 105 StateMethod = GetDrawState ; 106 ] 107 SID_DRAWTBX_CS_ARROW 108 [ 109 ExecMethod = ExecDraw ; 110 StateMethod = GetDrawState ; 111 ] 112 SID_DRAWTBX_CS_FLOWCHART 113 [ 114 ExecMethod = ExecDraw ; 115 StateMethod = GetDrawState ; 116 ] 117 SID_DRAWTBX_CS_CALLOUT 118 [ 119 ExecMethod = ExecDraw ; 120 StateMethod = GetDrawState ; 121 ] 122 SID_DRAWTBX_CS_STAR 123 [ 124 ExecMethod = ExecDraw ; 125 StateMethod = GetDrawState ; 126 ] 127 SID_DRAW_CS_ID 128 [ 129 ExecMethod = ExecDraw ; 130 StateMethod = GetDrawState ; 131 ] 132 SID_FM_CREATE_CONTROL // status() 133 [ 134 ExecMethod = ExecDraw ; 135 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 136 ] 137 SID_FM_CREATE_FIELDCONTROL 138 [ 139 ExecMethod = ExecDraw ; 140 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 141 ] 142} 143 //========================================================================= 144 145shell SwView 146 147{ 148 import TextEditView [Automation]; 149// import TextPage "Page"; 150// import SearchSettings; 151// import SearchAttributes; 152// import ReplaceAttributes; 153} 154 155interface TextPrintPreview 156[ uuid = "1622A480-111A-101D-9757-6E74207A7520" ] 157{ 158 SID_BROWSER_MODE 159 [ 160 StateMethod = GetState; 161 ] 162 FN_PRINT_LAYOUT 163 [ 164 ExecMethod = Execute; 165 StateMethod = GetState; 166 ] 167 FN_REFRESH_VIEW // status(final|play) 168 [ 169 StateMethod = GetState ; 170 ] 171 FN_CHAR_LEFT // status(final|play) 172 [ 173 ExecMethod = Execute; 174 StateMethod = NoState ; 175 ] 176 FN_CHAR_RIGHT // status(final|play) 177 [ 178 ExecMethod = Execute; 179 StateMethod = NoState ; 180 ] 181 FN_LINE_UP // status(final|play) 182 [ 183 ExecMethod = Execute; 184 StateMethod = NoState ; 185 ] 186 FN_LINE_DOWN // status(final|play) 187 [ 188 ExecMethod = Execute; 189 StateMethod = NoState ; 190 ] 191 FN_PAGEUP // status(final|play) 192 [ 193 ExecMethod = Execute ; 194 StateMethod = GetState ; 195 ] 196 FN_PAGEDOWN // status(final|play) 197 [ 198 ExecMethod = Execute ; 199 StateMethod = GetState ; 200 ] 201 FN_START_OF_DOCUMENT // status(final|play) 202 [ 203 ExecMethod = Execute ; 204 StateMethod = GetState ; 205 ] 206 FN_END_OF_DOCUMENT // status(final|play) 207 [ 208 ExecMethod = Execute ; 209 StateMethod = GetState ; 210 ] 211 FN_SHOW_TWO_PAGES // status(final|play) 212 [ 213 ExecMethod = Execute ; 214 StateMethod = GetState ; 215 ] 216 FN_SHOW_MULTIPLE_PAGES // status(final|play) 217 [ 218 ExecMethod = Execute ; 219 StateMethod = GetState ; 220 ] 221 FN_SHOW_BOOKVIEW // status(final|play) 222 [ 223 ExecMethod = Execute ; 224 StateMethod = GetState ; 225 ] 226 FN_PRINT_PAGEPREVIEW // status() 227 [ 228 ExecMethod = Execute ; 229 StateMethod = GetState ; 230 ] 231 SID_PRINTDOC // status(final|play) 232 [ 233 ExecMethod = Execute ; 234 StateMethod = GetState ; 235 ] 236 SID_PRINTDOCDIRECT // status(final|play) 237 [ 238 ExecMethod = Execute ; 239 StateMethod = GetState ; 240 ] 241 SID_PRINTPREVIEW // status(final|play) 242 [ 243 ExecMethod = Execute ; 244 StateMethod = GetState ; 245 ] 246 FN_CLOSE_PAGEPREVIEW 247 [ 248 ExecMethod = Execute ; 249 StateMethod = GetState ; 250 ] 251 SID_ZOOM_IN 252 [ 253 ExecMethod = Execute ; 254 StateMethod = GetState ; 255 ] 256 SID_ZOOM_OUT 257 [ 258 ExecMethod = Execute ; 259 StateMethod = GetState ; 260 ] 261 FN_PREVIEW_ZOOM 262 [ 263 ExecMethod = Execute ; 264 StateMethod = GetState ; 265 ] 266 SID_UNDO // status() 267 [ 268 StateMethod = StateUndo ; 269 ] 270 SID_REDO // status() 271 [ 272 StateMethod = StateUndo ; 273 ] 274 SID_REPEAT // status() 275 [ 276 StateMethod = StateUndo ; 277 ] 278 //--------------------------------------------------------------------- 279 //Ab hier Statusleiste 280 FN_STAT_ZOOM // status() 281 [ 282 ExecMethod = Execute ; 283 StateMethod = GetState ; 284 ] 285 SID_ATTR_ZOOM // status() 286 [ 287 ExecMethod = Execute ; 288 StateMethod = GetState ; 289 ] 290 FN_STAT_PAGE // status() 291 [ 292 ExecMethod = Execute ; 293 StateMethod = GetState ; 294 ] 295 FN_START_OF_LINE // status() 296 [ 297 ExecMethod = Execute ; 298 StateMethod = GetState ; 299 ] 300 FN_END_OF_LINE // status() 301 [ 302 ExecMethod = Execute ; 303 StateMethod = GetState ; 304 ] 305 FN_INSERT_BREAK // status() 306 [ 307 ExecMethod = Execute ; 308 StateMethod = GetState ; 309 ] 310 SID_ATTR_ZOOMSLIDER // status() 311 [ 312 ExecMethod = Execute ; 313 StateMethod = GetState ; 314 ] 315 //---------------------------------------------- 316 //End mit Statusleiste 317} 318 319 //========================================================================= 320 321shell SwPagePreView 322{ 323 import TextPrintPreview[Automation]; 324} 325 326 327