1*a02241ffSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*a02241ffSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*a02241ffSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*a02241ffSAndrew Rist * distributed with this work for additional information 6*a02241ffSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*a02241ffSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*a02241ffSAndrew Rist * "License"); you may not use this file except in compliance 9*a02241ffSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*a02241ffSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*a02241ffSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*a02241ffSAndrew Rist * software distributed under the License is distributed on an 15*a02241ffSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*a02241ffSAndrew Rist * KIND, either express or implied. See the License for the 17*a02241ffSAndrew Rist * specific language governing permissions and limitations 18*a02241ffSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*a02241ffSAndrew Rist *************************************************************/ 21*a02241ffSAndrew Rist 22*a02241ffSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirinterface TextInTable 25cdf0e10cSrcweir[ uuid = "63C33940-69D8-101D-9757-C667E8298000" ] 26cdf0e10cSrcweir{ 27cdf0e10cSrcweir import Text; 28cdf0e10cSrcweir import TextTable; 29cdf0e10cSrcweir} 30cdf0e10cSrcweir 31cdf0e10cSrcweirinterface ListInTable 32cdf0e10cSrcweir[ uuid="7F1A6E20-69D8-101D-9757-C667E8298000" ] 33cdf0e10cSrcweir{ 34cdf0e10cSrcweir import Text; 35cdf0e10cSrcweir import TextList; 36cdf0e10cSrcweir import TextTable; 37cdf0e10cSrcweir} 38cdf0e10cSrcweir 39cdf0e10cSrcweirinterface ListInText 40cdf0e10cSrcweir[ uuid = "8A4C07E0-69D8-101D-9757-C667E8298000"] 41cdf0e10cSrcweir{ 42cdf0e10cSrcweir import TextList; 43cdf0e10cSrcweir import Text; 44cdf0e10cSrcweir} 45cdf0e10cSrcweir 46cdf0e10cSrcweirinterface TextEditView : BaseTextEditView 47cdf0e10cSrcweir[ 48cdf0e10cSrcweir uuid = "09782660-111A-101D-9757-6E74207A7520" 49cdf0e10cSrcweir] 50cdf0e10cSrcweir{ 51cdf0e10cSrcweir // Slots, die nicht in der WebDocShell gebraucht werden 52cdf0e10cSrcweir FN_INSERT_OBJ_CTRL 53cdf0e10cSrcweir [ 54cdf0e10cSrcweir ExecMethod = Execute ; 55cdf0e10cSrcweir StateMethod = GetState ; 56cdf0e10cSrcweir Export = FALSE ; 57cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 58cdf0e10cSrcweir ] 59cdf0e10cSrcweir FN_INSERT_CAPTION // status() 60cdf0e10cSrcweir [ 61cdf0e10cSrcweir ExecMethod = ExecDlgExt ; 62cdf0e10cSrcweir StateMethod = GetState ; 63cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 64cdf0e10cSrcweir ] 65cdf0e10cSrcweir FN_EDIT_FOOTNOTE // status(final|play) 66cdf0e10cSrcweir [ 67cdf0e10cSrcweir ExecMethod = ExecDlgExt ; 68cdf0e10cSrcweir StateMethod = GetState ; 69cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 70cdf0e10cSrcweir ] 71cdf0e10cSrcweir FN_HYPHENATE_OPT_DLG // status(final|play) 72cdf0e10cSrcweir [ 73cdf0e10cSrcweir ExecMethod = ExecLingu ; 74cdf0e10cSrcweir StateMethod = GetState ; 75cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 76cdf0e10cSrcweir ] 77cdf0e10cSrcweir FN_CHANGE_PAGENUM // status(final) 78cdf0e10cSrcweir [ 79cdf0e10cSrcweir ExecMethod = ExecDlg ; 80cdf0e10cSrcweir StateMethod = GetState ; 81cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 82cdf0e10cSrcweir ] 83cdf0e10cSrcweir SID_INSERT_DRAW // status() 84cdf0e10cSrcweir [ 85cdf0e10cSrcweir ExecMethod = ExecDraw ; 86cdf0e10cSrcweir StateMethod = GetDrawState ; 87cdf0e10cSrcweir ] 88cdf0e10cSrcweir SID_FONTWORK_GALLERY_FLOATER 89cdf0e10cSrcweir [ 90cdf0e10cSrcweir ExecMethod = ExecDraw ; 91cdf0e10cSrcweir StateMethod = GetDrawState ; 92cdf0e10cSrcweir ] 93cdf0e10cSrcweir SID_DRAWTBX_CS_BASIC 94cdf0e10cSrcweir [ 95cdf0e10cSrcweir ExecMethod = ExecDraw ; 96cdf0e10cSrcweir StateMethod = GetDrawState ; 97cdf0e10cSrcweir ] 98cdf0e10cSrcweir SID_DRAWTBX_CS_SYMBOL 99cdf0e10cSrcweir [ 100cdf0e10cSrcweir ExecMethod = ExecDraw ; 101cdf0e10cSrcweir StateMethod = GetDrawState ; 102cdf0e10cSrcweir ] 103cdf0e10cSrcweir SID_DRAWTBX_CS_ARROW 104cdf0e10cSrcweir [ 105cdf0e10cSrcweir ExecMethod = ExecDraw ; 106cdf0e10cSrcweir StateMethod = GetDrawState ; 107cdf0e10cSrcweir ] 108cdf0e10cSrcweir SID_DRAWTBX_CS_FLOWCHART 109cdf0e10cSrcweir [ 110cdf0e10cSrcweir ExecMethod = ExecDraw ; 111cdf0e10cSrcweir StateMethod = GetDrawState ; 112cdf0e10cSrcweir ] 113cdf0e10cSrcweir SID_DRAWTBX_CS_CALLOUT 114cdf0e10cSrcweir [ 115cdf0e10cSrcweir ExecMethod = ExecDraw ; 116cdf0e10cSrcweir StateMethod = GetDrawState ; 117cdf0e10cSrcweir ] 118cdf0e10cSrcweir SID_DRAWTBX_CS_STAR 119cdf0e10cSrcweir [ 120cdf0e10cSrcweir ExecMethod = ExecDraw ; 121cdf0e10cSrcweir StateMethod = GetDrawState ; 122cdf0e10cSrcweir ] 123cdf0e10cSrcweir SID_DRAW_CS_ID 124cdf0e10cSrcweir [ 125cdf0e10cSrcweir ExecMethod = ExecDraw ; 126cdf0e10cSrcweir StateMethod = GetDrawState ; 127cdf0e10cSrcweir ] 128cdf0e10cSrcweir SID_FM_CREATE_CONTROL // status() 129cdf0e10cSrcweir [ 130cdf0e10cSrcweir ExecMethod = ExecDraw ; 131cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 132cdf0e10cSrcweir ] 133cdf0e10cSrcweir SID_FM_CREATE_FIELDCONTROL 134cdf0e10cSrcweir [ 135cdf0e10cSrcweir ExecMethod = ExecDraw ; 136cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 137cdf0e10cSrcweir ] 138cdf0e10cSrcweir} 139cdf0e10cSrcweir //========================================================================= 140cdf0e10cSrcweir 141cdf0e10cSrcweirshell SwView 142cdf0e10cSrcweir 143cdf0e10cSrcweir{ 144cdf0e10cSrcweir import TextEditView [Automation]; 145cdf0e10cSrcweir// import TextPage "Page"; 146cdf0e10cSrcweir// import SearchSettings; 147cdf0e10cSrcweir// import SearchAttributes; 148cdf0e10cSrcweir// import ReplaceAttributes; 149cdf0e10cSrcweir} 150cdf0e10cSrcweir 151cdf0e10cSrcweirinterface TextPrintPreview 152cdf0e10cSrcweir[ uuid = "1622A480-111A-101D-9757-6E74207A7520" ] 153cdf0e10cSrcweir{ 154cdf0e10cSrcweir SID_BROWSER_MODE 155cdf0e10cSrcweir [ 156cdf0e10cSrcweir StateMethod = GetState; 157cdf0e10cSrcweir ] 158cdf0e10cSrcweir FN_PRINT_LAYOUT 159cdf0e10cSrcweir [ 160cdf0e10cSrcweir ExecMethod = Execute; 161cdf0e10cSrcweir StateMethod = GetState; 162cdf0e10cSrcweir ] 163cdf0e10cSrcweir FN_REFRESH_VIEW // status(final|play) 164cdf0e10cSrcweir [ 165cdf0e10cSrcweir StateMethod = GetState ; 166cdf0e10cSrcweir ] 167cdf0e10cSrcweir FN_CHAR_LEFT // status(final|play) 168cdf0e10cSrcweir [ 169cdf0e10cSrcweir ExecMethod = Execute; 170cdf0e10cSrcweir StateMethod = NoState ; 171cdf0e10cSrcweir ] 172cdf0e10cSrcweir FN_CHAR_RIGHT // status(final|play) 173cdf0e10cSrcweir [ 174cdf0e10cSrcweir ExecMethod = Execute; 175cdf0e10cSrcweir StateMethod = NoState ; 176cdf0e10cSrcweir ] 177cdf0e10cSrcweir FN_LINE_UP // status(final|play) 178cdf0e10cSrcweir [ 179cdf0e10cSrcweir ExecMethod = Execute; 180cdf0e10cSrcweir StateMethod = NoState ; 181cdf0e10cSrcweir ] 182cdf0e10cSrcweir FN_LINE_DOWN // status(final|play) 183cdf0e10cSrcweir [ 184cdf0e10cSrcweir ExecMethod = Execute; 185cdf0e10cSrcweir StateMethod = NoState ; 186cdf0e10cSrcweir ] 187cdf0e10cSrcweir FN_PAGEUP // status(final|play) 188cdf0e10cSrcweir [ 189cdf0e10cSrcweir ExecMethod = Execute ; 190cdf0e10cSrcweir StateMethod = GetState ; 191cdf0e10cSrcweir ] 192cdf0e10cSrcweir FN_PAGEDOWN // status(final|play) 193cdf0e10cSrcweir [ 194cdf0e10cSrcweir ExecMethod = Execute ; 195cdf0e10cSrcweir StateMethod = GetState ; 196cdf0e10cSrcweir ] 197cdf0e10cSrcweir FN_START_OF_DOCUMENT // status(final|play) 198cdf0e10cSrcweir [ 199cdf0e10cSrcweir ExecMethod = Execute ; 200cdf0e10cSrcweir StateMethod = GetState ; 201cdf0e10cSrcweir ] 202cdf0e10cSrcweir FN_END_OF_DOCUMENT // status(final|play) 203cdf0e10cSrcweir [ 204cdf0e10cSrcweir ExecMethod = Execute ; 205cdf0e10cSrcweir StateMethod = GetState ; 206cdf0e10cSrcweir ] 207cdf0e10cSrcweir FN_SHOW_TWO_PAGES // status(final|play) 208cdf0e10cSrcweir [ 209cdf0e10cSrcweir ExecMethod = Execute ; 210cdf0e10cSrcweir StateMethod = GetState ; 211cdf0e10cSrcweir ] 212cdf0e10cSrcweir FN_SHOW_MULTIPLE_PAGES // status(final|play) 213cdf0e10cSrcweir [ 214cdf0e10cSrcweir ExecMethod = Execute ; 215cdf0e10cSrcweir StateMethod = GetState ; 216cdf0e10cSrcweir ] 217cdf0e10cSrcweir FN_SHOW_BOOKVIEW // status(final|play) 218cdf0e10cSrcweir [ 219cdf0e10cSrcweir ExecMethod = Execute ; 220cdf0e10cSrcweir StateMethod = GetState ; 221cdf0e10cSrcweir ] 222cdf0e10cSrcweir FN_PRINT_PAGEPREVIEW // status() 223cdf0e10cSrcweir [ 224cdf0e10cSrcweir ExecMethod = Execute ; 225cdf0e10cSrcweir StateMethod = GetState ; 226cdf0e10cSrcweir ] 227cdf0e10cSrcweir SID_PRINTDOC // status(final|play) 228cdf0e10cSrcweir [ 229cdf0e10cSrcweir ExecMethod = Execute ; 230cdf0e10cSrcweir StateMethod = GetState ; 231cdf0e10cSrcweir ] 232cdf0e10cSrcweir SID_PRINTDOCDIRECT // status(final|play) 233cdf0e10cSrcweir [ 234cdf0e10cSrcweir ExecMethod = Execute ; 235cdf0e10cSrcweir StateMethod = GetState ; 236cdf0e10cSrcweir ] 237cdf0e10cSrcweir SID_PRINTPREVIEW // status(final|play) 238cdf0e10cSrcweir [ 239cdf0e10cSrcweir ExecMethod = Execute ; 240cdf0e10cSrcweir StateMethod = GetState ; 241cdf0e10cSrcweir ] 242cdf0e10cSrcweir FN_CLOSE_PAGEPREVIEW 243cdf0e10cSrcweir [ 244cdf0e10cSrcweir ExecMethod = Execute ; 245cdf0e10cSrcweir StateMethod = GetState ; 246cdf0e10cSrcweir ] 247cdf0e10cSrcweir SID_ZOOM_IN 248cdf0e10cSrcweir [ 249cdf0e10cSrcweir ExecMethod = Execute ; 250cdf0e10cSrcweir StateMethod = GetState ; 251cdf0e10cSrcweir ] 252cdf0e10cSrcweir SID_ZOOM_OUT 253cdf0e10cSrcweir [ 254cdf0e10cSrcweir ExecMethod = Execute ; 255cdf0e10cSrcweir StateMethod = GetState ; 256cdf0e10cSrcweir ] 257cdf0e10cSrcweir FN_PREVIEW_ZOOM 258cdf0e10cSrcweir [ 259cdf0e10cSrcweir ExecMethod = Execute ; 260cdf0e10cSrcweir StateMethod = GetState ; 261cdf0e10cSrcweir ] 262cdf0e10cSrcweir SID_UNDO // status() 263cdf0e10cSrcweir [ 264cdf0e10cSrcweir StateMethod = StateUndo ; 265cdf0e10cSrcweir ] 266cdf0e10cSrcweir SID_REDO // status() 267cdf0e10cSrcweir [ 268cdf0e10cSrcweir StateMethod = StateUndo ; 269cdf0e10cSrcweir ] 270cdf0e10cSrcweir SID_REPEAT // status() 271cdf0e10cSrcweir [ 272cdf0e10cSrcweir StateMethod = StateUndo ; 273cdf0e10cSrcweir ] 274cdf0e10cSrcweir //--------------------------------------------------------------------- 275cdf0e10cSrcweir //Ab hier Statusleiste 276cdf0e10cSrcweir FN_STAT_ZOOM // status() 277cdf0e10cSrcweir [ 278cdf0e10cSrcweir ExecMethod = Execute ; 279cdf0e10cSrcweir StateMethod = GetState ; 280cdf0e10cSrcweir ] 281cdf0e10cSrcweir SID_ATTR_ZOOM // status() 282cdf0e10cSrcweir [ 283cdf0e10cSrcweir ExecMethod = Execute ; 284cdf0e10cSrcweir StateMethod = GetState ; 285cdf0e10cSrcweir ] 286cdf0e10cSrcweir FN_STAT_PAGE // status() 287cdf0e10cSrcweir [ 288cdf0e10cSrcweir ExecMethod = Execute ; 289cdf0e10cSrcweir StateMethod = GetState ; 290cdf0e10cSrcweir ] 291cdf0e10cSrcweir FN_START_OF_LINE // status() 292cdf0e10cSrcweir [ 293cdf0e10cSrcweir ExecMethod = Execute ; 294cdf0e10cSrcweir StateMethod = GetState ; 295cdf0e10cSrcweir ] 296cdf0e10cSrcweir FN_END_OF_LINE // status() 297cdf0e10cSrcweir [ 298cdf0e10cSrcweir ExecMethod = Execute ; 299cdf0e10cSrcweir StateMethod = GetState ; 300cdf0e10cSrcweir ] 301cdf0e10cSrcweir FN_INSERT_BREAK // status() 302cdf0e10cSrcweir [ 303cdf0e10cSrcweir ExecMethod = Execute ; 304cdf0e10cSrcweir StateMethod = GetState ; 305cdf0e10cSrcweir ] 306cdf0e10cSrcweir SID_ATTR_ZOOMSLIDER // status() 307cdf0e10cSrcweir [ 308cdf0e10cSrcweir ExecMethod = Execute ; 309cdf0e10cSrcweir StateMethod = GetState ; 310cdf0e10cSrcweir ] 311cdf0e10cSrcweir //---------------------------------------------- 312cdf0e10cSrcweir //End mit Statusleiste 313cdf0e10cSrcweir} 314cdf0e10cSrcweir 315cdf0e10cSrcweir //========================================================================= 316cdf0e10cSrcweir 317cdf0e10cSrcweirshell SwPagePreView 318cdf0e10cSrcweir{ 319cdf0e10cSrcweir import TextPrintPreview[Automation]; 320cdf0e10cSrcweir} 321cdf0e10cSrcweir 322cdf0e10cSrcweir 323