1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 3cdf0e10cSrcweir 4d33d0967SAndrew Rist<!--*********************************************************** 5cdf0e10cSrcweir * 6d33d0967SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 7d33d0967SAndrew Rist * or more contributor license agreements. See the NOTICE file 8d33d0967SAndrew Rist * distributed with this work for additional information 9d33d0967SAndrew Rist * regarding copyright ownership. The ASF licenses this file 10d33d0967SAndrew Rist * to you under the Apache License, Version 2.0 (the 11d33d0967SAndrew Rist * "License"); you may not use this file except in compliance 12d33d0967SAndrew Rist * with the License. You may obtain a copy of the License at 13d33d0967SAndrew Rist * 14d33d0967SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 15d33d0967SAndrew Rist * 16d33d0967SAndrew Rist * Unless required by applicable law or agreed to in writing, 17d33d0967SAndrew Rist * software distributed under the License is distributed on an 18d33d0967SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19d33d0967SAndrew Rist * KIND, either express or implied. See the License for the 20d33d0967SAndrew Rist * specific language governing permissions and limitations 21d33d0967SAndrew Rist * under the License. 22d33d0967SAndrew Rist * 23d33d0967SAndrew Rist ***********************************************************--> 24d33d0967SAndrew Rist 25d33d0967SAndrew Rist 26cdf0e10cSrcweir 27cdf0e10cSrcweir<helpdocument version="1.0"> 28cdf0e10cSrcweir<meta> 29cdf0e10cSrcweir<topic id="textsbasicshared03132500xhp" indexer="include" status="PUBLISH"> 30cdf0e10cSrcweir<title id="tit" xml-lang="en-US">GetDefaultContext Function [Runtime]</title> 31cdf0e10cSrcweir<filename>/text/sbasic/shared/03132500.xhp</filename> 32cdf0e10cSrcweir</topic> 33cdf0e10cSrcweir<history> 34cdf0e10cSrcweir<created date="2005-02-11T11:16:25">GetDefaultContext function</created> 35cdf0e10cSrcweir<lastedited date="2007-03-20T10:36:14"/> 36cdf0e10cSrcweir</history> 37cdf0e10cSrcweir</meta> 38cdf0e10cSrcweir<body> 39cdf0e10cSrcweir<section id="getdefaultcontext"> 40cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id4761192"><bookmark_value>GetDefaultContext function</bookmark_value> 41cdf0e10cSrcweir</bookmark><comment>mw changed index entry</comment> 42cdf0e10cSrcweir<paragraph role="heading" id="par_idN10580" xml-lang="en-US" level="1" l10n="NEW"><link href="text/sbasic/shared/03132500.xhp">GetDefaultContext Function [Runtime]</link></paragraph> 43cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10590" xml-lang="en-US" l10n="NEW">Returns the default context of the process service factory, if existent, else returns a null reference. </paragraph> 44cdf0e10cSrcweir</section> 45*6f9008d8SAriel Constenla-Haile<paragraph role="paragraph" id="par_idN10593" xml-lang="en-US" l10n="NEW">This runtime function returns the default component context to be used, if instantiating services via XmultiServiceFactory. See the <item type="literal">Professional UNO</item> chapter in the <item type="literal">Developer's Guide</item> on <link href="https://api.openoffice.org">api.openoffice.org</link> for more information.</paragraph> 46cdf0e10cSrcweir</body> 47cdf0e10cSrcweir</helpdocument> 48