Some PRODUCTNAME parametrization in SDK .html files

(and some places need a lower case LCPRODUCTNAME; plus some more clean up)

Change-Id: I7e97fcbe2e59ef22dffa7c0b47f076446873d09e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176539
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
This commit is contained in:
Stephan Bergmann 2024-11-13 14:35:54 +01:00
parent 5f251d6ff7
commit 603e92c7d9
7 changed files with 85 additions and 83 deletions

View file

@ -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' \

View file

@ -18,7 +18,7 @@
-->
<html>
<head>
<title>LibreOffice %PRODUCT_RELEASE% SDK - Installation Guide</title>
<title>%PRODUCTNAME% %PRODUCT_RELEASE% SDK - Installation Guide</title>
<link rel="stylesheet" type="text/css" href="sdk_styles.css"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>
@ -53,11 +53,11 @@
<table class="table3">
<tr>
<td colspan="2">
<p>The LibreOffice %PRODUCT_RELEASE% SDK comes with
<p>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 @@
</td>
</tr>
<tr valign="top">
<td><b>LibreOffice %PRODUCT_RELEASE%
<td><b>%PRODUCTNAME% %PRODUCT_RELEASE%
installation</b></td>
<td class="content80"><p>The SDK works on top of an
existing LibreOffice installation and uses the same
libraries as the LibreOffice installation.</p>
existing %PRODUCTNAME% installation and uses the same
libraries as the %PRODUCTNAME% installation.</p>
<p>Download the SDK from the same
source as your LibreOffice packages.</p>
source as your %PRODUCTNAME% packages.</p>
<ul>
<li>If you have installed an official The
Document Foundation LibreOffice release,
@ -229,7 +229,7 @@
</ul>
<p>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 @@
<tr valign="top">
<td class="cell20"><b>OFFICE_HOME</b></td>
<td class="cell80">Path to an existing
LibreOffice installation, e.g.
&quot;/opt/libreoffice8&quot;.</td>
%PRODUCTNAME% installation, e.g.
&quot;/opt/%LCPRODUCTNAME%%PRODUCT_RELEASE%&quot;.</td>
</tr>
<tr>
<td class="cell20"><a name="oosdkname"/><b>OO_SDK_NAME</b></td>
@ -273,7 +273,7 @@
<td class="cell20"><b>OO_SDK_HOME</b></td>
<td class="cell80">Path to the SDK root
directory, e.g.
&quot;/opt/libreoffice/sdk&quot;</td>
&quot;/opt/%LCPRODUCTNAME%%PRODUCT_RELEASE%/sdk&quot;</td>
</tr>
<tr>
<td class="cell20"><b>OO_SDK_JAVA_HOME</b></td>
@ -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.
&lt;OO_SDK_OUTPUT_DIR&gt; /LibreOffice
&lt;OO_SDK_OUTPUT_DIR&gt; /%PRODUCTNAME%
%PRODUCT_RELEASE%/LINUXExample.out)</td>
</tr>
<tr>
<td class="cell20"><b>SDK_AUTO_DEPLOYMENT</b></td>
<td class="cell80">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
<a href="https://wiki.documentfoundation.org/Documentation/DevGuide/Extensions#unopkg" title="link to the &quot;Extension Manager - unopkg&quot; section in the Developer's Guide">&quot;Extension Manager - unopkg&quot;</a>
from the Developer's Guide.</td>
@ -370,19 +370,19 @@
<tr valign="top">
<td class="cell20">OO_SDK_URE_BIN_DIR</td>
<td class="cell80">The path within the chosen
LibreOffice URE installation where binary
%PRODUCTNAME% URE installation where binary
executables are located.</td>
</tr>
<tr valign="top">
<td class="cell20">OO_SDK_URE_LIB_DIR</td>
<td class="cell80">The path within the chosen
LibreOffice URE installation where dynamic
%PRODUCTNAME% URE installation where dynamic
libraries are located.</td>
</tr>
<tr valign="top">
<td class="cell20">OO_SDK_URE_JAVA_DIR</td>
<td class="cell80">The path within the chosen
LibreOffice URE installation where Java JARs
%PRODUCTNAME% URE installation where Java JARs
are located.</td>
</tr>
<tr valign="top">
@ -392,7 +392,7 @@
$CLASSPATH</i><br/>
<p>The classpath will be set or extended to
the necessary jar files of the specified
LibreOffice installation.</p>
%PRODUCTNAME% installation.</p>
</td>
</tr>
<tr valign="top">
@ -408,7 +408,7 @@
<td class="cell80">=<i>$OFFICE_PROGRAM_PATH</i><br/>
<p>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

