Lines Matching refs:pImp
336 pImp->aAvailableLink.ClearPendingCall(); in DataAvailable_Impl()
337 pImp->aAvailableLink.Call( NULL ); in DataAvailable_Impl()
413 return pImp->nLastStorageError; in GetLastStorageCreationState()
419 if ( !pImp->m_xLogRing.is() ) in AddLog()
425 …pImp->m_xLogRing.set( aContext.getSingleton( "com.sun.star.logging.DocumentIOLogRing" ), UNO_QUERY… in AddLog()
431 if ( pImp->m_xLogRing.is() ) in AddLog()
432 pImp->m_xLogRing->logString( aMessage ); in AddLog()
458 if ( pImp->m_aDateTime.Seconds != aInitDate.Seconds in CheckFileDate()
459 || pImp->m_aDateTime.Minutes != aInitDate.Minutes in CheckFileDate()
460 || pImp->m_aDateTime.Hours != aInitDate.Hours in CheckFileDate()
461 || pImp->m_aDateTime.Day != aInitDate.Day in CheckFileDate()
462 || pImp->m_aDateTime.Month != aInitDate.Month in CheckFileDate()
463 || pImp->m_aDateTime.Year != aInitDate.Year ) in CheckFileDate()
505 if ( ( bIgnoreOldValue || !pImp->m_bGotDateTime ) && aLogicName.Len() ) in GetInitFileDate()
512 …pertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "DateModified" )) ) >>= pImp->m_aDateTime; in GetInitFileDate()
513 pImp->m_bGotDateTime = sal_True; in GetInitFileDate()
520 return pImp->m_aDateTime; in GetInitFileDate()
526 if ( !pImp->aContent.get().is() ) in GetContent()
539 pImp->aContent = ::ucbhelper::Content( xContent, xEnv ); in GetContent()
554 ::ucbhelper::Content::create( aURL, xEnv, pImp->aContent ); in GetContent()
558 return pImp->aContent.get(); in GetContent()
572 …Any aAny = pImp->aContent.getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BaseURI" … in GetBaseURL()
602 if ( pImp->pTempFile ) in GetInStream()
642 if ( pInStream && pImp->xStorage.is() ) in CloseInStream_Impl()
644 if ( pImp->bStorageBasedOnInStream ) in CloseInStream_Impl()
659 pImp->xInputStream = uno::Reference< io::XInputStream >(); in CloseInStream_Impl()
665 pImp->xStream = uno::Reference< io::XStream >(); in CloseInStream_Impl()
680 if ( pImp->pTempFile ) in GetOutStream()
706 if ( pImp->xStorage.is() ) in CloseOutStream_Impl()
721 pImp->xStream = uno::Reference< io::XStream >(); in CloseOutStream_Impl()
747 pImp->bIsTemp = sal_True; in CreateFileStream()
755 if( pImp->xStorage.is() ) in Commit()
781 if ( pImp->xStorage.is() ) in IsStorage()
785 return pImp->bIsStorage; in IsStorage()
787 if ( pImp->pTempFile ) in IsStorage()
794 pImp->bIsStorage = SotStorage::IsStorageFile( aURL ) && !SotStorage::IsOLEStorage( aURL); in IsStorage()
795 if ( !pImp->bIsStorage ) in IsStorage()
800 …pImp->bIsStorage = SotStorage::IsStorageFile( pInStream ) && !SotStorage::IsOLEStorage( pInStream … in IsStorage()
801 if ( !pInStream->GetError() && !pImp->bIsStorage ) in IsStorage()
805 return pImp->bIsStorage; in IsStorage()
811 return pImp->aAvailableLink.GetLink(); in GetDataAvailableLink()
817 return pImp->aDoneLink.GetLink(); in GetDoneLink()
848 …sal_Bool bBasedOnOriginalFile = ( !pImp->pTempFile && !( aLogicName.Len() && pImp->m_bSalvageMode ) in StorageBackup_Impl()
853 if ( bBasedOnOriginalFile && !pImp->m_aBackupURL.getLength() in StorageBackup_Impl()
857 if( !pImp->m_aBackupURL.getLength() ) in StorageBackup_Impl()
865 if ( !pImp->m_aBackupURL.getLength() ) in GetBackup_Impl()
868 return pImp->m_aBackupURL; in GetBackup_Impl()
879 if ( pImp->xStorage.is() && ( !aLogicName.Len() || pImp->pTempFile ) ) in GetOutputStorage()
880 return pImp->xStorage; in GetOutputStorage()
900 if ( pImp->xStorage.is() && pSet ) in SetEncryptionDataToStorage_Impl()
911 ::comphelper::OStorageHelper::SetCommonStorageEncryptionData( pImp->xStorage, aEncryptionData ); in SetEncryptionDataToStorage_Impl()
1119 …if ( pImp->m_bLocked && bLoading && ::utl::LocalFileHelper::IsLocalFile( GetURLObject().GetMainURL… in LockOrigFileOnDemand()
1126 sal_Bool bResult = pImp->m_bLocked; in LockOrigFileOnDemand()
1148 if ( bLoading && !pImp->m_xLockingStream.is() ) in LockOrigFileOnDemand()
1191 … sal_Bool bHandleSysLocked = ( bLoading && bUseSystemLock && !pImp->xStream.is() && !pOutStream ); in LockOrigFileOnDemand()
1305 pImp->m_bLocked = bResult; in LockOrigFileOnDemand()
1407 pImp->m_bLocked = bResult; in LockOrigFileOnDemand()
1441 if ( pImp->xStorage.is() || bTriedStorage ) in GetStorage()
1442 return pImp->xStorage; in GetStorage()
1456 return pImp->xStorage; in GetStorage()
1484 if ( pImp->xStream.is() ) in GetStorage()
1487 aArgs[0] <<= pImp->xStream; in GetStorage()
1489 pImp->bStorageBasedOnInStream = sal_True; in GetStorage()
1491 else if ( pImp->xInputStream.is() ) in GetStorage()
1494 aArgs[0] <<= pImp->xInputStream; in GetStorage()
1496 pImp->bStorageBasedOnInStream = sal_True; in GetStorage()
1503 pImp->bStorageBasedOnInStream = sal_False; in GetStorage()
1508 pImp->xStorage = uno::Reference< embed::XStorage >( in GetStorage()
1517 if( ( pImp->nLastStorageError = GetError() ) != SVSTREAM_OK ) in GetStorage()
1519 pImp->xStorage = 0; in GetStorage()
1528 if ( pImp->xStorage.is() ) in GetStorage()
1540 if ( pImp->aVersions.getLength() ) in GetStorage()
1548 nVersion = ( (short) pImp->aVersions.getLength() ) + nVersion; in GetStorage()
1552 util::RevisionTag& rTag = pImp->aVersions[nVersion]; in GetStorage()
1555 …uno::Reference < embed::XStorage > xSub = pImp->xStorage->openStorageElement( DEFINE_CONST_UNICODE… in GetStorage()
1575 …pImp->xStorage = comphelper::OStorageHelper::GetStorageFromURL( aTmpName, embed::ElementModes::REA… in GetStorage()
1576 pImp->bStorageBasedOnInStream = sal_False; in GetStorage()
1581 pImp->bIsTemp = sal_True; in GetStorage()
1584 pImp->aVersions.realloc(0); in GetStorage()
1596 pImp->xStorage = 0; in GetStorage()
1601 pImp->bIsStorage = pImp->xStorage.is(); in GetStorage()
1602 return pImp->xStorage; in GetStorage()
1608 if ( !GetError() && !pImp->m_xZipStorage.is() ) in GetZipStorageToSign_Impl()
1618 if ( !bReadOnly && pImp->xStream.is() ) in GetZipStorageToSign_Impl()
1620 …pImp->m_xZipStorage = ::comphelper::OStorageHelper::GetStorageOfFormatFromStream( ZIP_STORAGE_FORM… in GetZipStorageToSign_Impl()
1622 else if ( pImp->xInputStream.is() ) in GetZipStorageToSign_Impl()
1624 …pImp->m_xZipStorage = ::comphelper::OStorageHelper::GetStorageOfFormatFromInputStream( ZIP_STORAGE… in GetZipStorageToSign_Impl()
1636 return pImp->m_xZipStorage; in GetZipStorageToSign_Impl()
1642 if ( pImp->m_xZipStorage.is() ) in CloseZipStorage_Impl()
1645 pImp->m_xZipStorage->dispose(); in CloseZipStorage_Impl()
1649 pImp->m_xZipStorage = uno::Reference< embed::XStorage >(); in CloseZipStorage_Impl()
1656 if ( pImp->xStorage.is() ) in CloseStorage()
1658 uno::Reference < lang::XComponent > xComp( pImp->xStorage, uno::UNO_QUERY ); in CloseStorage()
1660 if ( pImp->bDisposeStorage && !pImp->m_bSalvageMode ) in CloseStorage()
1670 pImp->xStorage = 0; in CloseStorage()
1671 pImp->bStorageBasedOnInStream = sal_False; in CloseStorage()
1675 pImp->bIsStorage = sal_False; in CloseStorage()
1680 pImp->bDisposeStorage = bDisposeStorage; in CanDisposeStorage_Impl()
1685 return pImp->bDisposeStorage; in WillDisposeStorageOnClose_Impl()
1699 if ( pImp->xStorage.is() ) in SetOpenMode()
1716 ::ucbhelper::Content aTransactCont( pImp->m_aBackupURL, xComEnv ); in UseBackupToRestore_Impl()
1726 pImp->m_bRemoveBackup = sal_False; in UseBackupToRestore_Impl()
1741 if ( pImp->xStorage.is() ) in StorageCommit_Impl()
1745 uno::Reference < embed::XTransactedObject > xTrans( pImp->xStorage, uno::UNO_QUERY ); in StorageCommit_Impl()
1757 if ( !pImp->pTempFile ) in StorageCommit_Impl()
1759 OSL_ENSURE( pImp->m_aBackupURL.getLength(), "No backup on storage commit!\n" ); in StorageCommit_Impl()
1760 if ( pImp->m_aBackupURL.getLength() in StorageCommit_Impl()
1771 pImp->aContent = ::ucbhelper::Content(); in StorageCommit_Impl()
1833 if ( pImp->xStorage.is() ) in TransactedTransferForFS_Impl()
1851 if( ! pImp->m_aBackupURL.getLength() ) in TransactedTransferForFS_Impl()
1854 if( pImp->m_aBackupURL.getLength() ) in TransactedTransferForFS_Impl()
1901 if ( pImp->pTempFile ) in TransactedTransferForFS_Impl()
1903 pImp->pTempFile->EnableKillingFile( sal_True ); in TransactedTransferForFS_Impl()
1904 delete pImp->pTempFile; in TransactedTransferForFS_Impl()
1905 pImp->pTempFile = NULL; in TransactedTransferForFS_Impl()
1993 if ( pImp->pTempFile ) in Transfer_Impl()
1994 aNameURL = pImp->pTempFile->GetURL(); in Transfer_Impl()
1995 else if ( aLogicName.Len() && pImp->m_bSalvageMode ) in Transfer_Impl()
2017 if ( pImp->xStorage.is() ) in Transfer_Impl()
2047 if ( pImp->pTempFile ) in Transfer_Impl()
2049 pImp->pTempFile->EnableKillingFile( sal_True ); in Transfer_Impl()
2050 delete pImp->pTempFile; in Transfer_Impl()
2051 pImp->pTempFile = NULL; in Transfer_Impl()
2072 if ( !pImp->aContent.get().is() ) in Transfer_Impl()
2092 uno::Reference < beans::XPropertySet > xSet( pImp->xStorage, uno::UNO_QUERY ); in Transfer_Impl()
2097 … uno::Reference < embed::XTransactedObject > xTrans( pImp->xStorage, uno::UNO_QUERY ); in Transfer_Impl()
2160 if ( pImp->xStorage.is() ) in Transfer_Impl()
2214 if ( ( !eError || (eError & ERRCODE_WARNING_MASK) ) && !pImp->pTempFile ) in Transfer_Impl()
2219 pImp->m_bSalvageMode = sal_False; in Transfer_Impl()
2232 if ( pImp->m_aBackupURL.getLength() ) in DoInternalBackup_Impl()
2252 pImp->m_aBackupURL = aBackObj.GetMainURL( INetURLObject::NO_DECODE ); in DoInternalBackup_Impl()
2253 pImp->m_bRemoveBackup = sal_True; in DoInternalBackup_Impl()
2260 if ( !pImp->m_aBackupURL.getLength() ) in DoInternalBackup_Impl()
2267 if ( pImp->m_aBackupURL.getLength() ) in DoInternalBackup_Impl()
2281 if ( !pImp->m_aBackupURL.getLength() ) in DoInternalBackup_Impl()
2339 pImp->m_aBackupURL = aDest.GetMainURL( INetURLObject::NO_DECODE ); in DoBackup_Impl()
2340 pImp->m_bRemoveBackup = sal_False; in DoBackup_Impl()
2359 if( pImp->m_bRemoveBackup ) in ClearBackup_Impl()
2363 if ( pImp->m_aBackupURL.getLength() ) in ClearBackup_Impl()
2365 if ( ::utl::UCBContentHelper::Kill( pImp->m_aBackupURL ) ) in ClearBackup_Impl()
2368 pImp->m_bRemoveBackup = sal_False; in ClearBackup_Impl()
2369 pImp->m_aBackupURL = ::rtl::OUString(); in ClearBackup_Impl()
2379 pImp->m_aBackupURL = ::rtl::OUString(); in ClearBackup_Impl()
2386 && !pImp->m_xLockingStream.is() ) in GetLockingStream_Impl()
2390 pWriteStreamItem->GetValue() >>= pImp->m_xLockingStream; in GetLockingStream_Impl()
2392 if ( !pImp->m_xLockingStream.is() ) in GetLockingStream_Impl()
2402 aMedium[comphelper::MediaDescriptor::PROP_STREAM()] >>= pImp->m_xLockingStream; in GetLockingStream_Impl()
2405 if ( !pImp->pTempFile && !aName.Len() ) in GetLockingStream_Impl()
2408 if ( pImp->m_xLockingStream.is() ) in GetLockingStream_Impl()
2409 pImp->xStream = pImp->m_xLockingStream; in GetLockingStream_Impl()
2412 pImp->xInputStream = xInputStream; in GetLockingStream_Impl()
2414 if ( !pImp->xInputStream.is() && pImp->xStream.is() ) in GetLockingStream_Impl()
2415 pImp->xInputStream = pImp->xStream->getInputStream(); in GetLockingStream_Impl()
2426 pImp->bDownloadDone = sal_False; in GetMedium_Impl()
2434 pWriteStreamItem->GetValue() >>= pImp->xStream; in GetMedium_Impl()
2437 pInStreamItem->GetValue() >>= pImp->xInputStream; in GetMedium_Impl()
2439 if ( !pImp->xInputStream.is() && pImp->xStream.is() ) in GetMedium_Impl()
2440 pImp->xInputStream = pImp->xStream->getInputStream(); in GetMedium_Impl()
2444 pInStreamItem->GetValue() >>= pImp->xInputStream; in GetMedium_Impl()
2462 sal_Bool bFromTempFile = ( pImp->pTempFile != NULL ); in GetMedium_Impl()
2475 pImp->xInputStream = m_xInputStreamToLoadFrom; in GetMedium_Impl()
2476 pImp->xInputStream->skipBytes(0); in GetMedium_Impl()
2487 if ( pImp->m_xLockingStream.is() && !bFromTempFile ) in GetMedium_Impl()
2490 pImp->xStream = pImp->m_xLockingStream; in GetMedium_Impl()
2522 aMedium[comphelper::MediaDescriptor::PROP_STREAM()] >>= pImp->xStream; in GetMedium_Impl()
2523 aMedium[comphelper::MediaDescriptor::PROP_INPUTSTREAM()] >>= pImp->xInputStream; in GetMedium_Impl()
2527 if ( !pImp->xInputStream.is() && pImp->xStream.is() ) in GetMedium_Impl()
2528 pImp->xInputStream = pImp->xStream->getInputStream(); in GetMedium_Impl()
2534 if ( pImp->xStream.is() ) in GetMedium_Impl()
2535 GetItemSet()->Put( SfxUsrAnyItem( SID_STREAM, makeAny( pImp->xStream ) ) ); in GetMedium_Impl()
2537 … GetItemSet()->Put( SfxUsrAnyItem( SID_INPUTSTREAM, makeAny( pImp->xInputStream ) ) ); in GetMedium_Impl()
2542 if ( !GetError() && !pImp->xStream.is() && !pImp->xInputStream.is() ) in GetMedium_Impl()
2549 if ( pImp->xStream.is() ) in GetMedium_Impl()
2551 pInStream = utl::UcbStreamHelper::CreateStream( pImp->xStream ); in GetMedium_Impl()
2553 else if ( pImp->xInputStream.is() ) in GetMedium_Impl()
2555 pInStream = utl::UcbStreamHelper::CreateStream( pImp->xInputStream ); in GetMedium_Impl()
2559 pImp->bDownloadDone = sal_True; in GetMedium_Impl()
2560 pImp->aDoneLink.ClearPendingCall(); in GetMedium_Impl()
2561 pImp->aDoneLink.Call( (void*) GetError() ); in GetMedium_Impl()
2575 if(!pImp) in SetUpdatePickList()
2576 pImp = new SfxMedium_Impl( this ); in SetUpdatePickList()
2577 pImp->bUpdatePickList = bVal; in SetUpdatePickList()
2583 return pImp? pImp->bUpdatePickList: sal_True; in IsUpdatePickList()
2589 pImp->aDoneLink = rLink; in SetDoneLink()
2596 pImp->aAvailableLink = rLink; in SetDataAvailableLink()
2611 while( !pImp->bDownloadDone ) in DownLoad()
2628 pImp->bDisposeStorage = sal_False; in Init_Impl()
2667 pImp->m_bSalvageMode = sal_True; in Init_Impl()
2701 pImp(new SfxMedium_Impl( this )) in SfxMedium()
2711 pImp(new SfxMedium_Impl( this )) in SfxMedium()
2718 pImp->bIsTemp = bTemporary; in SfxMedium()
2719 DBG_ASSERT( ! rMedium.pImp->bIsTemp, "Temporaeres Medium darf nicht kopiert werden" ); in SfxMedium()
2732 pImp->bAllowDefaultIntHdl = bUse; in UseInteractionHandler()
2750 if ( pImp->xCredentialInteraction.is() ) in GetAuthenticationInteractionHandler()
2751 return pImp->xCredentialInteraction; in GetAuthenticationInteractionHandler()
2757 …pImp->xCredentialInteraction = ::com::sun::star::uno::Reference< com::sun::star::task::XInteractio… in GetAuthenticationInteractionHandler()
2759 return pImp->xCredentialInteraction; in GetAuthenticationInteractionHandler()
2771 if ( !pImp->bUseInteractionHandler ) in GetInteractionHandler()
2784 if ( !pImp->bAllowDefaultIntHdl ) in GetInteractionHandler()
2788 if ( pImp->xInteraction.is() ) in GetInteractionHandler()
2789 return pImp->xInteraction; in GetInteractionHandler()
2795 …pImp->xInteraction = ::com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler >( in GetInteractionHandler()
2797 return pImp->xInteraction; in GetInteractionHandler()
2808 pImp->nFileVersion = 0; in SetFilter()
2815 return ( pImp->pOrigFilter || bNotCurrent ) ? pImp->pOrigFilter : pFilter; in GetOrigFilter()
2822 pImp->pOrigFilter = pOrigFilter; in SetOrigFilter_Impl()
2880 if ( pImp->xStorage.is() ) in Close()
2913 if ( pImp->xStorage.is() ) in CloseAndRelease()
2951 if ( pImp->m_xLockingStream.is() ) in UnlockFile()
2957 … uno::Reference< io::XInputStream > xInStream = pImp->m_xLockingStream->getInputStream(); in UnlockFile()
2958 … uno::Reference< io::XOutputStream > xOutStream = pImp->m_xLockingStream->getOutputStream(); in UnlockFile()
2968 pImp->m_xLockingStream = uno::Reference< io::XStream >(); in UnlockFile()
2971 if ( pImp->m_bLocked ) in UnlockFile()
2975 pImp->m_bLocked = sal_False; in UnlockFile()
2992 if ( pImp->m_bLocked ) in UnlockFile()
3001 pImp->m_bLocked = sal_False; in UnlockFile()
3020 uno::Reference< io::XInputStream > xInToClose = pImp->xInputStream; in CloseAndReleaseStreams_Impl()
3022 if ( pImp->xStream.is() ) in CloseAndReleaseStreams_Impl()
3024 xOutToClose = pImp->xStream->getOutputStream(); in CloseAndReleaseStreams_Impl()
3027 if ( pImp->xStream == pImp->m_xLockingStream ) in CloseAndReleaseStreams_Impl()
3028 pImp->m_xLockingStream = uno::Reference< io::XStream >(); in CloseAndReleaseStreams_Impl()
3035 if ( !pImp->m_bSalvageMode ) in CloseAndReleaseStreams_Impl()
3059 pImp->aContent = ::ucbhelper::Content(); in CloseStreams_Impl()
3067 if ( pImp->aContent.get().is() ) in RefreshName_Impl()
3069 String aNameP = pImp->xAnchor->GetViewURL(); in RefreshName_Impl()
3070 pImp->aOrigURL = aNameP; in RefreshName_Impl()
3109 if( !pImp->aOrigURL.Len() ) in SetName()
3110 pImp->aOrigURL = aLogicName; in SetName()
3112 pImp->aOrigURL = aNameP; in SetName()
3115 pImp->aContent = ::ucbhelper::Content(); in SetName()
3122 return !pImp->aOrigURL.Len() ? (String &)aLogicName : pImp->aOrigURL; in GetOrigURL()
3131 if( pImp->pTempFile ) in SetPhysicalName_Impl()
3133 delete pImp->pTempFile; in SetPhysicalName_Impl()
3134 pImp->pTempFile = NULL; in SetPhysicalName_Impl()
3138 pImp->aContent = ::ucbhelper::Content(); in SetPhysicalName_Impl()
3142 pImp->bIsStorage = sal_False; in SetPhysicalName_Impl()
3149 pImp->bIsTemp = bTemp; in SetTemporary()
3155 return pImp->bIsTemp; in IsTemporary()
3170 sal_Bool bUseInteractionHandler = pImp->bUseInteractionHandler; in ReOpen()
3171 pImp->bUseInteractionHandler = sal_False; in ReOpen()
3173 pImp->bUseInteractionHandler = bUseInteractionHandler; in ReOpen()
3181 sal_Bool bUseInteractionHandler = pImp->bUseInteractionHandler; in CompleteReOpen()
3182 pImp->bUseInteractionHandler = sal_False; in CompleteReOpen()
3185 if ( pImp->pTempFile ) in CompleteReOpen()
3187 pTmpFile = pImp->pTempFile; in CompleteReOpen()
3188 pImp->pTempFile = NULL; in CompleteReOpen()
3196 if ( pImp->pTempFile ) in CompleteReOpen()
3198 pImp->pTempFile->EnableKillingFile( sal_True ); in CompleteReOpen()
3199 delete pImp->pTempFile; in CompleteReOpen()
3201 pImp->pTempFile = pTmpFile; in CompleteReOpen()
3202 if ( pImp->pTempFile ) in CompleteReOpen()
3203 aName = pImp->pTempFile->GetFileName(); in CompleteReOpen()
3212 pImp->bUseInteractionHandler = bUseInteractionHandler; in CompleteReOpen()
3224 pImp(new SfxMedium_Impl( this )) in SfxMedium()
3237 pImp(new SfxMedium_Impl( this )) in SfxMedium()
3296 pImp( new SfxMedium_Impl( this )) in SfxMedium()
3303 pImp->xStorage = rStor; in SfxMedium()
3304 pImp->bDisposeStorage = sal_False; in SfxMedium()
3315 pImp( new SfxMedium_Impl( this )) in SfxMedium()
3321 pImp->xStorage = rStor; in SfxMedium()
3322 pImp->bDisposeStorage = sal_False; in SfxMedium()
3348 if( pImp->bIsTemp && aName.Len() ) in ~SfxMedium()
3365 delete pImp; in ~SfxMedium()
3393 return pImp->aPreRedirectionURL; in GetPreRedirectedURL()
3433 pImp->aReferer = rRefer; in SetReferer()
3439 return pImp->aReferer; in GetReferer()
3446 pImp->aExpireTime = rDateTime; in SetExpired_Impl()
3452 return pImp->aExpireTime.IsValid() && pImp->aExpireTime < DateTime(); in IsExpired()
3464 pImp->bForceSynchron = bForce; in ForceSynchronStream_Impl()
3470 return pImp->wLoadTargetFrame; in GetLoadTargetFrame()
3476 pImp->wLoadTargetFrame = pFrame; in SetLoadTargetFrame()
3482 pImp->xStorage = rStor; in SetStorage_Impl()
3497 if( !pImp->xAttributes.Is() ) in GetHeaderAttributes_Impl()
3499 pImp->xAttributes = SvKeyValueIteratorRef( new SvKeyValueIterator ); in GetHeaderAttributes_Impl()
3503 pImp->bIsCharsetInitialized = sal_True; in GetHeaderAttributes_Impl()
3507 Any aAny = pImp->aContent.getPropertyValue( ::rtl::OUString::createFromAscii( "MediaType" ) ); in GetHeaderAttributes_Impl()
3511 …pImp->xAttributes->Append( SvKeyValue( ::rtl::OUString::createFromAscii( "content-type" ), aConten… in GetHeaderAttributes_Impl()
3519 return pImp->xAttributes; in GetHeaderAttributes_Impl()
3525 return pImp->GetHdl(); in GetHdl()
3530 return pImp->bDownloadDone; in IsDownloadDone_Impl()
3535 if ( !pImp->xInputStream.is() ) in GetInputStream()
3537 return pImp->xInputStream; in GetInputStream()
3543 if ( ( !_bNoReload || !pImp->m_bVersionsAlreadyLoaded ) && !pImp->aVersions.getLength() && in GetVersionList()
3552 pImp->aVersions = xReader->load( GetStorage() ); in GetVersionList()
3560 if ( !pImp->m_bVersionsAlreadyLoaded ) in GetVersionList()
3561 pImp->m_bVersionsAlreadyLoaded = sal_True; in GetVersionList()
3563 return pImp->aVersions; in GetVersionList()
3590 sal_Int32 nLength = pImp->aVersions.getLength(); in AddVersion_Impl()
3593 … sal_uInt32 nVer = (sal_uInt32) String( pImp->aVersions[m].Identifier ).Copy(7).ToInt32(); in AddVersion_Impl()
3609 pImp->aVersions.realloc( nLength+1 ); in AddVersion_Impl()
3611 pImp->aVersions[nLength] = rRevision; in AddVersion_Impl()
3620 if ( !pImp->aVersions.getLength() ) in RemoveVersion_Impl()
3623 sal_Int32 nLength = pImp->aVersions.getLength(); in RemoveVersion_Impl()
3626 if ( pImp->aVersions[n].Identifier == rName ) in RemoveVersion_Impl()
3629 pImp->aVersions[m] = pImp->aVersions[m+1]; in RemoveVersion_Impl()
3630 pImp->aVersions.realloc(nLength-1); in RemoveVersion_Impl()
3640 if ( rMedium.pImp->aVersions.getLength() ) in TransferVersionList_Impl()
3642 pImp->aVersions = rMedium.pImp->aVersions; in TransferVersionList_Impl()
3653 if ( !pImp->aVersions.getLength() ) in SaveVersionList_Impl()
3662 xWriter->store( GetStorage(), pImp->aVersions ); in SaveVersionList_Impl()
3732 if ( pImp->pTempFile ) in CreateTempFile()
3737 DELETEZ( pImp->pTempFile ); in CreateTempFile()
3743 pImp->pTempFile = new ::utl::TempFile(); in CreateTempFile()
3744 if ( GetName().Equals( pImp->pTempFile->GetURL() ) ) in CreateTempFile()
3746 delete pImp->pTempFile; in CreateTempFile()
3747 pImp->pTempFile = NULL; in CreateTempFile()
3749 } while ( pImp->pTempFile == NULL ); in CreateTempFile()
3750 pImp->pTempFile->EnableKillingFile( sal_True ); in CreateTempFile()
3751 aName = pImp->pTempFile->GetFileName(); in CreateTempFile()
3752 ::rtl::OUString aTmpURL = pImp->pTempFile->GetURL(); in CreateTempFile()
3779 …if ( aTargetContent.transferContent( pImp->aContent, ::ucbhelper::InsertOperation_COPY, aFileName,… in CreateTempFile()
3844 if ( pImp->pTempFile ) in CreateTempFileNoCopy()
3846 delete pImp->pTempFile; in CreateTempFileNoCopy()
3847 pImp->pTempFile = NULL; in CreateTempFileNoCopy()
3852 pImp->pTempFile = new ::utl::TempFile(); in CreateTempFileNoCopy()
3853 if ( GetName().Equals( pImp->pTempFile->GetURL() ) ) in CreateTempFileNoCopy()
3855 delete pImp->pTempFile; in CreateTempFileNoCopy()
3856 pImp->pTempFile = NULL; in CreateTempFileNoCopy()
3858 } while ( pImp->pTempFile == NULL ); in CreateTempFileNoCopy()
3859 pImp->pTempFile->EnableKillingFile( sal_True ); in CreateTempFileNoCopy()
3860 aName = pImp->pTempFile->GetFileName(); in CreateTempFileNoCopy()
3873 if( !pImp->bIsCharsetInitialized ) in GetCharset()
3878 pImp->bIsCharsetInitialized = sal_True; in GetCharset()
3882 Any aAny = pImp->aContent.getPropertyValue( ::rtl::OUString::createFromAscii( "MediaType" ) ); in GetCharset()
3894 pImp->aCharset = pCharset->m_sValue; in GetCharset()
3903 return pImp->aCharset; in GetCharset()
3908 pImp->bIsCharsetInitialized = sal_True; in SetCharset()
3909 pImp->aCharset = aChs; in SetCharset()
3941 if ( !pImp->xStream.is() ) in SignContents_Impl()
3944 …mphelper::OStorageHelper::GetStorageOfFormatFromStream( ZIP_STORAGE_FORMAT_STRING, pImp->xStream ); in SignContents_Impl()
4032 return pImp->m_nSignatureState; in GetCachedSignatureState_Impl()
4038 pImp->m_nSignatureState = nState; in SetCachedSignatureState_Impl()
4043 return pImp->xStorage.is(); in HasStorage_Impl()
4048 return pInStream || pOutStream || pImp->xStorage.is(); in IsOpen()
4163 if ( pImp->xStream.is() ) in SwitchDocumentToTempFile()
4167 xOptStorage->writeAndAttachToStream( pImp->xStream ); in SwitchDocumentToTempFile()
4168 pImp->xStorage = xStorage; in SwitchDocumentToTempFile()
4187 pImp->xStorage = xStorage; in SwitchDocumentToTempFile()
4221 if ( pImp->xStream.is() ) in SwitchDocumentToFile()
4225 … uno::Reference< io::XTruncate > xTruncate( pImp->xStream, uno::UNO_QUERY_THROW ); in SwitchDocumentToFile()
4229 xOptStorage->writeAndAttachToStream( pImp->xStream ); in SwitchDocumentToFile()
4230 pImp->xStorage = xStorage; in SwitchDocumentToFile()
4243 pImp->xStorage = xStorage; in SwitchDocumentToFile()