home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 December
/
Chip_2003-12_cd2.bin
/
oo
/
download
/
f_0019
/
sbasic.jar
/
text
/
sbasic
/
common
/
03131700.xml.~1.2.~
< prev
next >
Wrap
Extensible Markup Language
|
2003-01-16
|
2KB
|
28 lines
<?xml version="1.0" encoding="utf-8"?>
<html><head><title>Funkce GetProcessServiceManager [Runtime]</title><meta name="filename" content="text/sbasic/common/03131700"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
p.P1{
}
p.P2{
}
span.T1{
font-weight:bold;}
</style></head><body>
<help:to-be-embedded Eid="getprocessservicemanager" xmlns:help="http://openoffice.org/2000/help">
<p class="Head1"><help:link Id="68577">Funkce GetProcessServiceManager [Runtime]</help:link></p>
<p class="Paragraph">Vrátí službu typu ProcessServiceManager (centrální služba ProcessServiceManager typu Uno).<help:key-word value="ProcessServiceManager" tag="kw68577_1"/></p>
</help:to-be-embedded>
<p class="Paragraph">Funkce se používá v případě, kdy je nutné vytvořit instanci služby pomocí funkce CreateInstanceWithArguments.</p>
<p class="Paragraph"><span class="T1">Syntaxe</span>:</p>
<p class="Paragraph">oServiceManager = GetProcessServiceManager()<help:key-word value="GetProcessServiceManager" tag="kw68577_2" xmlns:help="http://openoffice.org/2000/help"/></p>
<p class="P2">Příklad:</p>
<p class="PropText">oServiceManager = GetProcessServiceManager()</p>
<p class="PropText">oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");</p>
<p class="PropText"/>
<p class="PropText">this is the same as the following statement:</p>
<p class="PropText"/>
<p class="PropText">oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")</p>
</body></html>