/aoo4110/main/scripting/source/basprov/ |
H A D | basprov.cxx | 141 …if ( xLibContainer.is() && xLibContainer->hasByName( rLibName ) && xLibContainer->isLibraryLink( r… in isLibraryShared() 461 Reference< script::XLibraryContainer > xLibContainer; in getChildNodes() local 466 xLibContainer = m_xLibContainerApp; in getChildNodes() 471 xLibContainer = m_xLibContainerDoc; in getChildNodes() 477 if ( pBasicManager && xLibContainer.is() ) in getChildNodes() 491 bool bShared = isLibraryShared( xLibContainer, pLibNames[i] ); in getChildNodes() 520 Reference< script::XLibraryContainer > xLibContainer; in hasChildNodes() local 523 xLibContainer = m_xLibContainerApp; in hasChildNodes() 527 xLibContainer = m_xLibContainerDoc; in hasChildNodes() 529 if ( xLibContainer.is() ) in hasChildNodes() [all …]
|
H A D | baslibnode.cxx | 52 …const Reference< script::XLibraryContainer >& xLibContainer, const ::rtl::OUString& sLibName, bool… in BasicLibraryNodeImpl() 56 ,m_xLibContainer( xLibContainer ) in BasicLibraryNodeImpl()
|
H A D | baslibnode.hxx | 64 …st ::com::sun::star::uno::Reference< ::com::sun::star::script::XLibraryContainer >& xLibContainer,
|
/aoo4110/main/xmlscript/source/xmlflat_imexp/ |
H A D | xmlbas_export.cxx | 245 Reference< script::XLibraryContainer2 > xLibContainer; in filter() local 250 xLibContainer.set( xDocumentScripts->getBasicLibraries().get() ); in filter() 252 if ( !xLibContainer.is() ) in filter() 262 if ( xLibContainer.is() ) in filter() 271 if ( xLibContainer->hasByName( aLibName ) ) in filter() 275 if ( xLibContainer->isLibraryLink( aLibName ) ) in filter() 300 if ( xLibContainer->isLibraryReadOnly( aLibName ) ) in filter() 328 if ( xLibContainer->isLibraryReadOnly( aLibName ) ) in filter() 344 if ( !xLibContainer->isLibraryLoaded( aLibName ) ) in filter() 345 xLibContainer->loadLibrary( aLibName ); in filter() [all …]
|
H A D | xmlbas_import.cxx | 576 Reference< script::XLibraryContainer2 > xLibContainer; in startRootElement() local 581 xLibContainer.set( xDocumentScripts->getBasicLibraries().get() ); in startRootElement() 583 if ( !xLibContainer.is() ) in startRootElement() 588 …pertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BasicLibraries" ) ) ) >>= xLibContainer; in startRootElement() 591 … OSL_ENSURE( xLibContainer.is(), "BasicImport::startRootElement: nowhere to import to!" ); in startRootElement() 593 if ( xLibContainer.is() ) in startRootElement() 595 … xElement.set( new BasicLibrariesElement( rLocalName, xAttributes, 0, this, xLibContainer ) ); in startRootElement()
|
/aoo4110/main/filter/source/msfilter/ |
H A D | svxmsbas.cxx | 122 Reference<XLibraryContainer> xLibContainer = rDocSh.GetDialogContainer(); in ImportForms_Impl() local 123 DBG_ASSERT( xLibContainer.is(), "No BasicContainer!" ); in ImportForms_Impl() 127 if (xLibContainer.is()) in ImportForms_Impl() 129 if( !xLibContainer->hasByName(aLibName)) in ImportForms_Impl() 130 xLibContainer->createLibrary(aLibName); in ImportForms_Impl() 132 Any aLibAny = xLibContainer->getByName( aLibName ); in ImportForms_Impl() 246 DBG_ASSERT( xLibContainer.is(), "No BasicContainer!" ); in ImportCode_Impl() 262 if( xLibContainer.is() && nStreamCount ) in ImportCode_Impl() 264 if( !xLibContainer->hasByName( aLibName ) ) in ImportCode_Impl() 265 xLibContainer->createLibrary( aLibName ); in ImportCode_Impl() [all …]
|
/aoo4110/main/basctl/source/basicide/ |
H A D | scriptdocument.cxx | 499 if ( xLibContainer.is() ) in getLibrary() 507 if ( _bLoadLibrary && !xLibContainer->isLibraryLoaded( _rLibName ) ) in getLibrary() 508 xLibContainer->loadLibrary( _rLibName ); in getLibrary() 529 bHas = xLibContainer.is() && xLibContainer->hasByName( _rLibName ); in hasLibrary() 545 if ( xLibContainer->hasByName( _rLibName ) ) in getOrCreateLibrary() 548 xLibrary.set( xLibContainer->createLibrary( _rLibName ), UNO_QUERY_THROW ); in getOrCreateLibrary() 550 if ( !xLibContainer->isLibraryLoaded( _rLibName ) ) in getOrCreateLibrary() 551 xLibContainer->loadLibrary( _rLibName ); in getOrCreateLibrary() 566 …if ( xLibContainer.is() && xLibContainer->hasByName( _rLibrary ) && !xLibContainer->isLibraryLoade… in loadLibraryIfExists() 567 xLibContainer->loadLibrary( _rLibrary ); in loadLibraryIfExists() [all …]
|
H A D | bastypes.cxx | 970 sal_Bool QueryPassword( const Reference< script::XLibraryContainer >& xLibContainer, const String& … in QueryPassword() argument 996 if ( xLibContainer.is() && xLibContainer->hasByName( aOULibName ) ) in QueryPassword() 998 Reference< script::XLibraryContainerPassword > xPasswd( xLibContainer, UNO_QUERY ); in QueryPassword()
|
/aoo4110/main/scripting/source/dlgprov/ |
H A D | dlgprov.cxx | 375 Reference< XLibraryContainer > xLibContainer; in createDialogModel() local 379 xLibContainer = Reference< XLibraryContainer >( SFX_APP()->GetDialogContainer(), UNO_QUERY ); in createDialogModel() 386 xLibContainer.set( xDocumentScripts->getDialogLibraries(), UNO_QUERY ); in createDialogModel() 387 OSL_ENSURE( xLibContainer.is(), in createDialogModel() 417 xLibContainer.set( xDocumentScripts->getDialogLibraries(), UNO_QUERY ); in createDialogModel() 418 OSL_ENSURE( xLibContainer.is(), in createDialogModel() 425 if ( xLibContainer.is() ) in createDialogModel() 428 if ( !xLibContainer->isLibraryLoaded( sLibName ) ) in createDialogModel() 429 xLibContainer->loadLibrary( sLibName ); in createDialogModel() 432 if ( xLibContainer->hasByName( sLibName ) ) in createDialogModel() [all …]
|
/aoo4110/main/sc/source/ui/vba/ |
H A D | vbaworkbooks.cxx | 80 uno::Reference<script::XLibraryContainer> xLibContainer = pShell->GetBasicContainer(); in setUpDocumentModules() local 81 … uno::Reference<script::vba::XVBACompatibility> xVBACompat( xLibContainer, uno::UNO_QUERY_THROW ); in setUpDocumentModules() 84 if( xLibContainer.is() ) in setUpDocumentModules() 86 if( !xLibContainer->hasByName( aPrjName ) ) in setUpDocumentModules() 87 xLibContainer->createLibrary( aPrjName ); in setUpDocumentModules() 88 uno::Any aLibAny = xLibContainer->getByName( aPrjName ); in setUpDocumentModules()
|
/aoo4110/main/oox/source/ole/ |
H A D | vbaproject.cxx | 228 Reference< XLibraryContainer > xLibContainer( aDocProp.getAnyProperty( nPropId ), UNO_QUERY ); in getLibraryContainer() local 229 return xLibContainer; in getLibraryContainer() 237 … Reference< XLibraryContainer > xLibContainer( getLibraryContainer( nPropId ), UNO_SET_THROW ); in openLibrary() local 238 … if( bCreateMissing && !xLibContainer->hasByName( CREATE_OUSTRING( "Standard" ) /*maPrjName*/ ) ) in openLibrary() 239 xLibContainer->createLibrary( CREATE_OUSTRING( "Standard" ) /*maPrjName*/ ); in openLibrary() 240 …xLibrary.set( xLibContainer->getByName( CREATE_OUSTRING( "Standard" ) /*maPrjName*/ ), UNO_QUERY_T… in openLibrary()
|
/aoo4110/main/basic/source/basmgr/ |
H A D | basmgr.cxx | 207 Reference< XContainer> xLibContainer( xLibNameAccess, UNO_QUERY ); in insertLibraryImpl() local 208 if( xLibContainer.is() ) in insertLibraryImpl() 214 xLibContainer->addContainerListener( xLibraryListener ); in insertLibraryImpl() 818 Reference< XContainer> xLibContainer( xScriptCont, UNO_QUERY ); in SetLibraryContainerInfo() local 819 xLibContainer->addContainerListener( xLibContainerListener ); in SetLibraryContainerInfo() 1600 Reference< XLibraryContainer > xLibContainer = pLibInfo->GetLibraryContainer(); in LoadLib() local 1601 if( xLibContainer.is() ) in LoadLib() 1604 xLibContainer->loadLibrary( aLibName ); in LoadLib() 1605 bDone = xLibContainer->isLibraryLoaded( aLibName );; in LoadLib()
|
/aoo4110/main/sc/source/ui/docshell/ |
H A D | docsh5.cxx | 954 …un::star::uno::Reference< com::sun::star::script::XLibraryContainer > xLibContainer = GetBasicCont… in MoveTable() local 956 if( xLibContainer.is() ) in MoveTable() 958 … com::sun::star::uno::Any aLibAny = xLibContainer->getByName( aLibName ); in MoveTable()
|
H A D | docfunc.cxx | 2617 uno::Reference< script::XLibraryContainer > xLibContainer = rDocSh.GetBasicContainer(); in VBA_InsertModule() local 2618 DBG_ASSERT( xLibContainer.is(), "No BasicContainer!" ); in VBA_InsertModule() 2621 if( xLibContainer.is() ) in VBA_InsertModule() 2626 uno::Any aLibAny = xLibContainer->getByName( aLibName ); in VBA_InsertModule() 2663 uno::Reference< script::XLibraryContainer > xLibContainer = rDocSh.GetBasicContainer(); in VBA_DeleteModule() local 2664 DBG_ASSERT( xLibContainer.is(), "No BasicContainer!" ); in VBA_DeleteModule() 2667 if( xLibContainer.is() ) in VBA_DeleteModule() 2672 uno::Any aLibAny = xLibContainer->getByName( aLibName ); in VBA_DeleteModule()
|
/aoo4110/main/sc/source/core/data/ |
H A D | documen2.cxx | 1128 … uno::Reference< script::XLibraryContainer > xLibContainer = pSrcShell->GetBasicContainer(); in TransferTab() local 1130 if( xLibContainer.is() ) in TransferTab() 1132 uno::Any aLibAny = xLibContainer->getByName( aLibName ); in TransferTab()
|
/aoo4110/main/basctl/source/inc/ |
H A D | bastypes.hxx | 330 …:star::uno::Reference< ::com::sun::star::script::XLibraryContainer >& xLibContainer, const String&…
|