/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ |
H A D | FunctionHelper.java | 137 com.sun.star.uno.XComponentContext xCtx ) in impl_createEmptyFrame() argument 145 "com.sun.star.frame.Task", xCtx)); in impl_createEmptyFrame() 154 "com.sun.star.frame.Frame", xCtx)); in impl_createEmptyFrame() 212 "com.sun.star.awt.Toolkit", xCtx)); in impl_createWindow() 344 com.sun.star.uno.XComponentContext xCtx = in createViewFrame() local 348 xFrame = impl_createEmptyFrame(xCtx); in createViewFrame() 369 "com.sun.star.frame.Desktop", xCtx)); in createViewFrame() 553 com.sun.star.uno.XComponentContext xCtx = in loadDocument() local 570 "com.sun.star.frame.Desktop", xCtx)); in loadDocument() 719 com.sun.star.uno.XComponentContext xCtx = in saveAsHTML() local [all …]
|
/trunk/main/odk/examples/DevelopersGuide/Forms/ |
H A D | DocumentHelper.java | 75 …protected static XComponent implCreateBlankDocument( XComponentContext xCtx, String factoryURL ) t… in implCreateBlankDocument() argument 79 xCtx.getServiceManager().createInstanceWithContext( in implCreateBlankDocument() 80 "com.sun.star.frame.Desktop", xCtx )); in implCreateBlankDocument() 88 …public static DocumentHelper blankTextDocument( XComponentContext xCtx ) throws com.sun.star.uno.E… in blankTextDocument() argument 90 return blankDocument( xCtx, DocumentType.WRITER ); in blankTextDocument() 94 …public static DocumentHelper blankDocument( XComponentContext xCtx, DocumentType eType ) throws co… in blankDocument() argument 96 XComponent document = implCreateBlankDocument( xCtx, getDocumentFactoryURL( eType ) ); in blankDocument() 98 return new SpreadsheetDocument( xCtx, document ); in blankDocument() 100 return new DocumentHelper( xCtx, document ); in blankDocument() 190 …atic public DocumentHelper getDocumentForComponent( Object aFormComponent, XComponentContext xCtx ) in getDocumentForComponent() argument [all …]
|
H A D | SpreadsheetDocument.java | 41 public SpreadsheetDocument( XComponentContext xCtx ) throws com.sun.star.uno.Exception in SpreadsheetDocument() argument 43 super( xCtx, implCreateBlankDocument( xCtx, "private:factory/scalc" ) ); in SpreadsheetDocument() 46 …public SpreadsheetDocument( XComponentContext xCtx, XComponent document ) throws com.sun.star.uno.… in SpreadsheetDocument() argument 48 super( xCtx, document ); in SpreadsheetDocument()
|
H A D | GridFieldValidator.java | 51 public GridFieldValidator( XComponentContext xCtx, XPropertySet xWatchedGridColumn ) in GridFieldValidator() argument 54 m_xCtx = xCtx; in GridFieldValidator() 57 xCtx); in GridFieldValidator()
|
/trunk/main/sc/source/ui/miscdlgs/ |
H A D | solverutil.cxx | 49 … const uno::Reference<uno::XComponentContext>& xCtx ) in lcl_CreateSolver() argument 59 uno::Reference<uno::XInterface> xInterface = xCFac->createInstanceWithContext(xCtx); in lcl_CreateSolver() 89 uno::Reference<uno::XComponentContext> xCtx; in GetImplementations() local 94 xPropset->getPropertyValue(rtl::OUString::createFromAscii("DefaultContext")) >>= xCtx; in GetImplementations() 101 if ( xCtx.is() && xEnAc.is() ) in GetImplementations() 120 uno::Reference<sheet::XSolver> xSolver = lcl_CreateSolver( xIntFac, xCtx ); in GetImplementations() 145 uno::Reference<uno::XComponentContext> xCtx; in GetSolver() local 150 xPropset->getPropertyValue(rtl::OUString::createFromAscii("DefaultContext")) >>= xCtx; in GetSolver() 157 if ( xCtx.is() && xEnAc.is() ) in GetSolver() 175 xSolver = lcl_CreateSolver( xIntFac, xCtx ); in GetSolver()
|
/trunk/main/desktop/source/deployment/gui/ |
H A D | dp_gui_updateinstalldialog.cxx | 148 UpdateCommandEnv( cssu::Reference< cssu::XComponentContext > const & xCtx, 173 cssu::Reference< cssu::XComponentContext> xCtx, in Thread() 177 m_xComponentContext(xCtx), in Thread() 179 m_updateCmdEnv(new UpdateCommandEnv(xCtx, m_dialog, this)), in Thread() 227 cssu::Reference< cssu::XComponentContext > const & xCtx): in UpdateInstallDialog() 232 m_thread(new Thread(xCtx, *this, aVecUpdateData)), in UpdateInstallDialog() 233 m_xComponentContext(xCtx), in UpdateInstallDialog() 257 m_xExtensionManager = css::deployment::ExtensionManager::get( xCtx ); in UpdateInstallDialog() 646 UpdateCommandEnv::UpdateCommandEnv( cssu::Reference< cssu::XComponentContext > const & xCtx, in UpdateCommandEnv() argument 651 m_xContext(xCtx) in UpdateCommandEnv()
|
/trunk/main/cppuhelper/test/testcmp/ |
H A D | TestComponent.cxx | 69 uno::Reference<uno::XComponentContext> const & xCtx 76 explicit TestComponent(uno::Reference<uno::XComponentContext> const & xCtx); 96 uno::Reference<uno::XComponentContext> const & xCtx in create() argument 102 return static_cast<cppu::OWeakObject *>(new TestComponent(xCtx)); in create() 120 TestComponent::TestComponent(uno::Reference<uno::XComponentContext> const & xCtx) in TestComponent() argument 121 : m_xComponentContext(xCtx) in TestComponent()
|
/trunk/main/scripting/source/provider/ |
H A D | BrowseNodeFactoryImpl.cxx | 304 … Reference< browse::XBrowseNode > > getAllBrowseNodes( const Reference< XComponentContext >& xCtx ) in getAllBrowseNodes() argument 307 xCtx->getServiceManager(); in getAllBrowseNodes() 310 MiscUtils::allOpenTDocUrls( xCtx ); in getAllBrowseNodes() 320 xCtx->getValueByName( in getAllBrowseNodes() 398 …ext >& xCtx, const Reference< browse::XBrowseNode>& xNode ) : m_xWrappedBrowseNode( xNode ), m_xWr… in DefaultBrowseNode() argument 559 DefaultRootBrowseNode( const Reference< XComponentContext >& xCtx ) in DefaultRootBrowseNode() argument 562 getAllBrowseNodes( xCtx ); in DefaultRootBrowseNode() 566 m_vNodes.push_back( new DefaultBrowseNode( xCtx, nodes[ i ] ) ); in DefaultRootBrowseNode()
|
/trunk/main/io/source/acceptor/ |
H A D | acceptor.cxx | 59 OAcceptor(const Reference< XComponentContext > & xCtx); 88 OAcceptor::OAcceptor( const Reference< XComponentContext > & xCtx ) in OAcceptor() argument 92 , _xSMgr( xCtx->getServiceManager() ) in OAcceptor() 93 , _xCtx( xCtx ) in OAcceptor() 292 …erence< XInterface > SAL_CALL acceptor_CreateInstance( const Reference< XComponentContext > & xCtx) in acceptor_CreateInstance() argument 294 return Reference < XInterface >( ( OWeakObject * ) new OAcceptor(xCtx) ); in acceptor_CreateInstance()
|
/trunk/main/io/source/connector/ |
H A D | connector.cxx | 63 OConnector(const Reference< XComponentContext > &xCtx); 76 OConnector::OConnector(const Reference< XComponentContext > &xCtx) in OConnector() argument 77 : _xSMgr( xCtx->getServiceManager() ) in OConnector() 78 , _xCtx( xCtx ) in OConnector() 243 …rence< XInterface > SAL_CALL connector_CreateInstance( const Reference< XComponentContext > & xCtx) in connector_CreateInstance() argument 245 return Reference < XInterface >( ( OWeakObject * ) new OConnector(xCtx) ); in connector_CreateInstance()
|
/trunk/main/cui/source/customize/ |
H A D | selector.cxx | 550 Reference< XComponentContext> xCtx; in Init() local 556 …xCtx.set( _xProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DefaultContext" … in Init() 557 Reference< browse::XBrowseNodeFactory > xFac( xCtx->getValueByName( in Init() 591 …ge( Reference< browse::XBrowseNode > node, Reference< XComponentContext > xCtx, bool bIsRootNode, … in GetImage() argument 607 Reference<XInterface> xDocumentModel = getDocumentModel(xCtx, nodeName ); in GetImage() 612 xCtx->getServiceManager() in GetImage() 615 xCtx ), in GetImage() 683 Reference< XComponentContext >& xCtx, OUString& docName ) in getDocumentModel() 687 xCtx->getServiceManager(); in getDocumentModel() 690 OUString::createFromAscii("com.sun.star.frame.Desktop"), xCtx ), in getDocumentModel()
|
H A D | cfgutil.cxx | 659 Reference< XComponentContext > xCtx; in Init() local 664 …xCtx.set( xProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DefaultContext" )… in Init() 665 Reference< browse::XBrowseNodeFactory > xFac( xCtx->getValueByName( in Init() 762 Image aImage = GetImage( theChild, xCtx, bIsRootNode,BMP_COLOR_NORMAL ); in Init() 767 aImage = GetImage( theChild, xCtx, bIsRootNode,BMP_COLOR_HIGHCONTRAST ); in Init() 830 Reference<XInterface> xDocumentModel = getDocumentModel(xCtx, nodeName ); in GetImage() 835 xCtx->getServiceManager() in GetImage() 839 xCtx ), in GetImage() 908 SfxConfigGroupListBox_Impl::getDocumentModel( Reference< XComponentContext >& xCtx, ::rtl::OUString… in getDocumentModel() argument 912 xCtx->getServiceManager(); in getDocumentModel() [all …]
|
/trunk/main/remotebridges/source/unourl_resolver/ |
H A D | unourl_resolver.cxx | 113 ResolverImpl::ResolverImpl( const Reference< XComponentContext > & xCtx ) in ResolverImpl() argument 114 : _xSMgr( xCtx->getServiceManager() ) in ResolverImpl() 115 , _xCtx( xCtx ) in ResolverImpl() 204 …Reference< XInterface > SAL_CALL ResolverImpl_create( const Reference< XComponentContext > & xCtx ) in ResolverImpl_create() argument 206 return Reference< XInterface >( *new ResolverImpl( xCtx ) ); in ResolverImpl_create()
|
/trunk/main/ucb/source/ucp/hierarchy/ |
H A D | hierarchyprovider.cxx | 303 uno::Reference< uno::XComponentContext > xCtx; in getOfficeInstallationDirectories() local 311 >>= xCtx; in getOfficeInstallationDirectories() 314 OSL_ENSURE( xCtx.is(), in getOfficeInstallationDirectories() 318 if ( xCtx.is() ) in getOfficeInstallationDirectories() 320 xCtx->getValueByName( in getOfficeInstallationDirectories()
|
/trunk/main/stoc/source/loader/ |
H A D | dllcomponentloader.cxx | 115 DllComponentLoader( const Reference<XComponentContext> & xCtx ); 138 DllComponentLoader::DllComponentLoader( const Reference<XComponentContext> & xCtx ) in DllComponentLoader() argument 141 m_xSMgr.set( xCtx->getServiceManager(), UNO_QUERY ); in DllComponentLoader() 242 …ALL DllComponentLoader_CreateInstance( const Reference<XComponentContext> & xCtx ) throw(Exception) in DllComponentLoader_CreateInstance() argument 246 …mplementationLoader *pXLoader = (XImplementationLoader *)new stoc_loader::DllComponentLoader(xCtx); in DllComponentLoader_CreateInstance()
|
/trunk/main/sdext/source/pdfimport/test/ |
H A D | pdf2xml.cxx | 77 uno::Reference< uno::XComponentContext > xCtx; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 80 xCtx = ::cppu::defaultBootstrap_InitialComponentContext(aIniUrl); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 81 xFactory = uno::Reference< lang::XMultiServiceFactory >( xCtx->getServiceManager(), in SAL_IMPLEMENT_MAIN_WITH_ARGS() 96 pdfi::PDFIRawAdaptor aAdaptor( xCtx ); in SAL_IMPLEMENT_MAIN_WITH_ARGS()
|
/trunk/main/scripting/source/inc/util/ |
H A D | MiscUtils.hxx | 54 …::rtl::OUString > allOpenTDocUrls( const css::uno::Reference< css::uno::XComponentContext >& xCtx) in allOpenTDocUrls() argument 59 if ( !xCtx.is() ) in allOpenTDocUrls() 63 …css::uno::Reference < css::lang::XMultiComponentFactory > xFac( xCtx->getServiceManager(), css::un… in allOpenTDocUrls() 66 …c->createInstanceWithContext( OUSTR("com.sun.star.ucb.SimpleFileAccess"), xCtx ), css::uno::UNO_QU… in allOpenTDocUrls()
|
/trunk/main/stoc/source/javaloader/ |
H A D | javaloader.cxx | 134 JavaComponentLoader(const css::uno::Reference<XComponentContext> & xCtx) 335 JavaComponentLoader::JavaComponentLoader(const css::uno::Reference<XComponentContext> & xCtx) throw… in JavaComponentLoader() argument 336 m_xComponentContext(xCtx) in JavaComponentLoader() 417 …omponentLoader_CreateInstance(const css::uno::Reference<XComponentContext> & xCtx) throw(Exception) in JavaComponentLoader_CreateInstance() argument 432 xRet = *new JavaComponentLoader(xCtx); in JavaComponentLoader_CreateInstance()
|
/trunk/main/scripting/java/com/sun/star/script/framework/container/ |
H A D | ParcelContainer.java | 230 …public ParcelContainer( XComponentContext xCtx, String containerUrl, String language ) throws com.… in ParcelContainer() argument 233 this( null, xCtx, containerUrl, language, true ); in ParcelContainer() 246 …public ParcelContainer( XComponentContext xCtx, String containerUrl, String language, boolean load… in ParcelContainer() argument 248 this( null, xCtx, containerUrl, language, loadParcels ); in ParcelContainer() 263 …public ParcelContainer( ParcelContainer parent, XComponentContext xCtx, String containerUrl, Strin… in ParcelContainer() argument 267 this.m_xCtx = xCtx; in ParcelContainer()
|
/trunk/main/stoc/source/implementationregistration/ |
H A D | implreg.cxx | 1337 const Reference < XComponentContext > &xCtx, 1364 …lementationRegistration::ImplementationRegistration( const Reference < XComponentContext > & xCtx ) in ImplementationRegistration() argument 1365 : m_xSMgr( xCtx->getServiceManager() ) in ImplementationRegistration() 1366 , m_xCtx( xCtx ) in ImplementationRegistration() 1836 const Reference< XComponentContext > &xCtx, in doRegister() 1847 createTemporarySimpleRegistry( xSMgr, xCtx ); in doRegister() 1864 … prepareRegistry(xDest, xSourceKey, implementationLoaderUrl, registeredLocationUrl, xCtx); in doRegister() 1899 const Reference < XComponentContext > & xCtx) in createTemporarySimpleRegistry() 1904 spool().com_sun_star_registry_SimpleRegistry, xCtx ), in createTemporarySimpleRegistry() 1915 const Reference<XComponentContext> & xCtx ) // throw(Exception) in ImplementationRegistration_CreateInstance() argument [all …]
|
/trunk/main/stoc/source/invocation/ |
H A D | invocation.cxx | 1109 InvocationService( const Reference<XComponentContext> & xCtx ); 1129 InvocationService::InvocationService( const Reference<XComponentContext> & xCtx ) in InvocationService() argument 1130 : mxCtx( xCtx ) in InvocationService() 1131 , mxSMgr( xCtx->getServiceManager() ) in InvocationService() 1137 xCtx ), in InvocationService() 1142 xCtx), in InvocationService() 1216 …XInterface> SAL_CALL InvocationService_CreateInstance( const Reference<XComponentContext> & xCtx ) in InvocationService_CreateInstance() argument 1219 Reference<XInterface> xService = Reference< XInterface > ( *new InvocationService( xCtx ) ); in InvocationService_CreateInstance()
|
/trunk/main/cui/source/dialogs/ |
H A D | scriptdlg.cxx | 170 Reference< XComponentContext > xCtx; in Init() local 185 xCtx.set( xProps->getPropertyValue( rtl::OUString( in Init() 189 xCtx->getValueByName( singleton ), UNO_QUERY_THROW ); in Init() 227 xDocumentModel.set(getDocumentModel(xCtx, uiName ), UNO_QUERY); in Init() 232 xModuleManager( xCtx->getServiceManager()->createInstanceWithContext( in Init() 233 … ::rtl::OUString::createFromAscii("com.sun.star.frame.ModuleManager"), xCtx ), in Init() 274 SFTreeListBox::getDocumentModel( Reference< XComponentContext >& xCtx, ::rtl::OUString& docName ) in getDocumentModel() argument 278 xCtx->getServiceManager(); in getDocumentModel() 281 ::rtl::OUString::createFromAscii("com.sun.star.frame.Desktop"), xCtx ), in getDocumentModel()
|
/trunk/main/stoc/source/javavm/ |
H A D | javavm.cxx | 297 … const css::uno::Reference<css::uno::XComponentContext> &xCtx ) throw (css::uno::Exception) in getINetPropsFromConfig() argument 301 xCtx ); in getINetPropsFromConfig() 404 const css::uno::Reference<css::uno::XComponentContext> &xCtx ) throw(css::uno::Exception) in getDefaultLocaleFromConfig() argument 409 "com.sun.star.configuration.ConfigurationRegistry")), xCtx ); in getDefaultLocaleFromConfig() 460 const css::uno::Reference<css::uno::XComponentContext> &xCtx) throw(css::uno::Exception) in getJavaPropsFromSafetySettings() argument 466 xCtx); in getJavaPropsFromSafetySettings() 543 const css::uno::Reference<css::uno::XComponentContext > &xCtx) throw(css::uno::Exception) in initVMConfiguration() 547 getINetPropsFromConfig(&jvm, xSMgr, xCtx); in initVMConfiguration() 559 getDefaultLocaleFromConfig(&jvm, xSMgr,xCtx); in initVMConfiguration() 572 getJavaPropsFromSafetySettings(&jvm, xSMgr, xCtx); in initVMConfiguration()
|
/trunk/main/svtools/source/misc/ |
H A D | templatefoldercache.cxx | 862 uno::Reference< uno::XComponentContext > xCtx; in getOfficeInstDirs() local 866 >>= xCtx; in getOfficeInstDirs() 868 OSL_ENSURE( xCtx.is(), in getOfficeInstDirs() 871 if ( xCtx.is() ) in getOfficeInstDirs() 873 xCtx->getValueByName( in getOfficeInstDirs()
|
/trunk/main/scripting/source/protocolhandler/ |
H A D | scripthandler.cxx | 462 Reference< css::uno::XComponentContext > const& xCtx ) : in ScriptProtocolHandler() 463 m_bInitialised( false ), m_xCtx( xCtx ) in ScriptProtocolHandler() 521 const Reference< css::uno::XComponentContext > & xCtx) in impl_createInstance() 524 return Reference < XInterface >( *new ScriptProtocolHandler( xCtx ) ); in impl_createInstance()
|