diff options
Diffstat (limited to 'odk')
-rw-r--r-- | odk/index.html | 261 | ||||
-rw-r--r-- | odk/setsdkenv_unix | 114 | ||||
-rwxr-xr-x | odk/setsdkenv_windows.bat | 35 |
3 files changed, 410 insertions, 0 deletions
diff --git a/odk/index.html b/odk/index.html new file mode 100644 index 000000000000..f94eab130c7a --- /dev/null +++ b/odk/index.html @@ -0,0 +1,261 @@ +<html> +<head> + <title>[TITLE] SDK</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="AUTHOR" content="Jürgen Schmidt"> + <meta name="CREATED" content="20020311;11245374"> + <meta name="CHANGEDBY" content="Jürgen Schmidt"> + <meta name="CHANGED" content="20020311;11420968"> +</head> + +<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td height="15" colspan="3"> </td> + </tr> + <tr> + <td bgcolor="#000000" height="1"></td> + <td bgcolor="#000000" height="1" width="1"><img src="docs/images/black_dot.gif" width="1" height="1"></td> + <td bgcolor="#000000" height="1" width="222"></td> + </tr> + <tr> + <td> + <div align="left"><img src="docs/images/sdk_logo.gif" width="328" height="121"></div> + </td> + <td><img src="docs/images/black_dot.gif" width="1" height="121"></td> + <td width="222"> + <div align="left"><img src="docs/images/logo.gif" width="222" height="121"></div> + </td> + </tr> + <tr> + <td bgcolor="#000000" height="1"></td> + <td><img src="docs/images/black_dot.gif" width="1" height="1"></td> + <td bgcolor="#000000" height="1" width="222"></td> + </tr> + <tr> + <td bgcolor="#99CCFF" height="12"></td> + <td bgcolor="#99CCFF" height="12"><img src="docs/images/black_dot.gif" width="1" height="12"></td> + <td bgcolor="#003399" height="12" width="222"></td> + </tr> + <tr> + <td height="5" background="docs/images/shadow_r.gif"><img src="docs/images/shadow_l.gif" width="587" height="5"></td> + <td background="docs/images/shadow_r.gif" height="5" width="1"></td> + <td background="docs/images/shadow_r.gif" height="5" width="222"><img src="docs/images/shadow_r.gif" width="1" height="5"></td> + </tr> + <tr> + <td colspan="3"><img src="docs/images/elements.jpg" width="587" height="147"></td> + </tr> + <tr> + <td bgcolor="#000000" height="1"></td> + <td bgcolor="#000000"><img src="docs/images/black_dot.gif" width="1" height="1"></td> + <td bgcolor="#000000" height="1" width="222"></td> + </tr> + <tr> + <td bgcolor="#003399" height="6"></td> + <td bgcolor="#000000" height="6" width="1"><img src="docs/images/black_dot.gif" width="1" height="6"></td> + <td bgcolor="#99CCFF" height="6" width="222"></td> + </tr> + <tr> + <td bgcolor="#000000" height="1"></td> + <td bgcolor="#000000" height="1" width="1"><img src="docs/images/black_dot.gif" width="1" height="1"></td> + <td bgcolor="#000000" height="1" width="222"></td> + </tr> + <tr> + <td colspan="3"> </td> + </tr> + <tr> + <td colspan="3" height="8"> + <blockquote> + <table width="100%" border="0" cellpadding="5"> + <tr> + <td> + <P>[PRODUCTNAME] software is a complete, feature-rich office productivity product, that + provides in combination with this SDK all the essential tools for building and deploying + custom solutions to build on, or integrate with, the [PRODUCTNAME] suite of products. + </p> + <p>The SDK is a development kit for [PRODUCTNAME], which shall ease the development + of office components. It provides a set of libraries, binaries, header, and idl files + which have final API's and can only be extend with new functionality. This set of + libraries and binaries are a minimum set of functions to use system abstraction for + base functionality and for using UNO (Universal Network Objects) component technology. + The UNO component model is the base of the whole Office API. The SDK provides all the + stuff which is necessary to use the Office API from external programs (e.g. Java, C++) + or to extend the Office functionality with new components (e.g. new filter components, + CalcAddin functions) and that compatible over several version because the API remains + unaffected and will only be extended with new functions.</P> + <p>The SDK provides the basic building blocks for external developers to develop components in + any language for which a binding exists. Currently, there are language bindings for + [PRODUCTNAME] Basic, Java, and different C++ compilers on different platforms, for + [PRODUCTNAME], thus covering the two most commonly used programming languages. There + will be no limit for office automation in heterogeneous environments. Currently supported + platforms of the SDK are Linux, Solaris (sparc), and Windows.</p> + <P>Furthermore the SDK contains reference documentation for the API and a complete developer's + manual, with lots of examples, which shall introduce the API, explain the concepts behind it, + and should make it possible for all users to quickly make their own first steps with the + Office API.</P> + <hr> + <table width="100%" border="0" cellpadding="4"> + <tr> + <td colspan="2"><font size="4"><b>Content</b></font></td> + </tr> + <tr> + <td width=30%> + <font size="3"><a href="docs/install.html">Installation Guide</a></font> + </td> + <td width=70%> + An overview of all necessary installation steps (e.g. environment variables) to use this SDK. + </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a href="docs/notsupported.html">Forte Integration</a></font> + </td> + <td width=70%> + An introduction to use the SDK with Forte or NetBeans. + </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a href="docs/tools.html">Development Tools</a></font> + </TD> + <td width=70%> + Overview and a short description of the UNO development tools. + </td> + </tr> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a href="docs/notsupported.html">Developer Documentation</a></font> + </td> + <td width=70%> + Detailed manual, explaining the [PRODUCTNAME] API and the concepts behind it with a + rich set of examples, implemented mainly in Java. + </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a target="_blank" href="docs/common/ref/module-ix.html">IDL Reference</a></font> + </td> + <td width=70%> + Complete [PRODUCTNAME] API reference. + </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a target="_blank" href="docs/java/ref/index.html">Java UNO Runtime Reference + </a></font> + </td> + <td width=70%> + Reference documentation of the Java UNO runtime API. + </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a target="_blank" href="docs/cpp/ref/index.html">C++ Reference</a></font> + </td> + <td width=70%> + Reference documentation of the C++ UNO runtime and a set of C/C++ base and helper functions + and classes to abstract from the system layer. + </td> + </tr> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a href="examples/examples.html">Examples</a></font> + </td> + <td width=70%> + A collection of examples in different programming languages (Java, C++, Basic, OLE). + </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a target="_blank" href="docs/common/spec/xml_format/xml_specification_draft.pdf">XML File Format + Specification</a></font> + </td> + <td width=70%> + Specification of the XML file format used by [PRODUCTNAME], which serves as a reference. + </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a target="_blank" href="docs/basic/man/tutorial/tutorial.pdf">[PRODUCTNAME] Basic Programmer's + Tutorial</a></font> + </td> + <td width=70%> + A tutorial which shows the use of the [PRODUCTNAME] API using StarBasic. + </td> + </tr> + </table> + <hr> + <table width="100%" border="0" cellpadding="4"> + <tr> + <td colspan="2"><font size="4"><b>Additional Resources</b></font></td> + </tr> + <tr> + <td width=30%> + <font size="3"><a target="_blank" href="http://www.sun.com/developers/">Sun Developer Resources</a> + </font> + </td> + <td width=70%> + Sun's one-stop location for Developers. + </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a target="_blank" href="http://www.sun.com/staroffice/">StarOffice™</a></font> + </td> + <td width=70%> + Full-featured suite of office productivity tools. + </td> + </tr> + <tr> + <td width=30%> + <font size="3"><a target="_blank" href="http://www.openoffice.org/">OpenOffice.org</a></font> + </TD> + <td width=70%> + Open Source community project of office-productivity software. + </td> + </tr> + </table> + </td> + </tr> + </table> + </blockquote> + </td> + </tr> + <tr> + <td colspan="3"> </td> + </tr> + <tr> + <td bgcolor="#000000" height="1"></td> + <td bgcolor="#000000"><img src="docs/images/black_dot.gif" width="1" height="1"></td> + <td bgcolor="#000000" height="1" width="222"></td> + </tr> + <tr> + <td bgcolor="#003399" height="6"></td> + <td bgcolor="#000000" height="6" width="1"><img src="docs/images/black_dot.gif" width="1" height="6"></td> + <td bgcolor="#99CCFF" height="6" width="222"></td> + </tr> + <tr> + <td bgcolor="#000000" height="1"></td> + <td bgcolor="#000000" height="1" width="1"><img src="docs/images/black_dot.gif" width="1" height="1"></td> + <td bgcolor="#000000" height="1" width="222"></td> + </tr> + <tr> + <td colspan="3" height="8"></td> + </tr> + <tr> + <td colspan="3"> + <p align=center><font size=2><b>Copyright 2002 Sun Microsystems, + Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.</b></font> + </p> +   + </td> + </tr> +</table> +</body> +</html> diff --git a/odk/setsdkenv_unix b/odk/setsdkenv_unix new file mode 100644 index 000000000000..3bb5e900c183 --- /dev/null +++ b/odk/setsdkenv_unix @@ -0,0 +1,114 @@ +#! /bin/sh + +# This script starts a new shell and sets all enviroment variables, which +# are necessary for building the examples of the Office Development Kit. +# The Script was developed for the operating systems Solaris and Linux. +# Before the script could be executed the following variables have to be +# adjusted: + +# Installation directory of the Software Development Kit. +# Example: SDK_HOME=/work/odk641 +SDK_HOME=/work/odk641 + +# Office installation directory. +# Example: OFFICE_HOME=/opt/staroffice6.0 +OFFICE_HOME=/opt/staroffice6.0 + +# Directory of the make command. +# Example: SDK_MAKE=/usr/bin +SDK_MAKE=/usr/bin + +# Directory of the C++ tools. +# Example: SDK_CPP_HOME=/usr/bin +SDK_CPP_HOME=/usr/bin + +# Java installation directory. +# Example: SDK_JAVA_HOME=/usr/local/j2sdk1.4.0 +SDK_JAVA_HOME=/usr/local/j2sdk1.4.0 + +# ANT installation directory. +# Example: SDK_ANT=/windows/daten/moving/jakarta-ant-1.4 +# SDK_ANT= + + +# Check installation path for the StarOffice Development Kit. +if [ -z "$SDK_HOME" ] +then + echo Error: Please insert a correct value for the variable SDK_HOME. + exit 0 +fi + +# Check installation path for the office. +if [ -z "$OFFICE_HOME" ] +then + echo Error: Please insert a correct value for the variable OFFICE_HOME. + exit 0 +fi + +# Set library path. +if [ -n "$LD_LIBRARY_PATH" ] +then + # path not empty: append colon. + LD_LIBRARY_PATH=$LD_LIBRARY_PATH: +fi +LD_LIBRARY_PATH=$LD_LIBRARY_PATH$OFFICE_HOME/program + +export LD_LIBRARY_PATH + +# Set office program path. +OFFICE_PROGRAM_PATH=$OFFICE_HOME/program + +export OFFICE_PROGRAM_PATH + +# Get the operating system. +sd_platform=`uname -s` + +# Set the directory name. +case $sd_platform in + SunOS) + directoryname=solsparc + ;; + + Linux) + directoryname=linux + ;; +esac + +# Add directory of the SDK tools to the path. +if [ -n "$PATH" ] +then + # Path not empty: append colon. + PATH=$PATH: +fi +PATH=$PATH$SDK_HOME/$directoryname/bin + +# Add directory of the command make to the path, if necessary. +if [ -n "$SDK_MAKE" ] +then + PATH=$PATH:$SDK_MAKE +fi + +# Add directory of the C++ tools to the path, if necessary. +if [ -n "$SDK_CPP_HOME" ] +then + PATH=$PATH:$SDK_CPP_HOME +fi + +# Add directory of the Java tools to the path, if necessary. +if [ -n "$SDK_JAVA_HOME" ] +then + PATH=$PATH:$SDK_JAVA_HOME/bin +fi + +# Add directory of the ANT tools to the path, if necessary. +if [ -n "$SDK_ANT" ] +then + PATH=$PATH:$SDK_ANT/bin +fi + +export PATH + +# Starting a new shell with all necessary environment variables. +echo starting shell +"$SHELL" "$@" +echo shell terminated diff --git a/odk/setsdkenv_windows.bat b/odk/setsdkenv_windows.bat new file mode 100755 index 000000000000..1aba49591ec0 --- /dev/null +++ b/odk/setsdkenv_windows.bat @@ -0,0 +1,35 @@ +REM This script sets all enviroment variables, which +REM are necessary for building the examples of the Office Development Kit. +REM The Script was developed for the operating systems Windows. +REM Before the script could be executed the following variables have to be +REM adjusted: + +REM Directory of the make command. +set SDK_MAKE=D:\MOVING\NextGenerationMake\make + +REM Installation directory of the Software Development Kit. +set SDK_HOME=D:\MOVING\RESCUE\CvsLaufwerkD\api\odk + +REM Office installation directory. +set OFFICE_HOME=C:\Programme\StarOffice6.0 + +REM Directory of the C++ tools. +set SDK_CPP_HOME=C:\Programme\Microsoft Visual Studio\VC98\bin + +REM Java installation directory. +set SDK_JAVA_HOME=C:\Programme\Java\J2SDK_Forte\jdk1.4.0 + +REM ANT installation directory. +REM set SDK_ANT=D:\MOVING\jakarta-ant-1.4 + +REM Set library path. +set LIB=%LIB%;%OFFICE_HOME%\program;%SDK_HOME%\windows\lib + +REM Set office program path. +set OFFICE_PROGRAM_PATH=%OFFICE_HOME%\program + +REM Add directories to the path. +set PATH=%PATH%;%SDK_HOME%\windows\bin;%SDK_MAKE%;%SDK_CPP_HOME%;%SDK_JAVA_HOME%\bin;%SDK_ANT%\bin + +REM Set environment for c++ tools. +call "%SDK_CPP_HOME%"\VCVARS32.bat |