View file

@ -18,7 +18,7 @@
-->
<html>
<head>
<title>LibreOffice %PRODUCT_RELEASE% SDK - Development Tools</title>
<title>%PRODUCTNAME% %PRODUCT_RELEASE% SDK - Development Tools</title>
<link rel="stylesheet" type="text/css" href="sdk_styles.css"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>
@ -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.</p>
<p>More details concerning deployment and this tool can be found in the
@ -336,9 +336,9 @@
You can find a syntax description for UNOIDL <a href="https://wiki.documentfoundation.org/Documentation/DevGuide/UNOIDL_Syntax_Specification" title="link to the &quot;UNOIDL Syntax Specification&quot; chapter in the Developer's Guide">here</a>.</p>
<p><b>Note:</b> 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&nbsp;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
<code>LibreOffice-minimal-version</code> of at least&nbsp;4.1 for that extension
(see <a

View file

@ -18,7 +18,7 @@
-->
<html>
<head>
<title>LibreOffice %PRODUCT_RELEASE% SDK - Developer's Guide Examples</title>
<title>%PRODUCTNAME% %PRODUCT_RELEASE% SDK - Developer's Guide Examples</title>
<link rel="stylesheet" type="text/css" href="../../docs/sdk_styles.css"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>
@ -133,7 +133,7 @@ Presentation Documents</a></td>
<td class="content3"><img
src="../../docs/images/arrow-1.gif"/></td>
<td><a href="#BasicandDialogs"
title="link to the Basic And Dialogs examples">LibreOffice %PRODUCT_RELEASE% Basic and
title="link to the Basic And Dialogs examples">%PRODUCTNAME% %PRODUCT_RELEASE% Basic and
Dialogs</a></td>
</tr>
<tr valign="top">
@ -227,7 +227,7 @@ examples</a></td>
href="./FirstSteps/FirstUnoContact/java/FirstUnoContact.java"
title="link to FirstSteps/FirstUnoContact/java/FirstUnoContact.java">FirstUnoContact</a></td>
<td class="cell80">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.</td>
</tr>
<tr>
@ -236,7 +236,7 @@ different process space.</td>
href="./FirstSteps/FirstLoadComponent/java/FirstLoadComponent.java"
title="link to FirstSteps/FirstLoadComponent/java/FirstLoadComponent.java">FirstLoadComponent</a></td>
<td class="cell80">Demonstrates how to load a
component into LibreOffice %PRODUCT_RELEASE% by a Java application.</td>
component into %PRODUCTNAME% %PRODUCT_RELEASE% by a Java application.</td>
</tr>
<tr>
<td class="cell20"><img
@ -327,7 +327,7 @@ mechanism in C++.</td>
href="./ProfUNO/InterprocessConn/ConnectionAwareClient.java"
title="link to ProfUNO/InterprocessConn/ConnectionAwareClient/.java">ConnectionAwareClient</a></td>
<td class="cell80">Implements a client which is aware
of losing connection to LibreOffice %PRODUCT_RELEASE%.</td>
of losing connection to %PRODUCTNAME% %PRODUCT_RELEASE%.</td>
</tr>
<tr>
<td class="cell20"><img
@ -335,7 +335,7 @@ of losing connection to LibreOffice %PRODUCT_RELEASE%.</td>
href="./ProfUNO/InterprocessConn/UrlResolver.java"
title="link to ProfUNO/InterProcessConn/UrlResolver.java">UrlResolver</a></td>
<td class="cell80">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 <a
href="%DOXYGEN_PREFIX2%/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1bridge_1_1XUnoUrlResolver.html"
title="link to the reference documentation of com.sun.star.bridge.XUnoResolver"><code>XUnoUrlResolver</code></a>.</td>
@ -358,7 +358,7 @@ shows the usage of <a
href="./ProfUNO/CppBinding/office_connect.cxx"
title="link to ProfUNO/CppBinding/office_connect.java">office_connect.cxx</a></td>
<td class="cell80">Builds a connection to
LibreOffice %PRODUCT_RELEASE% using C++.</td>
%PRODUCTNAME% %PRODUCT_RELEASE% using C++.</td>
</tr>
<tr>
<td class="cell20"><img
@ -719,7 +719,7 @@ for the image shrink component and instantiates it.</td>
href="./Components/DialogComponent/DialogComponent.java"
title="link to Components/DialogComponent/DialogComponent.java">DialogComponent.java</a></td>
<td class="cell80">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 .</td>
</tr>
<tr>
@ -936,7 +936,7 @@ document component.</td>
<td class="cell80">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.</td>
</tr>
@ -952,7 +952,7 @@ and it's actions.</td>
href="./OfficeDev/DesktopEnvironment/FunctionHelper.java"
title="link to OfficeDev/DesktopEnvironment/FunctionHelper.java">FunctionHelper</a></td>
<td class="cell80">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.</td>
</tr>
<tr>
@ -967,7 +967,7 @@ asynchronous events from UNO oneway calls.</td>
href="./OfficeDev/DesktopEnvironment/IShutdownListener.java"
title="link to OfficeDev/DesktopEnvironment/IShutdownListener.java">IShutdownListener</a></td>
<td class="cell80">This is a listener interface to
clean up on shutdown of LibreOffice %PRODUCT_RELEASE%.</td>
clean up on shutdown of %PRODUCTNAME% %PRODUCT_RELEASE%.</td>
</tr>
<tr>
<td class="cell20"><a
@ -998,7 +998,7 @@ get the window handle of the Java window.</td>
href="./OfficeDev/DesktopEnvironment/OfficeConnect.java"
title=" link to OfficeDev/DesktopEnvironment/OfficeConnect.java">OfficeConnect</a></td>
<td class="cell80">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.</td>
</tr>
<tr>
@ -1029,7 +1029,7 @@ the application is registered as an event listener.</td>
href="./OfficeDev/DesktopEnvironment/ViewContainer.java"
title="link to OfficeDev/DesktopEnvironment/ViewContainer.java">ViewContainer</a></td>
<td class="cell80">Performs a clean up on the Java
side on LibreOffice %PRODUCT_RELEASE% shutdown.</td>
side on %PRODUCTNAME% %PRODUCT_RELEASE% shutdown.</td>
</tr>
</tbody>
</table>
@ -1048,7 +1048,7 @@ side on LibreOffice %PRODUCT_RELEASE% shutdown.</td>
href="./OfficeDev/OfficeConnect.java"
title="link to OfficeDev/OfficeConnect.java">OfficeConnect</a></td>
<td class="cell80">Builds the remote bridge to
LibreOffice %PRODUCT_RELEASE% and exports its UNO service manager to the Java side.</td>
%PRODUCTNAME% %PRODUCT_RELEASE% and exports its UNO service manager to the Java side.</td>
</tr>
<tr>
<td class="cell20"><img
@ -1104,7 +1104,7 @@ TerminateListener and shows the use of them in a running program.</td>
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">
<code>XTerminateListener</code></a>. It is called
when LibreOffice %PRODUCT_RELEASE% terminates.</td>
when %PRODUCTNAME% %PRODUCT_RELEASE% terminates.</td>
</tr>
</tbody>
</table>
@ -1170,7 +1170,7 @@ of formats.</td>
href="./OfficeDev/Linguistic/LinguisticExamples.java"
title="link to OfficeDev/Linguistic/LinguisticExamples.java">LinguisticExamples</a></td>
<td class="cell80">A short example that uses most of
the functionality from the LibreOffice %PRODUCT_RELEASE% linguistic API.</td>
the functionality from the %PRODUCTNAME% %PRODUCT_RELEASE% linguistic API.</td>
</tr>
<tr>
<td class="cell20"><a
@ -1633,7 +1633,7 @@ URLs.</td>
<td class="cell20"><a href="./Drawing/Helper.java"
title="link to Drawing/Helper.java">Helper</a></td>
<td class="cell80">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.</td>
</tr>
<tr>
@ -1784,7 +1784,7 @@ is not implemented. To be more precise.</td>
<td class="cell20"><a href="./Charts/Helper.java"
title="link to Charts/Helper.java">Helper</a></td>
<td class="cell80">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.</td>
</tr>
<tr>
@ -1839,7 +1839,7 @@ changes.</td>
<tbody>
<tr>
<td colspan="2" class="head1"><a
name="BasicandDialogs">LibreOffice %PRODUCT_RELEASE% Basic and Dialogs examples</a></td>
name="BasicandDialogs">%PRODUCTNAME% %PRODUCT_RELEASE% Basic and Dialogs examples</a></td>
<td align="right"> <a href="#examples"
title="link to the Developer's Guide examples overview"><img
class="navigate" src="../../docs/images/nav_up.png"/></a> <a
@ -1961,7 +1961,7 @@ the example. </td>
href="./Database/CodeSamples.java"
title="link to Database/CodeSamples.java">CodeSamples</a></td>
<td class="cell80">Creates the connection to
LibreOffice %PRODUCT_RELEASE% and executes the code SalesMan samples for database API.</td>
%PRODUCTNAME% %PRODUCT_RELEASE% and executes the code SalesMan samples for database API.</td>
</tr>
<tr>
<td class="cell20"><img
@ -2644,7 +2644,7 @@ Management examples</a></td>
href="./Config/ConfigExamples.java"
title="link to Config/ConfigExamples.java">ConfigExamples</a></td>
<td class="cell80">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.</td>
</tr>
</tbody>

View file

@ -18,7 +18,7 @@
-->
<html>
<head>
<title>LibreOffice %PRODUCT_RELEASE% SDK - Examples</title>
<title>%PRODUCTNAME% %PRODUCT_RELEASE% SDK - Examples</title>
<link rel="stylesheet" type="text/css" href="../docs/sdk_styles.css"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>
@ -57,10 +57,10 @@
<tr>
<td colspan="3">
<p>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%.<br/>
database of %PRODUCTNAME% %PRODUCT_RELEASE%.<br/>
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.</p>
@ -108,9 +108,9 @@
</tr>
<tr valign="top">
<td class="content3"><img src="../docs/images/arrow-1.gif"/></td>
<td><a href="#Basic_examples" title="link to the LibreOffice %PRODUCT_RELEASE% Basic examples section">LibreOffice %PRODUCT_RELEASE% Basic examples</a></td>
<td><a href="#Basic_examples" title="link to the %PRODUCTNAME% %PRODUCT_RELEASE% Basic examples section">%PRODUCTNAME% %PRODUCT_RELEASE% Basic examples</a></td>
<td class="content75">Small set of examples which shows the use of
the API from LibreOffice %PRODUCT_RELEASE% Basic.</td>
the API from %PRODUCTNAME% %PRODUCT_RELEASE% Basic.</td>
</tr>
<tr valign="top">
<td class="content3"><img src="../docs/images/arrow-1.gif"/></td>
@ -213,7 +213,7 @@
<tr>
<td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">WriterSelector</a></td>
<td class="cell80">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.</td>
</tr>
</tbody>
@ -237,7 +237,7 @@
</tr>
<tr>
<td class="cell20"><a href="java/Spreadsheet/" title="link to the source directory of the Java Spreadsheet examples">ChartTypeChange</a></td>
<td class="cell80">This class loads a LibreOffice %PRODUCT_RELEASE% Calc document and
<td class="cell80">This class loads a %PRODUCTNAME% %PRODUCT_RELEASE% Calc document and
changes the type of the embedded chart.</td>
</tr>
<tr>
@ -321,7 +321,7 @@
<td class="cell20"><a href="http://wiki.openoffice.org/wiki/Object_Inspector" title="link to the Object Inspector project page in the wiki">Object Inspector</a></td>
<td class="cell80">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 @@
</tr>
<tr>
<td class="cell20"><a href="python/Spreadsheet/" title="link to the source directory of the Python Spreadsheet examples">ChartTypeChange</a></td>
<td class="cell80">This class loads a LibreOffice %PRODUCT_RELEASE% Calc document and changes the type of the embedded chart.</td>
<td class="cell80">This class loads a %PRODUCTNAME% %PRODUCT_RELEASE% Calc document and changes the type of the embedded chart.</td>
</tr>
<tr>
<td class="cell20"><a href="python/Spreadsheet/" title="link to the source directory of the Python Spreadsheet examples">EuroAdaption</a></td>
@ -695,7 +695,7 @@
<td>
<table class="table3">
<tr>
<td colspan="2" class="head1"><a name="Basic_examples"/>LibreOffice %PRODUCT_RELEASE% Basic examples</td>
<td colspan="2" class="head1"><a name="Basic_examples"/>%PRODUCTNAME% %PRODUCT_RELEASE% Basic examples</td>
<td align="right">
<a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"/></a>
<a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"/></a>
@ -703,8 +703,8 @@
</tr>
<tr>
<td colspan="3">
<p>The example programs are embedded in LibreOffice %PRODUCT_RELEASE% documents in the
samples directory. To view or edit the LibreOffice %PRODUCT_RELEASE% Basic source,
<p>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-&gt;Macro.</p>
<p>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 @@
<td class="cell80">Description</td>
</tr>
<tr>
<td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Changing Appearance</a></td>
<td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the %PRODUCTNAME% %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Changing Appearance</a></td>
<td class="cell80"> To change the style used for certain words, you can
start with the following example. This code searches for the regular
expression <code>the[a-z]</code>, which stands for the text portion the
@ -737,7 +737,7 @@
must execute it from an open text document.</td>
</tr>
<tr>
<td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Replacing Text</a></td>
<td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the %PRODUCTNAME% %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Replacing Text</a></td>
<td class="cell80">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.</td>
</tr>
<tr>
<td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Using Regular Expressions</a></td>
<td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the %PRODUCTNAME% %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Using Regular Expressions</a></td>
<td class="cell80">Another application of automatic text modification is
related to stylistic questions. Suppose your company&rsquo;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.).</td>
</tr>
<tr>
<td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Inserting Bookmarks</a></td>
<td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the %PRODUCTNAME% %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Inserting Bookmarks</a></td>
<td class="cell80">
<p>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.</p></td>
</tr>
<tr>
<td class="cell20"><a href="basic/text/creating_an_index/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic text/create_index example">Creating an Index</a></td>
<td class="cell20"><a href="basic/text/creating_an_index/" title="link to the source directory of the %PRODUCTNAME% %PRODUCT_RELEASE% Basic text/create_index example">Creating an Index</a></td>
<td class="cell80">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.</td>
</tr>
<tr>
<td class="cell20"><a href="basic/sheet/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic sheet example">Adapting to Euroland</a></td>
<td class="cell20"><a href="basic/sheet/" title="link to the source directory of the %PRODUCTNAME% %PRODUCT_RELEASE% Basic sheet example">Adapting to Euroland</a></td>
<td class="cell80">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.</td>
</tr>
<tr>
<td class="cell20"><a href="basic/drawing/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic drawing example">Import/Export of ASCII Files</a></td>
<td class="cell20"><a href="basic/drawing/" title="link to the source directory of the %PRODUCTNAME% %PRODUCT_RELEASE% Basic drawing example">Import/Export of ASCII Files</a></td>
<td class="cell80">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.</td>
</tr>
<tr>
<td class="cell20"><a href="basic/stock_quotes_updater/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic stock_quotes_updater example">Stock Quotes Updater</a></td>
<td class="cell20"><a href="basic/stock_quotes_updater/" title="link to the source directory of the %PRODUCTNAME% %PRODUCT_RELEASE% Basic stock_quotes_updater example">Stock Quotes Updater</a></td>
<td class="cell80">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 @@
<code>UpdateValue()</code>, and <code>UpdateChart()</code>.</td>
</tr>
<tr>
<td class="cell20"><a href="basic/forms_and_controls/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic forms_and_controls example">Forms and Controls</a></td>
<td class="cell20"><a href="basic/forms_and_controls/" title="link to the source directory of the %PRODUCTNAME% %PRODUCT_RELEASE% Basic forms_and_controls example">Forms and Controls</a></td>
<td class="cell80">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 @@
<table class="table3">
<tr>
<td colspan="3">
Additional information: <a href="https://wiki.documentfoundation.org/Documentation/DevGuide/Professional_UNO#LibreOffice_Basic" title="link to the &quot;LibreOffice %PRODUCT_RELEASE% Basic language binding&quot; section in the Developer's Guide">LibreOffice %PRODUCT_RELEASE% Basic language binding</a>
Additional information: <a href="https://wiki.documentfoundation.org/Documentation/DevGuide/Professional_UNO#LibreOffice_Basic" title="link to the &quot;LibreOffice Basic language binding&quot; section in the Developer's Guide">LibreOffice Basic language binding</a>
</td>
</tr>
</table>

