1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2 Final//EN">
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 <title>LibreOffice %PRODUCT_RELEASE% SDK - Development Tools
</title>
22 <link rel=
"stylesheet" type=
"text/css" href=
"sdk_styles.css"/>
23 <meta http-equiv=
"Content-Type" content=
"text/html;charset=utf-8"/>
27 <div id=
"BgContainer">
30 <a id=
"Logo" href=
"http://www.libreoffice.org/" title=
"Go to the Home of LibreOffice and the LibreOffice Community page"></a>
31 <p id=
"HeaderTagLine">
32 Software Development Kit %PRODUCT_RELEASE%
38 <div class=
"typography">
42 <table class=
"table1" cellpadding=
"0">
44 <td colspan=
"3"><img class=
"nothing10" src=
"images/nada.gif"/></td>
47 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
49 <table class=
"table2">
51 <td colspan=
"3"><img class=
"nothing1" src=
"images/nada.gif"/></td>
55 <table class=
"table3">
57 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
58 <td><a href=
"#unopkg" title=
"link to the unopkg tool description">unopkg
</a></td>
59 <td class=
"content87">The new UNO package deployment tool. It comes
60 with the office installation and can be found in the program
61 directory of the office installation.
</td>
64 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
65 <td><a href=
"#unoexe" title=
"link to the uno tool description">uno
</a></td>
66 <td class=
"content87">Tool to provide a UNO runtime environment and
67 provide configured (deployed) or single components. This tool
68 comes with the office installation and can be found in the program
69 directory of the office installation.
</td>
72 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
73 <td><a href=
"#regmerge" title=
"link to the regmerge tool description">regmerge
</a></td>
74 <td class=
"content87">Tool to merge several registry (e.g. type
75 libraries) files into one file.
<b>Note:
</b> Since OpenOffice.org
3 it is not longer part of the SDK but it comes directly with the office as part of the
<b>ure
</b>.
</td>
78 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
79 <td><a href=
"#regview" title=
"link to the regview tool description">regview
</a></td>
80 <td class=
"content87">Tool to view the content of a registry file
81 in a human readable manner. Special support for type library
82 nodes.
<b>Note:
</b> Since OpenOffice.org
3 it is not longer part of the SDK but it comes directly with the office as part of the
<b>ure
</b>.
</td>
85 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
88 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
89 <td><a href=
"#idlc" title=
"link to the idlc tool description">idlc
</a></td>
90 <td class=
"content87">The UNOIDL compiler, generates a common
91 binary type library format as base for all codemaker tools and
92 the UNO runtime type library.
</td>
95 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
96 <td><a href=
"#cppumaker" title=
"link to the cppumaker tool description">cppumaker
</a></td>
97 <td class=
"content87">Tool for generating C++ code for the UNOIDL
98 types stored in a type library.
</td>
101 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
102 <td><a href=
"#javamaker" title=
"link to the javamaker tool description">javamaker
</a></td>
103 <td class=
"content87">Tool for generating Java class files for the
104 UNOIDL types stored in a type library.
</td>
107 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
108 <td><a href=
"#climaker" title=
"link to the climaker tool description">climaker
</a></td>
109 <td class=
"content87">Tool for generating CLI assemblies for the
110 UNOIDL types stored in a type library (windows only).
</td>
113 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
114 <td><a href=
"#uno-skeletonmaker" title=
"link to the uno-skeletonmaker tool description">uno-skeletonmaker
</a></td>
115 <td class=
"content87">Tool for dumping type definitions on stdout or generating complete code skeletons for Java/C++.
</td>
118 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
119 <td><a href=
"#regmerge" title=
"link to the regmerge tool description">regmerge
</a></td>
120 <td class=
"content87">Tool to merge several registry (e.g. type
121 libraries) files into one file.
</td>
124 <td class=
"content3"><img src=
"images/arrow-1.gif"/></td>
125 <td><a href=
"#regview" title=
"link to the regview tool description">regview
</a></td>
126 <td class=
"content87">Tool to view the content of a registry file
127 in a human readable manner. Special support for type library
135 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
138 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
141 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
143 <table class=
"table2">
145 <td colspan=
"2" class=
"head1"><a name=
"unopkg"/>unopkg
</td>
147 <a style=
"a:link:visited #FFFFFF;" href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
148 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a></td>
152 <p>'unopkg' is a tool for easy deployment of UNO packages in an existing
153 office installation. UNO packages are UNO components (single libraries or
154 Jar files or more complex zip files that contains one or more libraries|
155 Jar files, type libraries and configuration items), scripts and
156 LibreOffice %PRODUCT_RELEASE% Basic libraries as zip package. 'unopkg' is not part of the
157 SDK but comes with the office directly and is a development tool as well
158 as an end user tool to deploy extension into an office installation.
</p>
159 <p>More details concerning deployment and this tool can be find in the
160 Developer's Guide:
<a href=
"http://wiki.openoffice.org/wiki/Documentation/DevGuide/Extensions/unopkg" title=
"link to the "Extension Manager - unopkg" chapter in the Developer's Guide">Extension Manager -
<i>unopkg
</i></a>.
</p>
161 <p><b>Note:
</b> This tool works only in the
<i><office
>/program
</i>
163 <p class=
"head2">Usage:
</p>
166 unopkg add
<options
> package-path...
<br/>
167 unopkg remove
<options
> package-name...
<br/>
168 unopkg list
<options
> package-name...
<br/>
169 unopkg reinstall
<options
><br/>
175 <p class=
"head2">Sub-commands:
</p>
176 <table class=
"table4">
178 <td class=
"cell15"><code>add
</code></td>
179 <td class=
"cell85">add packages
</td>
182 <td class=
"cell15"><code>remove
</code></td>
183 <td class=
"cell85">remove packages by name
</td>
186 <td class=
"cell15"><code>reinstall
</code></td>
187 <td class=
"cell85">export feature: reinstall all deployed
191 <td class=
"cell15"><code>list
</code></td>
192 <td class=
"cell85">list information about deployed packages
</td>
195 <td class=
"cell15"><code>gui
</code></td>
196 <td class=
"cell15">raise Package Manager Graphical User Interface
200 <p class=
"head2">Options:
</p>
201 <table class=
"table4">
203 <td class=
"cell15"><code>-h, --help
</code></td>
204 <td class=
"cell85">show this help on the command line
</td>
207 <td class=
"cell15"><code>-V, --version
</code></td>
208 <td class=
"cell85">shows version information
212 <td class=
"cell15"><code>-v, --verbose
</code></td>
213 <td class=
"cell85">dump verbose output to stdout
</td>
216 <td class=
"cell15"><code>-f, --force
</code></td>
217 <td class=
"cell85">force overwriting existing packages
</td>
220 <td class=
"cell15"><code>--log-file
<file
></code></td>
221 <td class=
"cell85">custom log file; default:
222 <i><cache-dir
>/log.txt
</i>.
</td>
225 <td class=
"cell15"><code>--shared
</code></td>
226 <td class=
"cell85">expert feature: operate on shared installation
227 deployment context; run only when no concurrent Office process(es) are
231 <td class=
"cell15"><code>--deployment-context
<context
></code>
233 <td class=
"cell85">expert feature: explicit deployment context
</td>
240 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
243 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
246 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
248 <table class=
"table2">
250 <td colspan=
"2" class=
"head1"><a name=
"unoexe"/>uno
</td>
252 <a href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
253 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a>
258 <p>The UNO-starter is for running a component or service process, and
259 providing a runtime environment. Raising a component might look like
261 <p><code>[c:\] uno.exe -c MyComponent -l mycomp.dll -r myregistry.rdb
262 -- foo bar
</code></p>
264 <p><code>[c:\] uno.exe -s foo.bar.FooBarService -r myregistry.rdb
265 -- foo bar
</code></p>
266 <p>The starter loads the component and instantiates it. The component
267 must export the interface
<a href=
"%DOXYGEN_PREFIX1%/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1lang_1_1XMain.html" title=
"link into the IDL reference to the interface com.sun.star.lang.XMain">com.sun.star.lang.XMain
</a>:
</p>
269 <code>interface XMain : com::sun::star::uno::XInterface
<br/>
271 /** This method is called to run the component.
<br/>
272 <br/>
273 @param aArguments command line arguments
<br/>
274 @return process error code to be returned to system
<br/>
275 */
<br/>
276 long run( [in] sequence
< string
> arguments );
<br/>
280 <p>Method run() will be called and returns the error code given, back
281 to the system. If the uno starter is executed with the -u (URL) option,
282 then XInitialization is used instead of XMain. The -u option is described
284 <p class=
"head2">Usage:
</p>
286 <b><code>uno (-c
<ComponentImplementationName
> -l
<LocationUrl
>
287 | -s
<ServiceName
>)
<br/>
288 [-u uno:(socket[,host=
<HostName
>][,port=
<nnn
>]|pipe[,name=
<PipeName
>]);iiop|urp;
<Name
><br/>
289 [--singleaccept] [--singleinstance]]
<br/>
290 [--
<Argument1 Argument2 ...
>]
293 <p class=
"head2">Options:
</p>
294 <table class=
"table4">
296 <td class=
"cell15"><code><HostName
></code></td>
297 <td class=
"cell85">Specifying a host name might be necessary to
298 distinguish the network interface to be used,if a machine is part of
302 <td class=
"cell15"><code><PipeName
></code></td>
303 <td class=
"cell85">Name of a named pipe.
</td>
306 <td class=
"cell15"><code><Name
></code></td>
307 <td class=
"cell85">Identifier for demanded called component
311 <td class=
"cell15"><code>--singleaccept
</code></td>
312 <td class=
"cell85">The uno starter will accept one connection,
313 provide the component instance and die.
</td>
316 <td class=
"cell15"><code>--singleinstance
</code></td>
317 <td class=
"cell85">The uno starter will accept any number of
318 connections, but will provide the same single component instance any
319 time instead of creating a new instance for each connection.
</td>
322 <p><b>Service
<a href=
"%DOXYGEN_PREFIX1%/docs/idl/ref/servicecom_1_1sun_1_1star_1_1bridge_1_1UnoUrlResolver.html" title=
"link into the IDL reference to the service com.sun.star.bridge.UnoUrlResolver">com.sun.star.bridge.UnoUrlResolver
</a></b></p>
323 <p>You can easily connect to a server started with the
324 <code>-u (url)
</code> option by using this service, giving the same url
325 to resolve. The service provides you an instance from remote.
</p>
330 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
333 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
336 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
338 <table class=
"table2">
340 <td colspan=
"2" class=
"head1"><a name=
"idlc"/>idlc
</td>
342 <a href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
343 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a>
348 <p>'idlc' is the UNOIDL compiler. It is a full featured compiler used
349 to check UNODL type definitions and transform valid type definitions
350 into a binary type library format, which is later used by all codemaker
351 tools. It is also used as a dynamic type library for UNO at runtime.
<br/>
352 You can find a syntax description for UNOIDL
<a href=
"http://wiki.openoffice.org/wiki/Documentation/DevGuide/AppendixD/UNOIDL_Syntax_Specification" title=
"link to the "UNOIDL Syntax Specification" chapter in the Developer's Guide">here
</a>.
</p>
353 <p class=
"head2">Usage:
</p>
355 <b><code>idlc [-options] file_1 ... file_n | @
<filename
></code></b>
357 <table class=
"table4">
359 <td class=
"cell15"><code>file_1 ... file_n
</code></td>
360 <td class=
"cell85">specifies one or more idl files. Only files with
361 the extension '.idl' are valid.
</td>
364 <td class=
"cell15"><code>@
<filename
></code></td>
365 <td class=
"cell85">filename specifies the name of a command
369 <p class=
"head2">Options:
</p>
370 <table class=
"table4">
372 <td class=
"cell15"><code>-O
<path
></code></td>
373 <td class=
"cell85">path describes the output directory. The
374 generated output is a registry file with the same name as the idl
378 <td class=
"cell15"><code>-I
<path
></code></td>
379 <td class=
"cell85">path specifies a directory where included files
380 that will be searched by the preprocessor are located. Multiple
381 directories can be combined with ';'.
</td>
384 <td class=
"cell15"><code>-D
<name
></code></td>
385 <td class=
"cell85">name defines a macro for the preprocessor.
</td>
388 <td class=
"cell15"><code>-C
</code></td>
389 <td class=
"cell85">generates complete type information, including
390 additional service information and documentation.
</td>
393 <td class=
"cell15"><code>-h|?
</code></td>
394 <td class=
"cell85">print this help message and exit.
</td>
401 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
404 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
407 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
409 <table class=
"table2">
411 <td colspan=
"2" class=
"head1"><a name=
"cppumaker"/>cppumaker
</td>
413 <a href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
414 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a>
419 <p>The 'cppumaker' generates a C++ representation for idl types. The
420 cppumaker works on a typelibrary, which is generated by the UNOIDL
421 compiler (
<a href=
"#idlc" title=
"link to the idlc tool description">
422 idlc
</a>). It generates the output for all specified types and for all
423 types the specified types depend on.
</p>
424 <p class=
"head2">Usage:
</p>
426 <b><code>cppumaker [-options] file_1 ... file_n
</code></b>
428 <p class=
"head2">Options:
</p>
429 <table class=
"table4">
431 <td class=
"cell15"><code>-O
<path
></code></td>
432 <td class=
"cell85">path describes the root directory for the
433 generated output. The output directory tree is generated under this
437 <td class=
"cell15"><code>-T
<name
><br/>
438 |-T
<t1
>;
<t2
>...
</code></td>
439 <td class=
"cell85">name specifies a type or a list of types. The
440 output for this type and all dependent types are generated. If no '-T'
441 option is specified, then output for all types is generated. It is also
442 possible to use a wildcard 'xy.*' to generate a complete module
443 inclusive all subdirectories. The use of '-T*' is equivalent to no '-T'
444 option. Example: 'com.sun.star.uno.XInterface' or
445 'com.sun.star.uno.*' are valid types.
449 <td class=
"cell15"><code>-B
<name
></code></td>
450 <td class=
"cell85">name specifies the base node. All types are
451 searched under this node. Default is the root '/' of the registry
455 <td class=
"cell15"><code>-L
</code></td>
456 <td class=
"cell85">UNO type functions are generated lightweight, that
457 means only the name and typeclass are given and everything else is
458 retrieved from the type library dynamically. The default is that UNO
459 type functions provides enough type information for bootstrapping C++.
460 '-L' should be the default for external components.
</td>
463 <td class=
"cell15"><code>-C
</code></td>
464 <td class=
"cell85">UNO type functions are generated comprehensive
465 that means all necessary information is available for bridging the
470 <td class=
"cell15"><code>-G
</code></td>
471 <td class=
"cell85">generate only target files which do not
475 <td class=
"cell15"><code>-Gc
</code></td>
476 <td class=
"cell85">generate only target files whose content will
480 <td class=
"cell15"><code>-X
<name
></code></td>
481 <td class=
"cell85">extra types, which are not be taken into account
489 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
492 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
495 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
497 <table class=
"table2">
499 <td colspan=
"2" class=
"head1"><a name=
"javamaker"/>javamaker
</td>
501 <a href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
502 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a>
507 <p>The 'javamaker' generates the appropriate Java class file for each idl
508 type. The javamaker works on a typelibrary which is generated by the
509 UNOIDL compiler (
<a href=
"#idlc" title=
"link to the idlc tool description">
510 idlc
</a>). It generates the output for all specified types and for all
511 types the specified types depend on.
</p>
512 <p class=
"head2">Usage:
</p>
514 <b><code>javamaker [-options] file_1 ... file_n -Xfile_n+
1 -Xfile_n+
2</code></b>
516 <p class=
"head2">Options:
</p>
517 <table class=
"table4">
519 <td class=
"cell15"><code>-O
<path
></code></td>
520 <td class=
"cell85">path describes the root directory for the
521 generated output. The output directory tree is generated under this
525 <td class=
"cell15"><code>-T
<name
>|-T
<t1
>;
<t2
>...
</code></td>
526 <td class=
"cell85">name specifies a type or a list of types. The
527 output for this type and all dependent types are generated. If no '-T'
528 option is specified, then output for all types is generated. It is also
529 possible to use a wildcard 'xy.*' to generate a complete module
530 inclusive all subdirectories. The use of '-T*' is equivalent to no '-T'
531 option. Example: 'com.sun.star.uno.XInterface'
532 or 'com.sun.star.uno.*' are valid types.
536 <td class=
"cell15"><code>-B
<name
></code></td>
537 <td class=
"cell85">name specifies the base node. All types are
538 searched under this node. Default is the root '/' of the registry
542 <td class=
"cell15"><code>-nD
</code></td>
543 <td class=
"cell85">no dependent types are generated.
</td>
546 <td class=
"cell15"><code>-G
</code></td>
547 <td class=
"cell85">generate only target files which do not
551 <td class=
"cell15"><code>-Gc
</code></td>
552 <td class=
"cell85">generate only target files whose content will
556 <td class=
"cell15"><code>-X
<name
></code></td>
557 <td class=
"cell85">extra types, which will not be taken into account
565 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
568 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
571 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
573 <table class=
"table2">
575 <td colspan=
"2" class=
"head1"><a name=
"climaker"/>climaker
</td>
577 <a href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
578 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a>
583 <p>The 'climaker' (windows only) generates the appropriate CLI assemblies file for each idl
584 type. The climaker works on a typelibrary which is generated by the
585 UNOIDL compiler (
<a href=
"#idlc" title=
"link to the idlc tool description">
586 idlc
</a>). It generates the output for all specified types and for all
587 types the specified types depend on.
</p>
588 <p class=
"head2">Usage:
</p>
590 <b><code>climaker
<switches
> [registry-file-
1 registry-file-
2 ...]
</code></b>
592 <p class=
"head2">Options:
</p>
593 <table class=
"table4">
595 <td class=
"cell15"><code>-O, --out
<output_file
></code></td>
596 <td class=
"cell85">output assembly file;
<br/>
597 defaults to cli_unotypes.dll if more than one registry-file is given, else
<registry-file
>.dll
</td>
600 <td class=
"cell15"><code>-T, --types
<type1[;type2;...]
></code></td>
601 <td class=
"cell85">types to be generated (if none is given,
602 then all types of given registries are emitted
</td>
605 <td class=
"cell15"><code>-X, --extra
<rdb-file
>></code></td>
606 <td class=
"cell85">additional rdb to saturate referenced types in
607 given registry file(s); these types will not be
608 emitted into the output assembly file
</td>
611 <td class=
"cell15"><code>-r, --reference
<assembly-file
></code></td>
612 <td class=
"cell85">reference metadata from assembly file
</td>
615 <td class=
"cell15"><code>-k, --keyfile
</code></td>
616 <td class=
"cell85">keyfile needed for strong name
</td>
619 <td class=
"cell15"><code>--assembly-version
<version
></code></td>
620 <td class=
"cell85">sets assembly version
</td>
623 <td class=
"cell15"><code>--assembly-description
<text
></code></td>
624 <td class=
"cell85">sets assembly description text
</td>
627 <td class=
"cell15"><code>--assembly-product
<text
></code></td>
628 <td class=
"cell85">sets assembly product name
</td>
631 <td class=
"cell15"><code>--assembly-company
<text
></code></td>
632 <td class=
"cell85">sets assembly company
</td>
635 <td class=
"cell15"><code>--assembly-copyright
<text
></code></td>
636 <td class=
"cell85">sets assembly copyright
</td>
639 <td class=
"cell15"><code>--assembly-trademark
<text
></code></td>
640 <td class=
"cell85">sets assembly trademark
</td>
643 <td class=
"cell15"><code>-v, --verbose
</code></td>
644 <td class=
"cell85">verbose output to stdout
</td>
647 <td class=
"cell15"><code>-h, --help
</code></td>
648 <td class=
"cell85">this message
</td>
652 <p><b>Example:
</b> <code>climaker --out cli_mytypes.dll --reference cli_uretypes.dll --extra types.rdb mytypes.rdb
</code></p>
657 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
660 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
663 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
665 <table class=
"table2">
667 <td colspan=
"2" class=
"head1"><a name=
"uno-skeletonmaker"/>uno-skeletonmaker
</td>
669 <a href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
670 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a>
675 <p>The 'uno-skeletonmaker' is a tool to simplify the UNO component development. It has different modes, from simply dumping code definitions for different languages on stdout up to generating complete code skeletons. The generation of code skeletons support common component skeletons as well as specialized skeletons for special service provider interfaces.
</p>
676 <p class=
"head2">Usage:
</p>
679 uno-skeletonmaker (-env:INIFILENAME=
<url
>) dump [
<options
>] -t
<type
> ...
<br/>
680 uno-skeletonmaker (-env:INIFILENAME=
<url
>) component [
<options
>] -n
<name
> -t
<type
> ...
<br/>
681 uno-skeletonmaker (-env:INIFILENAME=
<url
>) calc-add-in [
<options
>] -n
<name
> -t
<add-in_service
><br/>
682 uno-skeletonmaker (-env:INIFILENAME=
<url
>) add-on [
<options
>] -n
<name
> -p
<protocol_name:command,...
>
683 uno-skeletonmaker -V, --version
<br/>
684 uno-skeletonmaker -h, --help
<br/>
687 <p class=
"head2">Sub-commands:
</p>
688 <table class=
"table4">
690 <td class=
"cell15"><code>dump
</code></td>
691 <td class=
"cell85">dump declarations on stdout (e.g. constructors, methods, type mapping for properties) or complete method bodies with method forwarding.
</td>
694 <td class=
"cell15"><code>component
</code></td>
695 <td class=
"cell85">generates language specific code skeleton files using the implementation name as the file and class name
</td>
698 <td class=
"cell15"><code>calc-add-in
</code></td>
699 <td class=
"cell85">generates a language specific code skeleton for a Calc Add-Ins using the implementation name as the file and class name. A service type is necessary, referencing an interface which defines the new add-in functions.
</td>
702 <td class=
"cell15"><code>add-on
</code></td>
703 <td class=
"cell85">generates a language specific code skeleton for an add-on compnent using the implementation name as the file and class name. The protocol name(s) and the corresponding command(s) have to be specified with the '-p' option.
</td>
706 <p class=
"head2">Options:
</p>
707 <table class=
"table4">
709 <td class=
"cell15"><code>-env:INIFILENAME=
<url
></code></td>
710 <td class=
"cell85">url specifies a URL to an UNO ini|rc file of an existing UNO environment (URE, office installation).
</td>
713 <td class=
"cell15"><code>-a, --all
</code></td>
714 <td class=
"cell85">list all interface methods, not only the direct ones
</td>
717 <td class=
"cell15"><code>--(java5|cpp)
</code></td>
718 <td class=
"cell85">select the target language
<br/>
719 --java5 generate output for Java
1.5 or later (is currently the default)
<br/>
720 --cpp generate output for C++
</td>
723 <td class=
"cell15"><code>-sn, --shortnames
</code></td>
724 <td class=
"cell85">using namespace abbreviation 'css:': for '::com::sun::star::', only valid for sub-command 'dump' and target language 'cpp'. It is default for the sub-command 'component'.
</td>
727 <td class=
"cell15"><code>--propertysetmixin
</code></td>
728 <td class=
"cell85">the generated skeleton implements the cppu::PropertySetMixin helper if a referenced new style service specifies an interface which provides attributes (directly or inherited).
</td>
731 <td class=
"cell15"><code>-lh --licenseheader
</code></td>
732 <td class=
"cell85">generates a default LibreOffice MPLv2 license header at the beginning of a component source file. This option is taken into account in 'component' mode only and if -o is unequal 'stdout'.
</td>
735 <td class=
"cell15"><code>-bc
<br/>--backward-compatible
</code></td>
736 <td class=
"cell85">specifies that the generated calc add-in is backward compatible to older office versions and implement the former required add-in interfaces where the implementation is mapped on the new add-in configuration. In this case the config schema needs to be bundled with the extension add-in as well. Default is a minimal add-in component skeleton based on the add-in configuration coming with the office since OO.org
2.0.4.
</td>
739 <td class=
"cell15"><code>-o
<path
></code></td>
740 <td class=
"cell85">path specifies an existing directory where the output files are generated to, only valid for sub-command 'component'. If path=stdout the generated code is generated on standard out instead of a file.
</td>
743 <td class=
"cell15"><code>-l
<file
></code></td>
744 <td class=
"cell85">specifies a binary type library (can be used more than once). The type library is integrated as an additional type provider in the bootstrapped type system.
</td>
747 <td class=
"cell15"><code>-n
<name
></code></td>
748 <td class=
"cell85">specifies an implementation name for the component (used as classname, filename and package|namespace name). In 'dump' mode it is used as classname (e.g.
"MyBase::
", C++ only) to generate method bodies not inline.
</td>
751 <td class=
"cell15"><code>-d
<name
></code></td>
752 <td class=
"cell85">specifies a base classname or a delegator. In 'dump' mode it is used as a delegator to forward methods. It can be used as '
<name
>::' for base forwarding, or '
<name
>-
>|.' for composition. Using
"_
" means that a default bodies with default return values are dumped.
</td>
755 <td class=
"cell15"><code>-t
<name
></code></td>
756 <td class=
"cell85">specifies an UNOIDL type name, e.g. com.sun.star.text.XText (can be used more than once).
</td>
759 <td class=
"cell15"><code>-p
<protocol:cmd(s)
></code></td>
760 <td class=
"cell85">specifies an add-on protocol name and the corresponding command names, where the commands are a ',' separated list of unique commands. This option is only valid for add-ons.
</td>
763 <td class=
"cell15"><code>-V, --version
</code></td>
764 <td class=
"cell85">print version number and exit.
</td>
767 <td class=
"cell15"><code>-h, --help
</code></td>
768 <td class=
"cell85">print this help and exit.
</td>
775 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
778 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
781 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
783 <table class=
"table2">
785 <td colspan=
"2" class=
"head1"><a name=
"regmerge"/>regmerge
</td>
787 <a href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
788 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a>
793 <p>'regmerge' is a small tool to merge different registry files under a
794 specified key into another registry file. If a value already exists in
795 the target file the value is overwritten by the value of the source
797 <p class=
"head2">Usage:
</p>
799 <b><code>regmerge [-v|--verbose]
<mergefile
> <mergeKeyName
> <regfile_1
> ...
<regfile_n
></code></b>
801 <p class=
"head2">Options:
</p>
802 <table class=
"table4">
804 <td class=
"cell15"><code>-v|--verbose
</code></td>
805 <td class=
"cell85">verbose output on stdout.
</td>
808 <td class=
"cell15"><code><mergefile
></code></td>
809 <td class=
"cell85">specifies the merged registry file. If this file
810 doesn't exist, it is created.
</td>
813 <td class=
"cell15"><code><mergeKeyName
></code></td>
814 <td class=
"cell85">specifies the merge key, everything is merged
815 under this key. If this key doesn't exist, it is created.
</td>
818 <td class=
"cell15"><code><regfile_1
> ...
<regfile_n
></code></td>
819 <td class=
"cell85">specifies one or more registry files that are
827 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
830 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
833 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
835 <table class=
"table2">
837 <td colspan=
"2" class=
"head1"><a name=
"regview"/>regview
</td>
839 <a href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
840 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a>
845 <p>'regview' is a tool to show the contents of a registry file. The tool
846 dumps the hierarchical structure and the values of the nodes in a human
847 readable manner to stdout.
</p>
848 <p class=
"head2">Usage:
</p>
850 <b><code>regview
<registryfile
> [
<keyName
>]
</code></b>
852 <p class=
"head2">Options:
</p>
853 <table class=
"table4">
855 <td class=
"cell15"><code>-br
<registryfile
></code></td>
856 <td class=
"cell85">the name of the registry whose contents should
860 <td class=
"cell15"><code><keyName
></code></td>
861 <td class=
"cell85">the name of a registry key. The name must be
862 fully qualified; for example, '/' means the root key and
863 '/UCR/com/sun/star/uno/XInterface' shows the type specification of the
864 XInterface type. If no key is specified, the tool dumps the whole
865 content of the registry file.
</td>
872 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
875 <td colspan=
"3"><img class=
"line" src=
"images/sdk_line-1.gif"/></td>
878 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
880 <table class=
"table2">
882 <td colspan=
"2" class=
"head1"><a name=
"autodoc"/>autodoc
</td>
884 <a href=
"#tools" title=
"link to the tools overview"><img class=
"navigate" src=
"images/nav_up.png"/></a>
885 <a href=
"../index.html" title=
"link to the SDK start page"><img class=
"navigate" src=
"images/nav_home.png"/></a>
890 <p>The legacy 'autodoc' tool was used for creating javadoc-like
891 documentation from C++ and UNO IDL source code in previous versions
893 <p>Because this tool was buggy and unmaintained it has been removed
894 from the SDK. Users are advised to use
895 <a href=
"http://www.stack.nl/~dimitri/doxygen/">Doxygen
</a> instead,
896 which supports UNO IDL since April
2013.
</p>
901 <td class=
"content1"><img class=
"nothing8" src=
"images/nada.gif"/></td>
906 <div id=
"FooterText">
908 Copyright ©
2000,
2015 LibreOffice contributors. All rights reserved.
910 LibreOffice was created by The Document Foundation,
911 based on Apache OpenOffice, which is Copyright
2011,
912 The Apache Software Foundation.
914 The Document Foundation acknowledges all community members, please find more info
<a href=
"https://www.libreoffice.org/about-us/credits/" target=
"_blank">at our website
</a>.
920 <a href=
"http://www.documentfoundation.org/privacy" target=
"_blank">Privacy Policy
</a> |
<a href=
"http://www.documentfoundation.org/imprint" target=
"_blank">Impressum (Legal Info)
</a>
921 | Copyright information: The source code of LibreOffice is licensed under the Mozilla Public License v2.0 (
<a href=
"http://www.libreoffice.org/download/license/" target=
"_blank">MPLv2
</a>).
"LibreOffice" and
"The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our
<a href=
"http://wiki.documentfoundation.org/TradeMark_Policy" target=
"_blank">trademark policy
</a>.