Lines Matching refs:pImplLib

480         SfxLibrary* pImplLib = getImplLib( aName );  in isModified()  local
481 if( pImplLib->isModified() ) in isModified()
488 if ( pImplLib->hasElements() ) in isModified()
881 SfxLibrary* pImplLib; in init_Impl() local
886 pImplLib = static_cast< SfxLibrary* >( xLib.get() ); in init_Impl()
891 pImplLib = static_cast< SfxLibrary* >( xLib.get() ); in init_Impl()
892 pImplLib->mbLoaded = sal_False; in init_Impl()
893 pImplLib->mbReadOnly = rLib.bReadOnly; in init_Impl()
895 checkStorageURL( rLib.aStorageURL, pImplLib->maLibInfoFileURL, in init_Impl()
896 pImplLib->maStorageURL, pImplLib->maUnexpandedStorageURL ); in init_Impl()
904 if( !pImplLib->mbInitialised && bStorage ) in init_Impl()
925 if( !pImplLib->mbInitialised && (!bStorage || xLibraryStor.is()) ) in init_Impl()
928 … sal_Bool bLoaded = implLoadLibraryIndexFile( pImplLib, rLib, xLibraryStor, aIndexFileName ); in init_Impl()
944 implStoreLibraryIndexFile( pImplLib, rLib, xTmpStorage ); in init_Impl()
947 implImportLibDescriptor( pImplLib, rLib ); in init_Impl()
951 pImplLib->mbSharedIndexFile = sal_True; in init_Impl()
952 pImplLib->mbReadOnly = sal_True; in init_Impl()
994 SfxLibrary* pImplLib = getImplLib( aName ); in init_Impl() local
995 if( pImplLib->mbPreload ) in init_Impl()
1131 SfxLibrary* pImplLib = getImplLib( aStandardStr ); in init_Impl() local
1132 INetURLObject aStandardFolderInetObj( pImplLib->maStorageURL ); in init_Impl()
1133 String aStandardFolder = pImplLib->maStorageURL; in init_Impl()
1142 SfxLibrary* pImplLib = pPrevCont->getImplLib( aLibName ); in init_Impl() local
1143 if( pImplLib->mbLink ) in init_Impl()
1145 OUString aStorageURL = pImplLib->maUnexpandedStorageURL; in init_Impl()
1155 createLibraryLink( aLibName, pImplLib->maStorageURL, pImplLib->mbReadOnly ); in init_Impl()
1309 SfxLibrary* pImplLib = static_cast< SfxLibrary* >( xNameAccess.get() ); in getImplLib() local
1310 return pImplLib; in getImplLib()
1796 SfxLibrary* pImplLib = getImplLib( *pName ); in storeLibraries_Impl() local
1797 if( pImplLib->mbSharedIndexFile || pImplLib->mbExtension ) in storeLibraries_Impl()
1881 SfxLibrary* pImplLib = getImplLib( *pName ); in storeLibraries_Impl() local
1882 if( pImplLib->mbSharedIndexFile ) in storeLibraries_Impl()
1884 const bool bExtensionLib = pImplLib->mbExtension; in storeLibraries_Impl()
1891 rLib.bLink = pImplLib->mbLink; in storeLibraries_Impl()
1892 if( !bStorage || pImplLib->mbLink ) in storeLibraries_Impl()
1894 rLib.aStorageURL = ( pImplLib->maUnexpandedStorageURL.getLength() ) ? in storeLibraries_Impl()
1895 pImplLib->maUnexpandedStorageURL : pImplLib->maLibInfoFileURL; in storeLibraries_Impl()
1897 rLib.bReadOnly = pImplLib->mbReadOnly; in storeLibraries_Impl()
1898 rLib.bPreload = pImplLib->mbPreload; in storeLibraries_Impl()
1899 rLib.bPasswordProtected = pImplLib->mbPasswordProtected; in storeLibraries_Impl()
1900 rLib.aElementNames = pImplLib->getElementNames(); in storeLibraries_Impl()
1902 if( pImplLib->implIsModified() || bComplete ) in storeLibraries_Impl()
1905 …if( !mbOldInfoFormat && !pImplLib->implIsModified() && !mbOasis2OOoFormat && xSourceLibrariesStor.… in storeLibraries_Impl()
1947 if( pImplLib->mbPasswordProtected ) in storeLibraries_Impl()
1948 …implStorePasswordLibrary( pImplLib, rLib.aName, xLibraryStor, uno::Reference< task::XInteractionHa… in storeLibraries_Impl()
1951 implStoreLibrary( pImplLib, rLib.aName, xLibraryStor ); in storeLibraries_Impl()
1953 implStoreLibraryIndexFile( pImplLib, rLib, xLibraryStor ); in storeLibraries_Impl()
1970 pImplLib->implSetModified( sal_False ); in storeLibraries_Impl()
1974 rLib.bReadOnly = pImplLib->mbReadOnlyLink; in storeLibraries_Impl()
2248 SfxLibrary* pImplLib = static_cast< SfxLibrary* >( xNameAccess.get() ); in removeLibrary() local
2249 if( pImplLib->mbReadOnly && !pImplLib->mbLink ) in removeLibrary()
2257 if( !pImplLib->mbLink ) in removeLibrary()
2263 Sequence< OUString > aNames = pImplLib->getElementNames(); in removeLibrary()
2268pImplLib->removeElementWithoutChecks( *pNames, SfxLibrary::LibraryContainerAccess() ); in removeLibrary()
2273 createAppLibraryFolder( pImplLib, Name ); in removeLibrary()
2274 String aLibInfoPath = pImplLib->maLibInfoFileURL; in removeLibrary()
2308 SfxLibrary* pImplLib = getImplLib( Name ); in isLibraryLoaded() local
2309 sal_Bool bRet = pImplLib->mbLoaded; in isLibraryLoaded()
2321 SfxLibrary* pImplLib = static_cast< SfxLibrary* >( xNameAccess.get() ); in loadLibrary() local
2323 sal_Bool bLoaded = pImplLib->mbLoaded; in loadLibrary()
2324 pImplLib->mbLoaded = sal_True; in loadLibrary()
2327 if( pImplLib->mbPasswordProtected ) in loadLibrary()
2329 implLoadPasswordLibrary( pImplLib, Name ); in loadLibrary()
2333 sal_Bool bLink = pImplLib->mbLink; in loadLibrary()
2366 Sequence< OUString > aNames = pImplLib->getElementNames(); in loadLibrary()
2417 String aLibDirPath = pImplLib->maStorageURL; in loadLibrary()
2425 Reference< XNameContainer > xLib( pImplLib ); in loadLibrary()
2428 if( pImplLib->hasByName( aElementName ) ) in loadLibrary()
2431 pImplLib->maNameContainer.replaceByName( aElementName, aAny ); in loadLibrary()
2435 pImplLib->maNameContainer.insertByName( aElementName, aAny ); in loadLibrary()
2439 pImplLib->implSetModified( sal_False ); in loadLibrary()
2448 SfxLibrary* pImplLib = getImplLib( Name ); in isLibraryLink() local
2449 sal_Bool bRet = pImplLib->mbLink; in isLibraryLink()
2457 SfxLibrary* pImplLib = getImplLib( Name ); in getLibraryLinkURL() local
2458 sal_Bool bLink = pImplLib->mbLink; in getLibraryLinkURL()
2461 OUString aRetStr = pImplLib->maLibInfoFileURL; in getLibraryLinkURL()
2469 SfxLibrary* pImplLib = getImplLib( Name ); in isLibraryReadOnly() local
2470 sal_Bool bRet = pImplLib->mbReadOnly || (pImplLib->mbLink && pImplLib->mbReadOnlyLink); in isLibraryReadOnly()
2478 SfxLibrary* pImplLib = getImplLib( Name ); in setLibraryReadOnly() local
2479 if( pImplLib->mbLink ) in setLibraryReadOnly()
2481 if( pImplLib->mbReadOnlyLink != bReadOnly ) in setLibraryReadOnly()
2483 pImplLib->mbReadOnlyLink = bReadOnly; in setLibraryReadOnly()
2484 pImplLib->implSetModified( sal_True ); in setLibraryReadOnly()
2490 if( pImplLib->mbReadOnly != bReadOnly ) in setLibraryReadOnly()
2492 pImplLib->mbReadOnly = bReadOnly; in setLibraryReadOnly()
2493 pImplLib->implSetModified( sal_True ); in setLibraryReadOnly()
2511 SfxLibrary* pImplLib = static_cast< SfxLibrary* >( xNameAccess.get() ); in renameLibrary() local
2512 if( pImplLib->mbPasswordProtected && !pImplLib->mbPasswordVerified ) in renameLibrary()
2525 if( !bStorage && !pImplLib->mbLink ) in renameLibrary()
2529 OUString aLibDirPath = pImplLib->maStorageURL; in renameLibrary()
2537 OUString aLibInfoFileURL = pImplLib->maLibInfoFileURL; in renameLibrary()
2538 checkStorageURL( aDestDirPath, pImplLib->maLibInfoFileURL, pImplLib->maStorageURL, in renameLibrary()
2539 pImplLib->maUnexpandedStorageURL ); in renameLibrary()
2551 if( mxSFI->exists( pImplLib->maLibInfoFileURL ) ) in renameLibrary()
2552 mxSFI->kill( pImplLib->maLibInfoFileURL ); in renameLibrary()
2553 mxSFI->move( aLibInfoFileURL, pImplLib->maLibInfoFileURL ); in renameLibrary()
2588 pImplLib->storeResourcesAsURL( aDestDirPath, NewName ); in renameLibrary()
2599 pImplLib->implSetModified( sal_True ); in renameLibrary()
2609 if( bStorage && !pImplLib->mbLink ) in renameLibrary()
2610 pImplLib->implSetModified( sal_True ); in renameLibrary()
2748 SfxLibrary* pImplLib = getImplLib( Name ); in exportLibrary() local
2763 if( pImplLib->mbPasswordProtected ) in exportLibrary()
2764 implStorePasswordLibrary( pImplLib, Name, xDummyStor, URL, xToUseSFI, Handler ); in exportLibrary()
2766 implStoreLibrary( pImplLib, Name, xDummyStor, URL, xToUseSFI, Handler ); in exportLibrary()
2771 aLibDesc.bReadOnly = pImplLib->mbReadOnly; in exportLibrary()
2773 aLibDesc.bPasswordProtected = pImplLib->mbPasswordProtected; in exportLibrary()
2774 aLibDesc.aElementNames = pImplLib->getElementNames(); in exportLibrary()
2776 implStoreLibraryIndexFile( pImplLib, aLibDesc, xDummyStor, URL, xToUseSFI ); in exportLibrary()
2840 SfxLibrary* pImplLib = getImplLib( Name ); in getOriginalLibraryLinkURL() local
2841 sal_Bool bLink = pImplLib->mbLink; in getOriginalLibraryLinkURL()
2844 OUString aRetStr = pImplLib->maOrignialStorageURL; in getOriginalLibraryLinkURL()