View file

@ -18,7 +18,7 @@
-->
<html>
<head>
<title>LibreOffice %PRODUCT_RELEASE% SDK - Overview</title>
<title>%PRODUCTNAME% %PRODUCT_RELEASE% SDK - Overview</title>
<link rel="stylesheet" type="text/css" href="docs/sdk_styles.css"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>
@ -27,12 +27,12 @@
<div id="Container">
<div id="TopHeader">
<a id="Logo" href="http://www.libreoffice.org/" title="Go to the Home of LibreOffice and the LibreOffice Community page"></a>
<p id="HeaderTagLine">LibreOffice API Documentation</p>
<p id="HeaderTagLine">%PRODUCTNAME% API Documentation</p>
</div>
<div class="clear"></div>
<div id="Layout">
<div class="typography">
<h1>LibreOffice API Documentation</h1>
<h1>%PRODUCTNAME% API Documentation</h1>
<table class="table1" cellpadding="0">
<tr>
<td colspan="3"><img class="nothing30" src="docs/images/nada.gif"/></td>
@ -43,12 +43,12 @@
<tr>
<td><img class="nothing8" src="docs/images/nada.gif"/></td>
<td>
<p>LibreOffice %PRODUCT_RELEASE% software is a complete, feature-rich
<p>%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.</p>
<p>The SDK is a development kit for LibreOffice %PRODUCT_RELEASE%, which
<p>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.</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 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 @@
<tr valign="top">
<td class="content4"><img src="docs/images/arrow-1.gif"/></td>
<td colspan="2"><a href="https://wiki.documentfoundation.org/Documentation/DevGuide" title="link to the Developer's Guide in the Wiki">Developer's Guide</a></td>
<td class="content70">Detailed documentation, explaining the LibreOffice %PRODUCT_RELEASE%
<td class="content70">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.</td>
</tr>
<tr valign="top">
<td class="content4"><img src="docs/images/arrow-1.gif"/></td>
<td colspan="2"><a href="%DOXYGEN_PREFIX0%/docs/idl/ref/index.html" title="link to the IDL reference documentation">IDL Reference</a></td>
<td class="content70">Complete LibreOffice %PRODUCT_RELEASE% API reference.</td>
<td class="content70">Complete %PRODUCTNAME% %PRODUCT_RELEASE% API reference.</td>
</tr>
<tr valign="top">
<td class="content4"><img src="docs/images/arrow-1.gif"/></td>
@ -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%.</td>
for %PRODUCTNAME% %PRODUCT_RELEASE%.</td>
</tr>
<tr valign="top">
<td class="content4"><img src="docs/images/arrow-1.gif"/></td>
@ -174,7 +174,7 @@
<tr valign="top">
<td class="content4"><img src="docs/images/arrow-1.gif"/></td>
<td colspan="2"><a href="share/readme/LICENSE.html" title="link to the SDK license file">License</a></td>
<td class="content70">The license for the LibreOffice %PRODUCT_RELEASE% SDK.</td>
<td class="content70">The license for the %PRODUCTNAME% %PRODUCT_RELEASE% SDK.</td>
</tr>
</table>
</td>

