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