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 @@ --> - LibreOffice %PRODUCT_RELEASE% SDK - Installation Guide + %PRODUCTNAME% %PRODUCT_RELEASE% SDK - Installation Guide @@ -53,11 +53,11 @@ - + %PRODUCTNAME% installation, e.g. + "/opt/%LCPRODUCTNAME%%PRODUCT_RELEASE%". @@ -273,7 +273,7 @@ + "/opt/%LCPRODUCTNAME%%PRODUCT_RELEASE%/sdk" @@ -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) @@ -370,19 +370,19 @@ @@ -392,7 +392,7 @@ $CLASSPATH

The classpath will be set or extended to the necessary jar files of the specified - LibreOffice installation.

+ %PRODUCTNAME% installation.

@@ -408,7 +408,7 @@ @@ -227,7 +227,7 @@ examples href="./FirstSteps/FirstUnoContact/java/FirstUnoContact.java" title="link to FirstSteps/FirstUnoContact/java/FirstUnoContact.java">FirstUnoContact @@ -236,7 +236,7 @@ different process space. href="./FirstSteps/FirstLoadComponent/java/FirstLoadComponent.java" title="link to FirstSteps/FirstLoadComponent/java/FirstLoadComponent.java">FirstLoadComponent +component into %PRODUCTNAME% %PRODUCT_RELEASE% by a Java application. +of losing connection to %PRODUCTNAME% %PRODUCT_RELEASE%. @@ -358,7 +358,7 @@ shows the usage of office_connect.cxx +%PRODUCTNAME% %PRODUCT_RELEASE% using C++. @@ -936,7 +936,7 @@ document component. @@ -952,7 +952,7 @@ and it's actions. href="./OfficeDev/DesktopEnvironment/FunctionHelper.java" title="link to OfficeDev/DesktopEnvironment/FunctionHelper.java">FunctionHelper @@ -967,7 +967,7 @@ asynchronous events from UNO oneway calls. href="./OfficeDev/DesktopEnvironment/IShutdownListener.java" title="link to OfficeDev/DesktopEnvironment/IShutdownListener.java">IShutdownListener +clean up on shutdown of %PRODUCTNAME% %PRODUCT_RELEASE%. @@ -1029,7 +1029,7 @@ the application is registered as an event listener. href="./OfficeDev/DesktopEnvironment/ViewContainer.java" title="link to OfficeDev/DesktopEnvironment/ViewContainer.java">ViewContainer +side on %PRODUCTNAME% %PRODUCT_RELEASE% shutdown.
-

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.

  • If you have installed an official The Document Foundation LibreOffice release, @@ -229,7 +229,7 @@

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".
OO_SDK_NAMEOO_SDK_HOME Path to the SDK root directory, e.g. - "/opt/libreoffice/sdk"
OO_SDK_JAVA_HOME
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.
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 @@ --> - LibreOffice %PRODUCT_RELEASE% SDK - Development Tools + %PRODUCTNAME% %PRODUCT_RELEASE% SDK - Development Tools @@ -137,7 +137,7 @@ office installation. UNO packages are UNO components (single libraries or Jar files or more complex zip files that contain one or more libraries| Jar files, type libraries and configuration items), scripts and - LibreOffice %PRODUCT_RELEASE% Basic libraries as zip package. 'unopkg' is not part of the + %PRODUCTNAME% %PRODUCT_RELEASE% Basic libraries as zip package. 'unopkg' is not part of the SDK but comes with the office directly and is a development tool as well as an end user tool to deploy extension into an office installation.

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-minimal-version of at least 4.1 for that extension (see - LibreOffice %PRODUCT_RELEASE% SDK - Developer's Guide Examples + %PRODUCTNAME% %PRODUCT_RELEASE% SDK - Developer's Guide Examples @@ -133,7 +133,7 @@ Presentation Documents

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.
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%.
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. Builds a connection to -LibreOffice %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%.
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.
@@ -1048,7 +1048,7 @@ side on LibreOffice %PRODUCT_RELEASE% shutdown. href="./OfficeDev/OfficeConnect.java" title="link to OfficeDev/OfficeConnect.java">OfficeConnect Builds the remote bridge to -LibreOffice %PRODUCT_RELEASE% and exports its UNO service manager to the Java side. +%PRODUCTNAME% %PRODUCT_RELEASE% and exports its UNO service manager to the Java side. href="%DOXYGEN_PREFIX2%/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1frame_1_1XTerminateListener.html" title="link to the reference documentation of com.sun.star.frame.XTerminationListener"> XTerminateListener. It is called -when LibreOffice %PRODUCT_RELEASE% terminates. +when %PRODUCTNAME% %PRODUCT_RELEASE% terminates. @@ -1170,7 +1170,7 @@ of formats. href="./OfficeDev/Linguistic/LinguisticExamples.java" title="link to OfficeDev/Linguistic/LinguisticExamples.java">LinguisticExamples A short example that uses most of -the functionality from the LibreOffice %PRODUCT_RELEASE% linguistic API. +the functionality from the %PRODUCTNAME% %PRODUCT_RELEASE% linguistic API. Helper Contains a helper class for the -other examples to connect to LibreOffice %PRODUCT_RELEASE% and open or create a drawing +other examples to connect to %PRODUCTNAME% %PRODUCT_RELEASE% and open or create a drawing document. @@ -1784,7 +1784,7 @@ is not implemented. To be more precise. Helper Shows how to connect to -LibreOffice %PRODUCT_RELEASE% and create text, drawing or spreadsheet document. This +%PRODUCTNAME% %PRODUCT_RELEASE% and create text, drawing or spreadsheet document. This class is used as a helper class for the other examples. @@ -1839,7 +1839,7 @@ changes. LibreOffice %PRODUCT_RELEASE% Basic and Dialogs examples + name="BasicandDialogs">%PRODUCTNAME% %PRODUCT_RELEASE% Basic and Dialogs examples href="./Database/CodeSamples.java" title="link to Database/CodeSamples.java">CodeSamples Creates the connection to -LibreOffice %PRODUCT_RELEASE% and executes the code SalesMan samples for database API. +%PRODUCTNAME% %PRODUCT_RELEASE% and executes the code SalesMan samples for database API. href="./Config/ConfigExamples.java" title="link to Config/ConfigExamples.java">ConfigExamples This example connects to a -LibreOffice %PRODUCT_RELEASE%, gets the configuration manager and accesses the +%PRODUCTNAME% %PRODUCT_RELEASE%, gets the configuration manager and accesses the configuration in various ways. diff --git a/odk/examples/examples.html b/odk/examples/examples.html index ab70c8e645a0..1adb9f5a157b 100644 --- a/odk/examples/examples.html +++ b/odk/examples/examples.html @@ -18,7 +18,7 @@ --> - LibreOffice %PRODUCT_RELEASE% SDK - Examples + %PRODUCTNAME% %PRODUCT_RELEASE% SDK - Examples @@ -57,10 +57,10 @@

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.

@@ -108,9 +108,9 @@ - LibreOffice %PRODUCT_RELEASE% Basic examples + %PRODUCTNAME% %PRODUCT_RELEASE% Basic examples Small set of examples which shows the use of - the API from LibreOffice %PRODUCT_RELEASE% Basic. + the API from %PRODUCTNAME% %PRODUCT_RELEASE% Basic. @@ -213,7 +213,7 @@ WriterSelector This class gives you information on the selected - objects (text range, text frame, or graphics) at a LibreOffice + objects (text range, text frame, or graphics) at a %PRODUCTNAME% Server. @@ -237,7 +237,7 @@ ChartTypeChange - This class loads a LibreOffice %PRODUCT_RELEASE% Calc document and + This class loads a %PRODUCTNAME% %PRODUCT_RELEASE% Calc document and changes the type of the embedded chart. @@ -321,7 +321,7 @@ Object Inspector The Object Inspector is primarily an auxiliary tool for the developer, which can present information about an object of the - LibreOffice %PRODUCT_RELEASE% API at run-time. Depending on the object to be inspected, + %PRODUCTNAME% %PRODUCT_RELEASE% API at run-time. Depending on the object to be inspected, appropriate methods, interfaces, services, and attributes can be displayed to the developer. The methods, interfaces, services and attributes are represented in a predictable tree. If the attributes contained in an @@ -517,7 +517,7 @@ ChartTypeChange - This class loads a LibreOffice %PRODUCT_RELEASE% Calc document and changes the type of the embedded chart. + This class loads a %PRODUCTNAME% %PRODUCT_RELEASE% Calc document and changes the type of the embedded chart. EuroAdaption @@ -695,7 +695,7 @@ - + - + - + - + - + - + - + - + - + - + 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 @@ - LibreOffice API Documentation + %PRODUCTNAME% API Documentation @@ -15,7 +15,7 @@
-

LibreOffice API Documentation

+

%PRODUCTNAME% API Documentation

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 AppearanceChanging 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 TextReplacing 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 ExpressionsUsing 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 BookmarksInserting 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 IndexCreating 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 EurolandAdapting 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 FilesImport/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 UpdaterStock 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 ControlsForms 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 @@
- Additional information: LibreOffice %PRODUCT_RELEASE% Basic language binding + Additional information: LibreOffice Basic language binding
diff --git a/odk/index.html b/odk/index.html index 3a8c91da7874..7eba20ce6cad 100644 --- a/odk/index.html +++ b/odk/index.html @@ -18,7 +18,7 @@ --> - LibreOffice %PRODUCT_RELEASE% SDK - Overview + %PRODUCTNAME% %PRODUCT_RELEASE% SDK - Overview @@ -27,12 +27,12 @@
-

LibreOffice API Documentation

+

%PRODUCTNAME% API Documentation

-

LibreOffice API Documentation

+

%PRODUCTNAME% API Documentation

@@ -43,12 +43,12 @@ - - + @@ -160,7 +160,7 @@ Office Applications (OpenDocument) Technical Committee where you can find the latest information about the OASIS Open Document XML file format which is the default document format - for LibreOffice %PRODUCT_RELEASE%. + for %PRODUCTNAME% %PRODUCT_RELEASE%. @@ -174,7 +174,7 @@ - +
-

LibreOffice %PRODUCT_RELEASE% software is a complete, feature-rich +

%PRODUCTNAME% %PRODUCT_RELEASE% software is a complete, feature-rich office productivity suite that provides, in combination with this SDK, all the essential tools for building and deploying custom - solutions that build on, or integrate with, the LibreOffice %PRODUCT_RELEASE% suite + solutions that build on, or integrate with, the %PRODUCTNAME% %PRODUCT_RELEASE% suite of products.

-

The SDK is a development kit for LibreOffice %PRODUCT_RELEASE%, which +

The SDK is a development kit for %PRODUCTNAME% %PRODUCT_RELEASE%, which eases 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 extended with new functionality. This set of libraries @@ -63,8 +63,8 @@ with new functions.

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 LibreOffice %PRODUCT_RELEASE% Basic, Java, Python, - and different C++ compilers on different platforms, for LibreOffice %PRODUCT_RELEASE%, + Currently, there are language bindings for %PRODUCTNAME% %PRODUCT_RELEASE% Basic, Java, Python, + and different C++ compilers on different platforms, for %PRODUCTNAME% %PRODUCT_RELEASE%, thus covering the 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, @@ -105,14 +105,14 @@

Developer's GuideDetailed documentation, explaining the LibreOffice %PRODUCT_RELEASE% + Detailed documentation, explaining the %PRODUCTNAME% %PRODUCT_RELEASE% API and the concepts behind it, with a rich set of examples, implemented mainly in Java. This documentation is online in TDF Wiki.
IDL ReferenceComplete LibreOffice %PRODUCT_RELEASE% API reference.Complete %PRODUCTNAME% %PRODUCT_RELEASE% API reference.
LicenseThe license for the LibreOffice %PRODUCT_RELEASE% SDK.The license for the %PRODUCTNAME% %PRODUCT_RELEASE% SDK.
@@ -28,7 +28,7 @@ + installation steps (e.g. environment variables) to use %PRODUCTNAME% SDK. @@ -37,7 +37,7 @@ - +
Installation Guide An overview of all necessary - installation steps (e.g. environment variables) to use LibreOffice SDK.
IDL ReferenceComplete LibreOffice API reference.Complete %PRODUCTNAME% API reference.