View file

@ -1,6 +1,6 @@
<html>
<head>
<title>LibreOffice API Documentation</title>
<title>%PRODUCTNAME% API Documentation</title>
<link rel="stylesheet" type="text/css" href="docs/sdk_styles.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="http://www.libreoffice.org/favicon.ico" />
@ -15,7 +15,7 @@
<div class="clear"></div>
<div id="Layout">
<div class="typography">
<h1>LibreOffice API Documentation</h1>
<h1>%PRODUCTNAME% API Documentation</h1>
<table class="table1" cellpadding=0>
<tr>
<td><img class="nothing8" src="docs/images/nada.gif"></td>
@ -28,7 +28,7 @@
<td class="content4"><img src="docs/images/arrow-1.gif"></td>
<td colspan="2"><a href="docs/install.html" title="link to the installation guide">Installation Guide</a></td>
<td class="content70">An overview of all necessary
installation steps (e.g. environment variables) to use LibreOffice SDK.</td>
installation steps (e.g. environment variables) to use %PRODUCTNAME% SDK.</td>
</tr>
<tr valign="middle">
<td><img class="nothing10" src="docs/images/nada.gif"></td>
@ -37,7 +37,7 @@
<tr valign="top">
<td class="content4"><img src="docs/images/arrow-1.gif"></td>
<td colspan="2"><a href="docs/idl/ref/index.html" title="link to the IDL reference documentation">IDL Reference</a></td>
<td class="content70">Complete LibreOffice API reference.</td>
<td class="content70">Complete %PRODUCTNAME% API reference.</td>
</tr>
<tr valign="top">
<td class="content4"><img src="docs/images/arrow-1.gif"></td>