diff --git a/odk/CustomTarget_html.mk b/odk/CustomTarget_html.mk index 92367bb8b69b..eeff61657518 100644 --- a/odk/CustomTarget_html.mk +++ b/odk/CustomTarget_html.mk @@ -20,7 +20,9 @@ $(eval $(call gb_CustomTarget_register_targets,odk/html,\ $(gb_CustomTarget_workdir)/odk/html/%.html : $(SRCDIR)/odk/%.html $(call gb_Output_announce,$*.html,$(true),SED,1) $(call gb_Trace_StartRange,$*.html,SED) - sed -e 's|%PRODUCT_RELEASE%|$(PRODUCTVERSION)|g' \ + sed -e 's|%PRODUCTNAME%|$(PRODUCTNAME)|g' \ + -e 's|%LCPRODUCTNAME%|'"$$(printf %s '$(PRODUCTNAME)' | tr A-Z a-z)"'|g' \ + -e 's|%PRODUCT_RELEASE%|$(PRODUCTVERSION)|g' \ -e 's|%DOXYGEN_PREFIX0%|$(if $(DOXYGEN),.,https://api.libreoffice.org)|g' \ -e 's|%DOXYGEN_PREFIX1%|$(if $(DOXYGEN),..,https://api.libreoffice.org)|g' \ -e 's|%DOXYGEN_PREFIX2%|$(if $(DOXYGEN),../..,https://api.libreoffice.org)|g' \ diff --git a/odk/docs/install.html b/odk/docs/install.html index e23fa3a535fe..8392063b4c36 100644 --- a/odk/docs/install.html +++ b/odk/docs/install.html @@ -18,7 +18,7 @@ -->
-
- The LibreOffice %PRODUCT_RELEASE% SDK comes with + The %PRODUCTNAME% %PRODUCT_RELEASE% SDK comes with a set of development tools, base libraries, header files and helper class files that can be used to develop Java/C++ components, to embed the - LibreOffice %PRODUCT_RELEASE% application in your + %PRODUCTNAME% %PRODUCT_RELEASE% application in your own programs, or to use the API (scripting or remote control the office). For a complete working environment, we have some additional @@ -65,13 +65,13 @@ |
||
LibreOffice %PRODUCT_RELEASE% + | %PRODUCTNAME% %PRODUCT_RELEASE% installation | The SDK works on top of an - existing LibreOffice installation and uses the same - libraries as the LibreOffice installation. + existing %PRODUCTNAME% installation and uses the same + libraries as the %PRODUCTNAME% installation.Download the SDK from the same - source as your LibreOffice packages. + source as your %PRODUCTNAME% packages.
The configure script requests relevant information - and directories (SDK, LibreOffice, GNU make, Java, + and directories (SDK, %PRODUCTNAME%, GNU make, Java, C++), in order to prepare a working SDK environment. (On Unix-like systems, the configure script recursively starts a new interactive shell with the relevant environment variables @@ -254,8 +254,8 @@ |
OFFICE_HOME | Path to an existing - LibreOffice installation, e.g. - "/opt/libreoffice8". | + %PRODUCTNAME% installation, e.g. + "/opt/%LCPRODUCTNAME%%PRODUCT_RELEASE%".|
OO_SDK_NAME | @@ -273,7 +273,7 @@OO_SDK_HOME | Path to the SDK root directory, e.g. - "/opt/libreoffice/sdk" | + "/opt/%LCPRODUCTNAME%%PRODUCT_RELEASE%/sdk"
OO_SDK_JAVA_HOME | @@ -327,14 +327,14 @@ directory itself. If an output directory is specified, the output is generated in an SDK dependent subdirectory in this directory (e.g. - <OO_SDK_OUTPUT_DIR> /LibreOffice + <OO_SDK_OUTPUT_DIR> /%PRODUCTNAME% %PRODUCT_RELEASE%/LINUXExample.out)||
SDK_AUTO_DEPLOYMENT | If this variable is set, the component examples are automatically deployed - into the LibreOffice installation referenced + into the %PRODUCTNAME% installation referenced by OFFICE_HOME. See also section "Extension Manager - unopkg" from the Developer's Guide. | @@ -370,19 +370,19 @@|
OO_SDK_URE_BIN_DIR | The path within the chosen - LibreOffice URE installation where binary + %PRODUCTNAME% URE installation where binary executables are located. | |
OO_SDK_URE_LIB_DIR | The path within the chosen - LibreOffice URE installation where dynamic + %PRODUCTNAME% URE installation where dynamic libraries are located. | |
OO_SDK_URE_JAVA_DIR | The path within the chosen - LibreOffice URE installation where Java JARs + %PRODUCTNAME% URE installation where Java JARs are located. | |
=$OFFICE_PROGRAM_PATH This variable is used to ensure that the new C++ UNO bootstrap mechanism uses the - configured LibreOffice installation of the + configured %PRODUCTNAME% installation of the SDK. Normally the bootstrap mechanism finds the default office installation for the user on the system. This variable is optional but diff --git a/odk/docs/tools.html b/odk/docs/tools.html index d17542825537..09f77f338ba0 100644 --- a/odk/docs/tools.html +++ b/odk/docs/tools.html @@ -18,7 +18,7 @@ --> -More details concerning deployment and this tool can be found in the @@ -336,9 +336,9 @@ You can find a syntax description for UNOIDL here. Note: unoidl-write produces a new binary type library format that is
different from the legacy format that was produced by idlc and regmerge. While
- recent versions of LibreOffice are still able to read the old format, versions of
+ recent versions of %PRODUCTNAME% are still able to read the old format, versions of
LibreOffice prior to LibreOffice 4.1 were not able to read the new format.
- Thus, if you use this SDK to generate a LibreOffice extension that contains a type
+ Thus, if you use this SDK to generate a %PRODUCTNAME% extension that contains a type
library file produced by unoidl-write, you should specify a
|
LibreOffice %PRODUCT_RELEASE% Basic and + title="link to the Basic And Dialogs examples">%PRODUCTNAME% %PRODUCT_RELEASE% Basic and Dialogs | |
Shows how to initialize UNO and -get a remote office service manager from a running LibreOffice %PRODUCT_RELEASE% in a +get a remote office service manager from a running %PRODUCTNAME% %PRODUCT_RELEASE% in a different process space. | ||
Demonstrates how to load a -component into LibreOffice %PRODUCT_RELEASE% by a Java application. | +component into %PRODUCTNAME% %PRODUCT_RELEASE% by a Java application.||
href="./ProfUNO/InterprocessConn/ConnectionAwareClient.java" title="link to ProfUNO/InterprocessConn/ConnectionAwareClient/.java">ConnectionAwareClient | Implements a client which is aware -of losing connection to LibreOffice %PRODUCT_RELEASE%. | +of losing connection to %PRODUCTNAME% %PRODUCT_RELEASE%.|
href="./ProfUNO/InterprocessConn/UrlResolver.java" title="link to ProfUNO/InterProcessConn/UrlResolver.java">UrlResolver | Builds a connection to
-LibreOffice %PRODUCT_RELEASE% using the URL given on the command line. This example
+%PRODUCTNAME% %PRODUCT_RELEASE% using the URL given on the command line. This example
shows the usage of XUnoUrlResolver . |
@@ -358,7 +358,7 @@ shows the usage of office_connect.cxx
Builds a connection to -LibreOffice %PRODUCT_RELEASE% using C++. | +%PRODUCTNAME% %PRODUCT_RELEASE% using C++.
href="./Components/DialogComponent/DialogComponent.java" title="link to Components/DialogComponent/DialogComponent.java">DialogComponent.java | Implements a component accessing a dialog created - with the LibreOffice %PRODUCT_RELEASE% Basic IDE. The component provides methods that + with the %PRODUCTNAME% %PRODUCT_RELEASE% Basic IDE. The component provides methods that can be bound to dialog respectively control events . | |
This is the main part of a demo application based on the framework APIs. It mainly shows the mechanisms to load, store and convert documents, as well as dispatch and dispatch -interception. It integrates windows from LibreOffice %PRODUCT_RELEASE% via system +interception. It integrates windows from %PRODUCTNAME% %PRODUCT_RELEASE% via system window handle. This is the same mechanism as used by the OOoBean, but the OOoBean itself is not used here, just the JNI window handle access. | This helper comprises all -LibreOffice %PRODUCT_RELEASE% API calls. Thus it is possible to learn about these +%PRODUCTNAME% %PRODUCT_RELEASE% API calls. Thus it is possible to learn about these aspects separately from the rest of the application example. | |
This is a listener interface to -clean up on shutdown of LibreOffice %PRODUCT_RELEASE%. | +clean up on shutdown of %PRODUCTNAME% %PRODUCT_RELEASE%.||
href="./OfficeDev/DesktopEnvironment/OfficeConnect.java" title=" link to OfficeDev/DesktopEnvironment/OfficeConnect.java">OfficeConnect | Builds the remote bridge to -LibreOffice %PRODUCT_RELEASE% and exports its UNO service manager for the Java side of +%PRODUCTNAME% %PRODUCT_RELEASE% and exports its UNO service manager for the Java side of the application. | |
Performs a clean up on the Java -side on LibreOffice %PRODUCT_RELEASE% shutdown. | +side on %PRODUCTNAME% %PRODUCT_RELEASE% shutdown.
XTerminateListener
. It is called
-when LibreOffice %PRODUCT_RELEASE% terminates.The SDK provides a rich set of examples in different programming
- languages (Java, Python, C++, LibreOffice %PRODUCT_RELEASE% Basic, OLE) to illustrate the use
+ languages (Java, Python, C++, %PRODUCTNAME% %PRODUCT_RELEASE% Basic, OLE) to illustrate the use
of the API and demonstrate how to benefit from the included word
processor, spreadsheet, presentation software, graphics program and
- database of LibreOffice %PRODUCT_RELEASE%.
+ database of %PRODUCTNAME% %PRODUCT_RELEASE%.
Some of the examples need a running office instance listening on a
port. If this is necessary you will get further information in the
makefiles.
LibreOffice %PRODUCT_RELEASE% Basic examples | +%PRODUCTNAME% %PRODUCT_RELEASE% Basic examples | @@ -703,8 +703,8 @@ | |||||||||||||||||||||||||||||||||||||
- The example programs are embedded in LibreOffice %PRODUCT_RELEASE% documents in the - samples directory. To view or edit the LibreOffice %PRODUCT_RELEASE% Basic source, + The example programs are embedded in %PRODUCTNAME% %PRODUCT_RELEASE% documents in the + samples directory. To view or edit the %PRODUCTNAME% %PRODUCT_RELEASE% Basic source, select the appropriate document and then select Tools->Macro. Most of the examples are stand-alone, but two of them (Creating an Index and Import/Export of ASCII Files) have an associated data file @@ -726,7 +726,7 @@ | Description | ||||||||||||||||||||||||||||||||||||||
Changing Appearance | +Changing Appearance | To change the style used for certain words, you can
start with the following example. This code searches for the regular
expression the[a-z] , which stands for the text portion the
@@ -737,7 +737,7 @@
must execute it from an open text document. |
|||||||||||||||||||||||||||||||||||||
Replacing Text | +Replacing Text | If you regularly receive documents from other people for editing, you might want to make sure that certain words are always written the same. The next example illustrates this by forcing certain @@ -747,7 +747,7 @@ words from an external file. | |||||||||||||||||||||||||||||||||||||
Using Regular Expressions | +Using Regular Expressions | Another application of automatic text modification is related to stylistic questions. Suppose your company’s policy is to avoid the use of certain words. You want to replace these words, but you @@ -764,7 +764,7 @@ (plural, adjective etc.). | |||||||||||||||||||||||||||||||||||||
Inserting Bookmarks | +Inserting Bookmarks |
The next example does something very similar. This time, however, we do not change the color of the words but insert a bookmark at each of @@ -779,14 +779,14 @@ word. |
|||||||||||||||||||||||||||||||||||||
Creating an Index | +Creating an Index | Indices for text documents can be created manually in - LibreOffice %PRODUCT_RELEASE% Writer by clicking on the words that should appear in the + %PRODUCTNAME% %PRODUCT_RELEASE% Writer by clicking on the words that should appear in the index. If the document is large, or if you have to generate indices for several documents, this task should be automated. | |||||||||||||||||||||||||||||||||||||
Adapting to Euroland | +Adapting to Euroland | Most of the members of the European Union will abandon their old currency in favor of the new Euro in 2001. This requires modifications to all programs using the old currencies. Since the exchange @@ -795,14 +795,14 @@ in a table that are formatted with the currency string DM. | |||||||||||||||||||||||||||||||||||||
Import/Export of ASCII Files | +Import/Export of ASCII Files | You can use the drawing facilities of StarOffice API to generate a picture from ASCII input. One application would be a hierarchical representation of a directory listing, based on textual data. | |||||||||||||||||||||||||||||||||||||
Stock Quotes Updater | +Stock Quotes Updater | If you want to display stock charts for certain
companies, you can open up your browser every day, go to a search engine,
look up the quote and copy it by hand into a table. Or you can use a
@@ -814,7 +814,7 @@
UpdateValue() , and UpdateChart() . |
|||||||||||||||||||||||||||||||||||||
Forms and Controls | +Forms and Controls | The example document Burger Factory offers some forms
and controls, which you can use to order your desired burger type,
beverage, topping, and sauce. By hitting the button
@@ -829,7 +829,7 @@
- LibreOffice API Documentation+%PRODUCTNAME% API Documentation
|
diff --git a/odk/index_online.html b/odk/index_online.html
index 4edb8bf2a344..9e7a54ba3d49 100644
--- a/odk/index_online.html
+++ b/odk/index_online.html
@@ -1,6 +1,6 @@
-
@@ -28,7 +28,7 @@ | Installation Guide | An overview of all necessary - installation steps (e.g. environment variables) to use LibreOffice SDK. | + installation steps (e.g. environment variables) to use %PRODUCTNAME% SDK.||
@@ -37,7 +37,7 @@ | ||||
IDL Reference | -Complete LibreOffice API reference. | +Complete %PRODUCTNAME% API reference. | ||