Lines Matching refs:_rLibName
264 … bool isLibraryShared( const ::rtl::OUString& _rLibName, LibraryContainerType _eType );
293 …getLibrary( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, bool _bLoadLibrary ) co…
295 … bool hasLibrary( LibraryContainerType _eType, const ::rtl::OUString& _rLibName ) const;
297 … getOrCreateLibrary( LibraryContainerType _eType, const ::rtl::OUString& _rLibName ) const;
301 …moveModuleOrDialog( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, const ::rtl::OU…
302 … hasModuleOrDialog( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, const ::rtl::OU…
303 … getModuleOrDialog( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, const ::rtl::OU…
304 …nameModuleOrDialog( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, const ::rtl::OU…
305 …bool createModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rModName, bool…
307 …bool updateModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rModName, cons…
308 …bool createDialog( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rDialogName, R…
488 …t_Impl::getLibrary( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, bool _bLoadLibr… in getLibrary() argument
500 xContainer.set( xLibContainer->getByName( _rLibName ), UNO_QUERY_THROW ); in getLibrary()
507 if ( _bLoadLibrary && !xLibContainer->isLibraryLoaded( _rLibName ) ) in getLibrary()
508 xLibContainer->loadLibrary( _rLibName ); in getLibrary()
523 …iptDocument_Impl::hasLibrary( LibraryContainerType _eType, const ::rtl::OUString& _rLibName ) const in hasLibrary()
529 bHas = xLibContainer.is() && xLibContainer->hasByName( _rLibName ); in hasLibrary()
539 …ent_Impl::getOrCreateLibrary( LibraryContainerType _eType, const ::rtl::OUString& _rLibName ) const in getOrCreateLibrary()
545 if ( xLibContainer->hasByName( _rLibName ) ) in getOrCreateLibrary()
546 xLibrary.set( xLibContainer->getByName( _rLibName ), UNO_QUERY_THROW ); 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()
576 …moveModuleOrDialog( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, const ::rtl::OU… in removeModuleOrDialog() argument
583 Reference< XNameContainer > xLib( getLibrary( _eType, _rLibName, sal_True ) ); in removeModuleOrDialog()
599 …:hasModuleOrDialog( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, const ::rtl::OU… in hasModuleOrDialog() argument
607 Reference< XNameContainer > xLib( getLibrary( _eType, _rLibName, sal_True ) ); in hasModuleOrDialog()
619 …:getModuleOrDialog( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, const ::rtl::OU… in getModuleOrDialog() argument
628 … Reference< XNameContainer > xLib( getLibrary( _eType, _rLibName, sal_True ), UNO_QUERY_THROW ); in getModuleOrDialog()
643 …Document_Impl::renameModuleOrDialog( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, in renameModuleOrDialog() argument
652 … Reference< XNameContainer > xLib( getLibrary( _eType, _rLibName, sal_True ), UNO_QUERY_THROW ); in renameModuleOrDialog()
711 …bool ScriptDocument_Impl::createModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _… in createModule() argument
716 Reference< XNameContainer > xLib( getLibrary( E_SCRIPTS, _rLibName, sal_True ) ); in createModule()
738 …sertModuleOrDialog( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, const ::rtl::OU… in insertModuleOrDialog() argument
742 … Reference< XNameContainer > xLib( getOrCreateLibrary( _eType, _rLibName ), UNO_QUERY_THROW ); in insertModuleOrDialog()
757 …bool ScriptDocument_Impl::updateModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _… in updateModule() argument
761 … Reference< XNameContainer > xLib( getOrCreateLibrary( E_SCRIPTS, _rLibName ), UNO_QUERY_THROW ); in updateModule()
775 …bool ScriptDocument_Impl::createDialog( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _… in createDialog() argument
779 … Reference< XNameContainer > xLib( getLibrary( E_DIALOGS, _rLibName, sal_True ), UNO_QUERY_THROW ); in createDialog()
960 …bool ScriptDocument_Impl::isLibraryShared( const ::rtl::OUString& _rLibName, LibraryContainerType … in isLibraryShared() argument
967 … if ( !xLibContainer->hasByName( _rLibName ) || !xLibContainer->isLibraryLink( _rLibName ) ) in isLibraryShared()
979 ::rtl::OUString aLinkURL( xLibContainer->getLibraryLinkURL( _rLibName ) ); in isLibraryShared()
1285 …cument::getLibrary( LibraryContainerType _eType, const ::rtl::OUString& _rLibName, bool _bLoadLibr… in getLibrary() argument
1288 return m_pImpl->getLibrary( _eType, _rLibName, _bLoadLibrary ); in getLibrary()
1292 …bool ScriptDocument::hasLibrary( LibraryContainerType _eType, const ::rtl::OUString& _rLibName ) c… in hasLibrary()
1294 return m_pImpl->hasLibrary( _eType, _rLibName ); in hasLibrary()
1298 …Document::getOrCreateLibrary( LibraryContainerType _eType, const ::rtl::OUString& _rLibName ) const in getOrCreateLibrary()
1300 return m_pImpl->getOrCreateLibrary( _eType, _rLibName ); in getOrCreateLibrary()
1310 …riptDocument::getObjectNames( LibraryContainerType _eType, const ::rtl::OUString& _rLibName ) const in getObjectNames()
1316 if ( hasLibrary( _eType, _rLibName ) ) in getObjectNames()
1318 Reference< XNameContainer > xLib( getLibrary( _eType, _rLibName, false ) ); in getObjectNames()
1335 …ptDocument::createObjectName( LibraryContainerType _eType, const ::rtl::OUString& _rLibName ) const in createObjectName()
1343 Sequence< ::rtl::OUString > aUsedNames( getObjectNames( _eType, _rLibName ) ); in createObjectName()
1408 …bool ScriptDocument::removeModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rModu… in removeModule() argument
1410 return m_pImpl->removeModuleOrDialog( E_SCRIPTS, _rLibName, _rModuleName ); in removeModule()
1414 …bool ScriptDocument::hasModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rModuleN… in hasModule() argument
1416 return m_pImpl->hasModuleOrDialog( E_SCRIPTS, _rLibName, _rModuleName ); in hasModule()
1420 …bool ScriptDocument::getModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rModName… in getModule() argument
1423 if ( !m_pImpl->getModuleOrDialog( E_SCRIPTS, _rLibName, _rModName, aCode ) ) in getModule()
1430 …bool ScriptDocument::renameModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rOldN… in renameModule() argument
1432 return m_pImpl->renameModuleOrDialog( E_SCRIPTS, _rLibName, _rOldName, _rNewName, NULL ); in renameModule()
1436 …bool ScriptDocument::createModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rModN… in createModule() argument
1438 if ( !m_pImpl->createModule( _rLibName, _rModName, _bCreateMain, _out_rNewModuleCode ) ) in createModule()
1447 …bool ScriptDocument::insertModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rModN… in insertModule() argument
1449 … return m_pImpl->insertModuleOrDialog( E_SCRIPTS, _rLibName, _rModName, makeAny( _rModuleCode ) ); in insertModule()
1453 …bool ScriptDocument::updateModule( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rModN… in updateModule() argument
1455 return m_pImpl->updateModule( _rLibName, _rModName, _rModuleCode ); in updateModule()
1459 …bool ScriptDocument::removeDialog( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rDial… in removeDialog() argument
1461 return m_pImpl->removeModuleOrDialog( E_DIALOGS, _rLibName, _rDialogName ); in removeDialog()
1465 …bool ScriptDocument::hasDialog( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rDialogN… in hasDialog() argument
1467 return m_pImpl->hasModuleOrDialog( E_DIALOGS, _rLibName, _rDialogName ); in hasDialog()
1471 …bool ScriptDocument::getDialog( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rDialogN… in getDialog() argument
1474 if ( !m_pImpl->getModuleOrDialog( E_DIALOGS, _rLibName, _rDialogName, aCode ) ) in getDialog()
1481 …bool ScriptDocument::renameDialog( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rOldN… in renameDialog() argument
1483 …return m_pImpl->renameModuleOrDialog( E_DIALOGS, _rLibName, _rOldName, _rNewName, _rxExistingDialo… in renameDialog()
1487 …bool ScriptDocument::createDialog( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rDial… in createDialog() argument
1489 if ( !m_pImpl->createDialog( _rLibName, _rDialogName, _out_rDialogProvider ) ) in createDialog()
1497 …bool ScriptDocument::insertDialog( const ::rtl::OUString& _rLibName, const ::rtl::OUString& _rDial… in insertDialog() argument
1499 …return m_pImpl->insertModuleOrDialog( E_DIALOGS, _rLibName, _rDialogName, makeAny( _rxDialogProvid… in insertDialog()
1521 LibraryLocation ScriptDocument::getLibraryLocation( const ::rtl::OUString& _rLibName ) const in getLibraryLocation()
1524 if ( !_rLibName.isEmpty() ) in getLibraryLocation()
1532 … if ( ( hasLibrary( E_SCRIPTS, _rLibName ) && !m_pImpl->isLibraryShared( _rLibName, E_SCRIPTS ) ) in getLibraryLocation()
1533 … || ( hasLibrary( E_DIALOGS, _rLibName ) && !m_pImpl->isLibraryShared( _rLibName, E_DIALOGS ) ) in getLibraryLocation()