summaryrefslogtreecommitdiff
path: root/starmath/util
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2000-09-18 16:07:07 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2000-09-18 16:07:07 +0000
commitd791366863cf9659a01b171ce0e727bfe2f28cdf (patch)
treec44591abc4bf9e7207814d6d9a7756c37657249a /starmath/util
initial import
Diffstat (limited to 'starmath/util')
-rw-r--r--starmath/util/hidother.src151
-rw-r--r--starmath/util/makefile.mk149
-rw-r--r--starmath/util/sm.map9
3 files changed, 309 insertions, 0 deletions
diff --git a/starmath/util/hidother.src b/starmath/util/hidother.src
new file mode 100644
index 000000000000..cf29f6a0f320
--- /dev/null
+++ b/starmath/util/hidother.src
@@ -0,0 +1,151 @@
+/*************************************************************************
+ *
+ * $RCSfile: hidother.src,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:57:27 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#include "..\inc\starmath.hrc"
+
+hidspecial HID_SMA_OPTIONSDIALOG { HelpId = HID_SMA_OPTIONSDIALOG; };
+hidspecial HID_SMA_FONTDIALOG { HelpId = HID_SMA_FONTDIALOG; };
+hidspecial HID_SMA_FONTSIZEDIALOG { HelpId = HID_SMA_FONTSIZEDIALOG; };
+hidspecial HID_SMA_FONTTYPEDIALOG { HelpId = HID_SMA_FONTTYPEDIALOG; };
+hidspecial HID_SMA_DISTANCEDIALOG { HelpId = HID_SMA_DISTANCEDIALOG; };
+hidspecial HID_SMA_ALIGNDIALOG { HelpId = HID_SMA_ALIGNDIALOG; };
+hidspecial HID_SMA_PRINTOPTIONPAGE { HelpId = HID_SMA_PRINTOPTIONPAGE; };
+hidspecial HID_SMA_SYMBOLDIALOG { HelpId = HID_SMA_SYMBOLDIALOG; };
+hidspecial HID_SMA_SYMDEFINEDIALOG { HelpId = HID_SMA_SYMDEFINEDIALOG; };
+hidspecial HID_SMA_EXTRAOPTIONPAGE { HelpId = HID_SMA_EXTRAOPTIONPAGE; };
+hidspecial HID_SMA_DOCSAVEQUERY { HelpId = HID_SMA_DOCSAVEQUERY; };
+hidspecial HID_SMA_OBJECTSAVEQUERY { HelpId = HID_SMA_OBJECTSAVEQUERY; };
+hidspecial HID_SMA_DEFAULTSAVEQUERY { HelpId = HID_SMA_DEFAULTSAVEQUERY; };
+hidspecial HID_SMA_ILLEGALOBJECTERROR { HelpId = HID_SMA_ILLEGALOBJECTERROR; };
+hidspecial HID_SMA_ILLEGALFILEERROR { HelpId = HID_SMA_ILLEGALFILEERROR; };
+hidspecial HID_SMA_WRITESYMBOLERROR { HelpId = HID_SMA_WRITESYMBOLERROR; };
+hidspecial HID_SMA_READSYMBOLERROR { HelpId = HID_SMA_READSYMBOLERROR; };
+hidspecial HID_SMA_NOMATHTYPEFACEWARNING { HelpId = HID_SMA_NOMATHTYPEFACEWARNING; };
+hidspecial HID_SMA_OBJECTNAME { HelpId = HID_SMA_OBJECTNAME; };
+hidspecial HID_SMA_VIEWNAME { HelpId = HID_SMA_VIEWNAME; };
+hidspecial HID_SMA_UNDOEDITNAME { HelpId = HID_SMA_UNDOEDITNAME; };
+hidspecial HID_SMA_UNDOFORMATNAME { HelpId = HID_SMA_UNDOFORMATNAME; };
+hidspecial HID_SMA_APPICO { HelpId = HID_SMA_APPICO; };
+hidspecial HID_SMA_DOCICO { HelpId = HID_SMA_DOCICO; };
+hidspecial HID_SMA_TMPICO { HelpId = HID_SMA_TMPICO; };
+hidspecial HID_SMA_COMMANDMENU { HelpId = HID_SMA_COMMANDMENU; };
+hidspecial HID_SMA_VIEWMENU { HelpId = HID_SMA_VIEWMENU; };
+hidspecial HID_SMA_DISTANCEMENU { HelpId = HID_SMA_DISTANCEMENU; };
+hidspecial HID_SMA_FONTMENU { HelpId = HID_SMA_FONTMENU; };
+hidspecial HID_SMA_STARTUPWINDOW { HelpId = HID_SMA_STARTUPWINDOW; };
+hidspecial HID_SMA_TOOLBOXWINDOW { HelpId = HID_SMA_TOOLBOXWINDOW; };
+hidspecial HID_SMA_CMDBOXWINDOW { HelpId = HID_SMA_CMDBOXWINDOW; };
+hidspecial HID_SMA_UPDATEOBJECT { HelpId = HID_SMA_UPDATEOBJECT; };
+hidspecial HID_SMA_FONTREGULAR { HelpId = HID_SMA_FONTREGULAR; };
+hidspecial HID_SMA_FONTITALIC { HelpId = HID_SMA_FONTITALIC; };
+hidspecial HID_SMA_FONTBOLD { HelpId = HID_SMA_FONTBOLD; };
+hidspecial HID_SMA_PRINTOPTION { HelpId = HID_SMA_PRINTOPTION; };
+hidspecial HID_SMA_DOCUMENTSTR { HelpId = HID_SMA_DOCUMENTSTR; };
+hidspecial HID_SMA_SYMBOLFILESSTR { HelpId = HID_SMA_SYMBOLFILESSTR; };
+hidspecial HID_SMA_ALLFILESSTR { HelpId = HID_SMA_ALLFILESSTR; };
+hidspecial HID_SMA_CREATORSTR { HelpId = HID_SMA_CREATORSTR; };
+hidspecial HID_SMA_FILESMFTYP { HelpId = HID_SMA_FILESMFTYP; };
+hidspecial HID_SMA_FILESYMTYP { HelpId = HID_SMA_FILESYMTYP; };
+hidspecial HID_SMA_WIN_DOCUMENT { HelpId = HID_SMA_WIN_DOCUMENT; };
+hidspecial HID_SMA_VIEWSHELL_DOCUMENT { HelpId = HID_SMA_VIEWSHELL_DOCUMENT; };
+hidspecial HID_SMA_COMMAND_WIN_EDIT { HelpId = HID_SMA_COMMAND_WIN_EDIT; };
+
+hidspecial HID_SMA_DEFAULT_DIST { HelpId = HID_SMA_DEFAULT_DIST; };
+hidspecial HID_SMA_LINE_DIST { HelpId = HID_SMA_LINE_DIST; };
+hidspecial HID_SMA_ROOT_DIST { HelpId = HID_SMA_ROOT_DIST; };
+hidspecial HID_SMA_SUP_DIST { HelpId = HID_SMA_SUP_DIST; };
+hidspecial HID_SMA_SUB_DIST { HelpId = HID_SMA_SUB_DIST; };
+hidspecial HID_SMA_NUMERATOR_DIST { HelpId = HID_SMA_NUMERATOR_DIST; };
+hidspecial HID_SMA_DENOMINATOR_DIST { HelpId = HID_SMA_DENOMINATOR_DIST; };
+hidspecial HID_SMA_FRACLINE_EXCWIDTH { HelpId = HID_SMA_FRACLINE_EXCWIDTH; };
+hidspecial HID_SMA_FRACLINE_LINEWIDTH { HelpId = HID_SMA_FRACLINE_LINEWIDTH; };
+hidspecial HID_SMA_UPPERLIMIT_DIST { HelpId = HID_SMA_UPPERLIMIT_DIST; };
+hidspecial HID_SMA_LOWERLIMIT_DIST { HelpId = HID_SMA_LOWERLIMIT_DIST; };
+hidspecial HID_SMA_BRACKET_EXCHEIGHT { HelpId = HID_SMA_BRACKET_EXCHEIGHT; };
+hidspecial HID_SMA_BRACKET_DIST { HelpId = HID_SMA_BRACKET_DIST; };
+hidspecial HID_SMA_BRACKET_EXCHEIGHT2 { HelpId = HID_SMA_BRACKET_EXCHEIGHT2; };
+hidspecial HID_SMA_MATRIXROW_DIST { HelpId = HID_SMA_MATRIXROW_DIST; };
+hidspecial HID_SMA_MATRIXCOL_DIST { HelpId = HID_SMA_MATRIXCOL_DIST; };
+hidspecial HID_SMA_ATTRIBUT_DIST { HelpId = HID_SMA_ATTRIBUT_DIST; };
+hidspecial HID_SMA_INTERATTRIBUT_DIST { HelpId = HID_SMA_INTERATTRIBUT_DIST; };
+hidspecial HID_SMA_OPERATOR_EXCHEIGHT { HelpId = HID_SMA_OPERATOR_EXCHEIGHT; };
+hidspecial HID_SMA_OPERATOR_DIST { HelpId = HID_SMA_OPERATOR_DIST; };
+hidspecial HID_SMA_LEFTBORDER_DIST { HelpId = HID_SMA_LEFTBORDER_DIST; };
+hidspecial HID_SMA_RIGHTBORDER_DIST { HelpId = HID_SMA_RIGHTBORDER_DIST; };
+hidspecial HID_SMA_UPPERBORDER_DIST { HelpId = HID_SMA_UPPERBORDER_DIST; };
+hidspecial HID_SMA_LOWERBORDER_DIST { HelpId = HID_SMA_LOWERBORDER_DIST; };
+
+//! this shouldn't have been necessary!
+hidspecial HID_SMA_ALEPH { HelpId = HID_SMA_ALEPH; };
+hidspecial HID_SMA_EMPTYSET { HelpId = HID_SMA_EMPTYSET; };
+hidspecial HID_SMA_RE { HelpId = HID_SMA_RE; };
+hidspecial HID_SMA_IM { HelpId = HID_SMA_IM; };
+hidspecial HID_SMA_INFINITY { HelpId = HID_SMA_INFINITY; };
+hidspecial HID_SMA_PARTIAL { HelpId = HID_SMA_PARTIAL; };
+hidspecial HID_SMA_WP { HelpId = HID_SMA_WP; };
+hidspecial HID_SMA_DOTSAXIS { HelpId = HID_SMA_DOTSAXIS; };
+hidspecial HID_SMA_DOTSUP { HelpId = HID_SMA_DOTSUP; };
+hidspecial HID_SMA_DOTSDOWN { HelpId = HID_SMA_DOTSDOWN; };
+hidspecial HID_SMA_DOTSLOW { HelpId = HID_SMA_DOTSLOW; };
+hidspecial HID_SMA_DOTSVERT { HelpId = HID_SMA_DOTSVERT; };
+hidspecial HID_SMA_NABLA { HelpId = HID_SMA_NABLA; };
+hidspecial HID_SMA_EXISTS { HelpId = HID_SMA_EXISTS; };
+hidspecial HID_SMA_FORALL { HelpId = HID_SMA_FORALL; };
+
diff --git a/starmath/util/makefile.mk b/starmath/util/makefile.mk
new file mode 100644
index 000000000000..89df8c11e36b
--- /dev/null
+++ b/starmath/util/makefile.mk
@@ -0,0 +1,149 @@
+#*************************************************************************
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.1.1.1 $
+#
+# last change: $Author: hr $ $Date: 2000-09-18 16:57:27 $
+#
+# The Contents of this file are made available subject to the terms of
+# either of the following licenses
+#
+# - GNU Lesser General Public License Version 2.1
+# - Sun Industry Standards Source License Version 1.1
+#
+# Sun Microsystems Inc., October, 2000
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2000 by Sun Microsystems, Inc.
+# 901 San Antonio Road, Palo Alto, CA 94303, USA
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License version 2.1, as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#
+# Sun Industry Standards Source License Version 1.1
+# =================================================
+# The contents of this file are subject to the Sun Industry Standards
+# Source License Version 1.1 (the "License"); You may not use this file
+# except in compliance with the License. You may obtain a copy of the
+# License at http://www.openoffice.org/license.html.
+#
+# Software provided under this License is provided on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+# See the License for the specific provisions governing your rights and
+# obligations concerning the Software.
+#
+# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+#
+# Copyright: 2000 by Sun Microsystems, Inc.
+#
+# All Rights Reserved.
+#
+# Contributor(s): _______________________________________
+#
+#
+#
+#*************************************************************************
+
+PRJ=..
+
+PRJNAME=SM
+TARGET=smath3
+LIBTARGET=NO
+GEN_HID=TRUE
+USE_DEFFILE=TRUE
+
+# --- Settings -----------------------------------------------------------
+
+.INCLUDE : svpre.mk
+.INCLUDE : settings.mk
+.INCLUDE : sv.mk
+
+
+# --- Files --------------------------------------------------------
+
+RESLIB1NAME=sm
+RESLIB1SRSFILES=\
+ $(SRS)$/smres.srs \
+ $(SRS)$/smslots.srs \
+ $(SOLARVERSION)$/$(INPATH)$/res$(EXT_UPDMINOR)$/sfx.srs
+
+SHL1TARGET= sm$(UPD)$(DLLPOSTFIX)
+SHL1VERSIONMAP= sm.map
+.IF "$(GUI)" == "WNT"
+SHL1RES= $(RCTARGET)
+.ENDIF
+
+SHL1IMPLIB= smimp
+SHL1LIBS= $(SLB)$/starmath.lib
+SHL1STDLIBS= \
+ $(TOOLSLIB) \
+ $(SVTOOLLIB) \
+ $(SVLLIB) \
+ $(SVMEMLIB) \
+ $(SVLIB) \
+ $(SOTLIB) \
+ $(SO2LIB) \
+ $(SFX2LIB) \
+ $(CPPULIB) \
+ $(CPPUHELPERLIB) \
+ $(SVXLIB) \
+ $(SALLIB) \
+ $(VOSLIB) \
+ $(UCBHELPERLIB)
+
+SHL1DEPN= makefile.mk \
+ $(MISC)$/$(SHL1TARGET).flt
+
+SHL1DEF= $(MISC)$/$(SHL1TARGET).def
+
+.IF "$(GUI)" != "UNX"
+SHL1OBJS= $(SLO)$/smdll.obj
+.ENDIF
+
+DEF1NAME= $(SHL1TARGET)
+DEF1EXPORTFILE= exports.dxp
+
+# --- Targets -------------------------------------------------------------
+
+.IF "$(depend)" == ""
+
+ALL: \
+ $(SRS)$/hidother.hid\
+ ALLTAR
+.ENDIF
+
+.INCLUDE : target.mk
+
+.IF "$(depend)" == ""
+
+$(MISC)$/$(SHL1TARGET).flt:
+ @echo ------------------------------
+ @echo Making: $@
+ @echo WEP>$@
+ @echo LIBMAIN>>$@
+ @echo LibMain>>$@
+
+.ENDIF
+
+$(SRS)$/hidother.hid: hidother.src
+.IF "$(GUI)$(CPU)"=="WNTI"
+ +mhids hidother.src ..\$(INPATH)$/srs starmath hidother
+.ELSE
+ @echo nix
+.ENDIF
diff --git a/starmath/util/sm.map b/starmath/util/sm.map
new file mode 100644
index 000000000000..898b3dcbcd20
--- /dev/null
+++ b/starmath/util/sm.map
@@ -0,0 +1,9 @@
+SM_1_0 {
+ global:
+ CreateSmDocShellDll;
+ CreateObjSmDocShellDll;
+ InitSmDll;
+ DeInitSmDll;
+ local:
+ *;
+};