Lines Matching refs:pImplLib

97         SfxLibrary* pImplLib = getImplLib( rLibraryName );  in setLibraryPassword()  local
100 pImplLib->mbDoc50Password = sal_True; in setLibraryPassword()
101 pImplLib->mbPasswordProtected = sal_True; in setLibraryPassword()
102 pImplLib->maPassword = rPassword; in setLibraryPassword()
110 SfxLibrary* pImplLib = getImplLib( rLibraryName ); in getLibraryPassword() local
112 if( pImplLib->mbPasswordVerified ) in getLibraryPassword()
113 aPassword = pImplLib->maPassword; in getLibraryPassword()
121 SfxLibrary* pImplLib = getImplLib( rLibraryName ); in clearLibraryPassword() local
122 pImplLib->mbDoc50Password = sal_False; in clearLibraryPassword()
123 pImplLib->mbPasswordProtected = sal_False; in clearLibraryPassword()
124 pImplLib->maPassword = OUString(); in clearLibraryPassword()
131 SfxLibrary* pImplLib = getImplLib( rLibraryName ); in hasLibraryPassword() local
132 return pImplLib->mbPasswordProtected; in hasLibraryPassword()
415 SfxLibrary* pImplLib = getImplLib( Name ); in isLibraryPasswordProtected() local
416 sal_Bool bRet = pImplLib->mbPasswordProtected; in isLibraryPasswordProtected()
424 SfxLibrary* pImplLib = getImplLib( Name ); in isLibraryPasswordVerified() local
425 if( !pImplLib->mbPasswordProtected ) in isLibraryPasswordVerified()
427 sal_Bool bRet = pImplLib->mbPasswordVerified; in isLibraryPasswordVerified()
436 SfxLibrary* pImplLib = getImplLib( Name ); in verifyLibraryPassword() local
437 if( !pImplLib->mbPasswordProtected || pImplLib->mbPasswordVerified ) in verifyLibraryPassword()
442 if( pImplLib->mbDoc50Password ) in verifyLibraryPassword()
444 bSuccess = ( Password == pImplLib->maPassword ); in verifyLibraryPassword()
446 pImplLib->mbPasswordVerified = sal_True; in verifyLibraryPassword()
450 pImplLib->maPassword = Password; in verifyLibraryPassword()
451 bSuccess = implLoadPasswordLibrary( pImplLib, Name, sal_True ); in verifyLibraryPassword()
457 pImplLib->implSetModified( sal_True ); in verifyLibraryPassword()
458 pImplLib->mbPasswordVerified = sal_True; in verifyLibraryPassword()
461 if( pImplLib->mbLoaded ) in verifyLibraryPassword()
462 implLoadPasswordLibrary( pImplLib, Name ); in verifyLibraryPassword()
473 SfxLibrary* pImplLib = getImplLib( Name ); in changeLibraryPassword() local
479 sal_Bool bStorage = mxStorage.is() && !pImplLib->mbLink; in changeLibraryPassword()
481 if( pImplLib->mbReadOnly || (bOldPassword && !pImplLib->mbPasswordProtected) ) in changeLibraryPassword()
495 if( pImplLib->maPassword != OldPassword ) in changeLibraryPassword()
509 pImplLib->mbPasswordProtected = sal_False; in changeLibraryPassword()
510 pImplLib->mbPasswordVerified = sal_False; in changeLibraryPassword()
511 pImplLib->maPassword = OUString(); in changeLibraryPassword()
514 pImplLib->implSetModified( sal_True ); in changeLibraryPassword()
516 if( !bStorage && !pImplLib->mbDoc50Password ) in changeLibraryPassword()
529 pImplLib->mbPasswordProtected = sal_True; in changeLibraryPassword()
530 pImplLib->mbPasswordVerified = sal_True; in changeLibraryPassword()
531 pImplLib->maPassword = NewPassword; in changeLibraryPassword()
534 pImplLib->implSetModified( sal_True ); in changeLibraryPassword()
536 if( !bStorage && !pImplLib->mbDoc50Password ) in changeLibraryPassword()
547 Sequence< OUString > aElementNames = pImplLib->getElementNames(); in changeLibraryPassword()
550 OUString aLibDirPath = createAppLibraryFolder( pImplLib, Name ); in changeLibraryPassword()