1*61624e8fSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*61624e8fSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*61624e8fSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*61624e8fSAndrew Rist * distributed with this work for additional information 6*61624e8fSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*61624e8fSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*61624e8fSAndrew Rist * "License"); you may not use this file except in compliance 9*61624e8fSAndrew Rist * with the License. You may obtain a copy of the License at 10*61624e8fSAndrew Rist * 11*61624e8fSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*61624e8fSAndrew Rist * 13*61624e8fSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*61624e8fSAndrew Rist * software distributed under the License is distributed on an 15*61624e8fSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*61624e8fSAndrew Rist * KIND, either express or implied. See the License for the 17*61624e8fSAndrew Rist * specific language governing permissions and limitations 18*61624e8fSAndrew Rist * under the License. 19*61624e8fSAndrew Rist * 20*61624e8fSAndrew Rist *************************************************************/ 21*61624e8fSAndrew Rist 22*61624e8fSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirmodule 25cdf0e10cSrcweir"312C4240-35E7-101C-B12A-04021C007002" 26cdf0e10cSrcweir"58216740-35E7-101C-B12A-04021C007002" 27cdf0e10cSrcweirStarMath 28cdf0e10cSrcweir[ 29cdf0e10cSrcweir HelpText ( "StarMath Application" ) 30cdf0e10cSrcweir SlotIdFile ( "starmath.hrc" ) 31cdf0e10cSrcweir SlotIdFile ( "editeng/editids.hrc" ) 32cdf0e10cSrcweir SlotIdFile ( "sfx2/sfxsids.hrc" ) 33cdf0e10cSrcweir SlotIdFile ( "svx/svxids.hrc" ) 34cdf0e10cSrcweir] 35cdf0e10cSrcweir{ 36cdf0e10cSrcweir include "sfx2/sfxitems.sdi" 37cdf0e10cSrcweir include "sfx2/sfx.sdi" 38cdf0e10cSrcweir include "svx/svxitems.sdi" 39cdf0e10cSrcweir include "svx/xoitems.sdi" 40cdf0e10cSrcweir include "svx/svx.sdi" 41cdf0e10cSrcweir include "smath.sdi" 42cdf0e10cSrcweir interface StarMath 43cdf0e10cSrcweir [ 44cdf0e10cSrcweir uuid ( "92B0FD20-2FC1-11CF-89CA-008029E4B0B1" ) 45cdf0e10cSrcweir ] 46cdf0e10cSrcweir { 47cdf0e10cSrcweir SID_CONFIGEVENT //idlpp ole : no , status : no 48cdf0e10cSrcweir [ 49cdf0e10cSrcweir StateMethod = GetState ; 50cdf0e10cSrcweir ] 51cdf0e10cSrcweir} 52cdf0e10cSrcweir 53cdf0e10cSrcweirshell SmModule 54cdf0e10cSrcweir{ 55cdf0e10cSrcweir import StarMath[Automation]; 56cdf0e10cSrcweir} 57cdf0e10cSrcweir 58cdf0e10cSrcweirinterface FormulaDocument 59cdf0e10cSrcweir[ 60cdf0e10cSrcweir uuid ( "815CBB20-2FC3-11CF-89CA-008029E4B0B1" ) 61cdf0e10cSrcweir] 62cdf0e10cSrcweir{ 63cdf0e10cSrcweir SID_DOCTEMPLATE //idlpp ole : no , status : no 64cdf0e10cSrcweir [ 65cdf0e10cSrcweir StateMethod = GetState ; 66cdf0e10cSrcweir ] 67cdf0e10cSrcweir SID_AUTO_REDRAW //idlpp ole : no , status : no 68cdf0e10cSrcweir [ 69cdf0e10cSrcweir ExecMethod = Execute ; 70cdf0e10cSrcweir StateMethod = GetState ; 71cdf0e10cSrcweir ] 72cdf0e10cSrcweir //idlpp kein Menuepunkt , also keine Texte 73cdf0e10cSrcweir SID_LOADSYMBOLS //idlpp ole : no , status : no 74cdf0e10cSrcweir [ 75cdf0e10cSrcweir ExecMethod = Execute ; 76cdf0e10cSrcweir StateMethod = GetState ; 77cdf0e10cSrcweir ] 78cdf0e10cSrcweir //idlpp kein Menuepunkt , also keine Texte 79cdf0e10cSrcweir SID_SAVESYMBOLS //idlpp ole : no , status : no 80cdf0e10cSrcweir [ 81cdf0e10cSrcweir ExecMethod = Execute ; 82cdf0e10cSrcweir StateMethod = GetState ; 83cdf0e10cSrcweir ] 84cdf0e10cSrcweir SID_FONT //idlpp ole : no , status : no 85cdf0e10cSrcweir [ 86cdf0e10cSrcweir ExecMethod = Execute ; 87cdf0e10cSrcweir StateMethod = GetState ; 88cdf0e10cSrcweir ] 89cdf0e10cSrcweir SID_FONTSIZE //idlpp ole : no , status : no 90cdf0e10cSrcweir [ 91cdf0e10cSrcweir ExecMethod = Execute ; 92cdf0e10cSrcweir StateMethod = GetState ; 93cdf0e10cSrcweir ] 94cdf0e10cSrcweir SID_DISTANCE //idlpp ole : no , status : no 95cdf0e10cSrcweir [ 96cdf0e10cSrcweir ExecMethod = Execute ; 97cdf0e10cSrcweir StateMethod = GetState ; 98cdf0e10cSrcweir ] 99cdf0e10cSrcweir SID_ALIGN //idlpp ole : no , status : no 100cdf0e10cSrcweir [ 101cdf0e10cSrcweir ExecMethod = Execute ; 102cdf0e10cSrcweir StateMethod = GetState ; 103cdf0e10cSrcweir ] 104cdf0e10cSrcweir SID_TEXTMODE //idlpp ole : no , status : no 105cdf0e10cSrcweir [ 106cdf0e10cSrcweir ExecMethod = Execute ; 107cdf0e10cSrcweir StateMethod = GetState ; 108cdf0e10cSrcweir ] 109cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 110cdf0e10cSrcweir SID_MODIFYSTATUS //idlpp ole : no , status : no 111cdf0e10cSrcweir [ 112cdf0e10cSrcweir ExecMethod = Execute ; 113cdf0e10cSrcweir StateMethod = GetState ; 114cdf0e10cSrcweir ] 115cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 116cdf0e10cSrcweir SID_TEXT //idlpp ole : no , status : no 117cdf0e10cSrcweir [ 118cdf0e10cSrcweir ExecMethod = Execute ; 119cdf0e10cSrcweir StateMethod = GetState ; 120cdf0e10cSrcweir ] 121cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 122cdf0e10cSrcweir SID_GAPHIC_SM //idlpp ole : no , status : no 123cdf0e10cSrcweir [ 124cdf0e10cSrcweir ExecMethod = Execute ; 125cdf0e10cSrcweir StateMethod = GetState ; 126cdf0e10cSrcweir ] 127cdf0e10cSrcweir 128cdf0e10cSrcweir SID_UNDO //idlpp ole : no , status : no 129cdf0e10cSrcweir [ 130cdf0e10cSrcweir ExecMethod = Execute ; 131cdf0e10cSrcweir StateMethod = GetState ; 132cdf0e10cSrcweir ] 133cdf0e10cSrcweir SID_REDO //idlpp ole : no , status : no 134cdf0e10cSrcweir [ 135cdf0e10cSrcweir ExecMethod = Execute ; 136cdf0e10cSrcweir StateMethod = GetState ; 137cdf0e10cSrcweir ] 138cdf0e10cSrcweir SID_GETUNDOSTRINGS //idlpp ole : no , status : no 139cdf0e10cSrcweir [ 140cdf0e10cSrcweir StateMethod = GetState ; 141cdf0e10cSrcweir ] 142cdf0e10cSrcweir SID_GETREDOSTRINGS //idlpp ole : no , status : no 143cdf0e10cSrcweir [ 144cdf0e10cSrcweir StateMethod = GetState ; 145cdf0e10cSrcweir ] 146cdf0e10cSrcweir} 147cdf0e10cSrcweir 148cdf0e10cSrcweirshell SmDocShell 149cdf0e10cSrcweir{ 150cdf0e10cSrcweir import FormulaDocument[Automation]; 151cdf0e10cSrcweir} 152cdf0e10cSrcweir 153cdf0e10cSrcweir 154cdf0e10cSrcweirinterface FormulaView 155cdf0e10cSrcweir[ 156cdf0e10cSrcweir uuid ( "CE1A6C00-2FC3-11CF-89CA-008029E4B0B1" ) 157cdf0e10cSrcweir] 158cdf0e10cSrcweir{ 159cdf0e10cSrcweir SID_FORMULACURSOR 160cdf0e10cSrcweir [ 161cdf0e10cSrcweir ExecMethod = Execute ; 162cdf0e10cSrcweir StateMethod = GetState ; 163cdf0e10cSrcweir ] 164cdf0e10cSrcweir SID_NEXTERR //idlpp ole : no , status : no 165cdf0e10cSrcweir [ 166cdf0e10cSrcweir ExecMethod = Execute ; 167cdf0e10cSrcweir StateMethod = GetState ; 168cdf0e10cSrcweir ] 169cdf0e10cSrcweir SID_PREVERR //idlpp ole : no , status : no 170cdf0e10cSrcweir [ 171cdf0e10cSrcweir ExecMethod = Execute ; 172cdf0e10cSrcweir StateMethod = GetState ; 173cdf0e10cSrcweir ] 174cdf0e10cSrcweir SID_NEXTMARK //idlpp ole : no , status : no 175cdf0e10cSrcweir [ 176cdf0e10cSrcweir ExecMethod = Execute ; 177cdf0e10cSrcweir StateMethod = GetState ; 178cdf0e10cSrcweir ] 179cdf0e10cSrcweir SID_PREVMARK //idlpp ole : no , status : no 180cdf0e10cSrcweir [ 181cdf0e10cSrcweir ExecMethod = Execute ; 182cdf0e10cSrcweir StateMethod = GetState ; 183cdf0e10cSrcweir ] 184cdf0e10cSrcweir SID_VIEW050 //idlpp ole : no , status : no 185cdf0e10cSrcweir [ 186cdf0e10cSrcweir ExecMethod = Execute ; 187cdf0e10cSrcweir StateMethod = GetState ; 188cdf0e10cSrcweir ] 189cdf0e10cSrcweir SID_VIEW100 //idlpp ole : no , status : no 190cdf0e10cSrcweir [ 191cdf0e10cSrcweir ExecMethod = Execute ; 192cdf0e10cSrcweir StateMethod = GetState ; 193cdf0e10cSrcweir ] 194cdf0e10cSrcweir SID_VIEW200 //idlpp ole : no , status : no 195cdf0e10cSrcweir [ 196cdf0e10cSrcweir ExecMethod = Execute ; 197cdf0e10cSrcweir StateMethod = GetState ; 198cdf0e10cSrcweir ] 199cdf0e10cSrcweir SID_ZOOMIN //idlpp ole : no , status : no 200cdf0e10cSrcweir [ 201cdf0e10cSrcweir ExecMethod = Execute ; 202cdf0e10cSrcweir StateMethod = GetState ; 203cdf0e10cSrcweir ] 204cdf0e10cSrcweir SID_ZOOMOUT //idlpp ole : no , status : no 205cdf0e10cSrcweir [ 206cdf0e10cSrcweir ExecMethod = Execute ; 207cdf0e10cSrcweir StateMethod = GetState ; 208cdf0e10cSrcweir ] 209cdf0e10cSrcweir SID_DRAW //idlpp ole : no , status : no 210cdf0e10cSrcweir [ 211cdf0e10cSrcweir ExecMethod = Execute ; 212cdf0e10cSrcweir StateMethod = GetState ; 213cdf0e10cSrcweir ] 214cdf0e10cSrcweir SID_ADJUST //idlpp ole : no , status : no 215cdf0e10cSrcweir [ 216cdf0e10cSrcweir ExecMethod = Execute ; 217cdf0e10cSrcweir StateMethod = GetState ; 218cdf0e10cSrcweir ] 219cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 220cdf0e10cSrcweir SID_FITINWINDOW //idlpp ole : no , status : no 221cdf0e10cSrcweir [ 222cdf0e10cSrcweir ExecMethod = Execute ; 223cdf0e10cSrcweir StateMethod = GetState ; 224cdf0e10cSrcweir ] 225cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 226cdf0e10cSrcweir SID_COPYOBJECT //idlpp ole : no , status : no 227cdf0e10cSrcweir [ 228cdf0e10cSrcweir ExecMethod = Execute ; 229cdf0e10cSrcweir StateMethod = GetState ; 230cdf0e10cSrcweir ] 231cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 232cdf0e10cSrcweir SID_PASTEOBJECT //idlpp ole : no , status : no 233cdf0e10cSrcweir [ 234cdf0e10cSrcweir ExecMethod = Execute ; 235cdf0e10cSrcweir StateMethod = GetState ; 236cdf0e10cSrcweir ] 237cdf0e10cSrcweir SID_CUT //idlpp ole : no , status : no 238cdf0e10cSrcweir [ 239cdf0e10cSrcweir ExecMethod = Execute ; 240cdf0e10cSrcweir StateMethod = GetState ; 241cdf0e10cSrcweir ] 242cdf0e10cSrcweir SID_COPY //idlpp ole : no , status : no 243cdf0e10cSrcweir [ 244cdf0e10cSrcweir ExecMethod = Execute ; 245cdf0e10cSrcweir StateMethod = GetState ; 246cdf0e10cSrcweir ] 247cdf0e10cSrcweir SID_PASTE //idlpp ole : no , status : no 248cdf0e10cSrcweir [ 249cdf0e10cSrcweir ExecMethod = Execute ; 250cdf0e10cSrcweir StateMethod = GetState ; 251cdf0e10cSrcweir ] 252cdf0e10cSrcweir SID_DELETE //idlpp ole : no , status : no 253cdf0e10cSrcweir [ 254cdf0e10cSrcweir ExecMethod = Execute ; 255cdf0e10cSrcweir StateMethod = GetState ; 256cdf0e10cSrcweir ] 257cdf0e10cSrcweir SID_SELECT //idlpp ole : no , status : no 258cdf0e10cSrcweir [ 259cdf0e10cSrcweir ExecMethod = Execute ; 260cdf0e10cSrcweir StateMethod = GetState ; 261cdf0e10cSrcweir ] 262cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 263cdf0e10cSrcweir SID_INSERTCOMMAND //idlpp ole : no , status : no 264cdf0e10cSrcweir [ 265cdf0e10cSrcweir ExecMethod = Execute ; 266cdf0e10cSrcweir StateMethod = GetState ; 267cdf0e10cSrcweir ] 268cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 269cdf0e10cSrcweir SID_INSERTTEXT //idlpp ole : no , status : no 270cdf0e10cSrcweir [ 271cdf0e10cSrcweir ExecMethod = Execute ; 272cdf0e10cSrcweir StateMethod = GetState ; 273cdf0e10cSrcweir ] 274cdf0e10cSrcweir SID_IMPORT_FORMULA //idlpp ole : no , status : no 275cdf0e10cSrcweir [ 276cdf0e10cSrcweir ExecMethod = Execute ; 277cdf0e10cSrcweir StateMethod = GetState ; 278cdf0e10cSrcweir Export = FALSE ; 279cdf0e10cSrcweir ] 280cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 281cdf0e10cSrcweir SID_ATTR_ZOOM //idlpp ole : no , status : no 282cdf0e10cSrcweir [ 283cdf0e10cSrcweir ExecMethod = Execute ; 284cdf0e10cSrcweir StateMethod = GetState ; 285cdf0e10cSrcweir ] 286cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 287cdf0e10cSrcweir SID_TEXTSTATUS //idlpp ole : no , status : no 288cdf0e10cSrcweir [ 289cdf0e10cSrcweir ExecMethod = Execute ; 290cdf0e10cSrcweir StateMethod = GetState ; 291cdf0e10cSrcweir ] 292cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 293cdf0e10cSrcweir SID_GETEDITTEXT //idlpp ole : no , status : no 294cdf0e10cSrcweir [ 295cdf0e10cSrcweir ExecMethod = Execute ; 296cdf0e10cSrcweir StateMethod = GetState ; 297cdf0e10cSrcweir ] 298cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 299cdf0e10cSrcweir SID_CMDBOXWINDOW //idlpp ole : no , status : no 300cdf0e10cSrcweir [ 301cdf0e10cSrcweir ExecMethod = NoExec ; 302cdf0e10cSrcweir StateMethod = NoState ; 303cdf0e10cSrcweir ] 304cdf0e10cSrcweir //idlpp kein Menueeintrag , also keine Texte 305cdf0e10cSrcweir SID_TOOLBOXWINDOW //idlpp ole : no , status : no 306cdf0e10cSrcweir [ 307cdf0e10cSrcweir ExecMethod = NoExec ; 308cdf0e10cSrcweir StateMethod = NoState ; 309cdf0e10cSrcweir ] 310cdf0e10cSrcweir SID_TOOLBOX //idlpp ole : no , status : no 311cdf0e10cSrcweir [ 312cdf0e10cSrcweir ExecMethod = Execute ; 313cdf0e10cSrcweir StateMethod = GetState ; 314cdf0e10cSrcweir ] 315cdf0e10cSrcweir SID_SYMBOLS_CATALOGUE //idlpp ole : no , status : no 316cdf0e10cSrcweir [ 317cdf0e10cSrcweir ExecMethod = Execute ; 318cdf0e10cSrcweir StateMethod = GetState ; 319cdf0e10cSrcweir ] 320cdf0e10cSrcweir} 321cdf0e10cSrcweir 322cdf0e10cSrcweirshell SmViewShell 323cdf0e10cSrcweir{ 324cdf0e10cSrcweir import FormulaView[Automation]; 325cdf0e10cSrcweir} 326cdf0e10cSrcweir 327cdf0e10cSrcweir} 328cdf0e10cSrcweir 329