Home
last modified time | relevance | path

Searched refs:xLibContainer (Results 1 – 16 of 16) sorted by relevance

/trunk/main/scripting/source/basprov/
H A Dbasprov.cxx141 …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 Dbaslibnode.cxx52 …const Reference< script::XLibraryContainer >& xLibContainer, const ::rtl::OUString& sLibName, bool… in BasicLibraryNodeImpl()
56 ,m_xLibContainer( xLibContainer ) in BasicLibraryNodeImpl()
H A Dbaslibnode.hxx64 …st ::com::sun::star::uno::Reference< ::com::sun::star::script::XLibraryContainer >& xLibContainer,
/trunk/main/xmlscript/source/xmlflat_imexp/
H A Dxmlbas_export.cxx245 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 Dxmlbas_import.cxx576 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()
/trunk/main/filter/source/msfilter/
H A Dsvxmsbas.cxx121 Reference<XLibraryContainer> xLibContainer = rDocSh.GetDialogContainer(); in ImportForms_Impl() local
122 DBG_ASSERT( xLibContainer.is(), "No BasicContainer!" ); in ImportForms_Impl()
126 if (xLibContainer.is()) in ImportForms_Impl()
128 if( !xLibContainer->hasByName(aLibName)) in ImportForms_Impl()
129 xLibContainer->createLibrary(aLibName); in ImportForms_Impl()
131 Any aLibAny = xLibContainer->getByName( aLibName ); in ImportForms_Impl()
245 DBG_ASSERT( xLibContainer.is(), "No BasicContainer!" ); in ImportCode_Impl()
261 if( xLibContainer.is() && nStreamCount ) in ImportCode_Impl()
263 if( !xLibContainer->hasByName( aLibName ) ) in ImportCode_Impl()
264 xLibContainer->createLibrary( aLibName ); in ImportCode_Impl()
[all …]
/trunk/main/basctl/source/basicide/
H A Dscriptdocument.cxx499 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 Dbastypes.cxx970 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()
/trunk/main/scripting/source/dlgprov/
H A Ddlgprov.cxx375 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 …]
/trunk/main/oox/source/ole/
H A Dvbaproject.cxx228 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()
/trunk/main/sc/source/ui/vba/
H A Dvbaworkbooks.cxx80 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()
/trunk/main/basic/source/basmgr/
H A Dbasmgr.cxx207 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()
/trunk/main/sc/source/ui/docshell/
H A Ddocsh5.cxx952 …un::star::uno::Reference< com::sun::star::script::XLibraryContainer > xLibContainer = GetBasicCont… in MoveTable() local
954 if( xLibContainer.is() ) in MoveTable()
956 … com::sun::star::uno::Any aLibAny = xLibContainer->getByName( aLibName ); in MoveTable()
H A Ddocfunc.cxx2617 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()
/trunk/main/sc/source/core/data/
H A Ddocumen2.cxx1128 … 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()
/trunk/main/basctl/source/inc/
H A Dbastypes.hxx330 …:star::uno::Reference< ::com::sun::star::script::XLibraryContainer >& xLibContainer, const String&…

Completed in 142 milliseconds