Lines Matching refs:pImp
191 pImp->bIsAbortingImport = sal_True; in AbortImport()
198 return pImp->bIsAbortingImport; in IsAbortingImport()
262 if(pImp->lErr==ERRCODE_NONE) in SetError()
264 pImp->lErr=lErr; in SetError()
282 sal_uInt32 lError=pImp->lErr; in GetErrorCode()
292 if( pImp->lErr != ERRCODE_NONE ) in ResetError()
295 pImp->lErr=0; in ResetError()
305 return pImp->bIsTemplate; in IsTemplate()
312 pImp->bIsTemplate=bIs; in SetTemplate()
324 if ( bEnable == pImp->m_bEnableSetModified ) in EnableSetModified()
327 pImp->m_bEnableSetModified = bEnable; in EnableSetModified()
334 return pImp->m_bEnableSetModified && !IsReadOnly(); in IsEnableSetModified()
341 if ( pImp->m_bIsModified ) in IsModified()
344 if ( !pImp->m_xDocStorage.is() || IsReadOnly() ) in IsModified()
389 if( pImp->m_bIsModified != bModifiedP ) in SetModified()
391 pImp->m_bIsModified = bModifiedP; in SetModified()
400 if ( pImp->bClosing ) in ModifyChanged()
429 return pImp->bReadOnlyUI; in IsReadOnlyUI()
459 pImp->bReadOnlyUI = bReadOnly; in SetReadOnlyUI()
498 return pImp->bReadOnlyUI || IsReadOnlyMedium(); in IsReadOnly()
505 return pImp->bModalMode || pImp->bRunningMacro; in IsInModalMode()
535 if ( !pImp->bRunningMacro != !bModal ) in SetMacroMode_Impl()
537 pImp->bRunningMacro = bModal; in SetMacroMode_Impl()
547 if ( !pImp->bModalMode != !bModal ) in SetModalMode_Impl()
557 pImp->bModalMode = bModal; in SetModalMode_Impl()
627 pImp->m_aSharedFileURL = aOrigURL; in SwitchToShared()
634 pImp->m_aSharedFileURL = ::rtl::OUString(); in SwitchToShared()
734 if ( pImp->m_bAllowShareControlFileClean ) in FreeSharedFile()
747 pImp->m_bAllowShareControlFileClean = sal_True; in FreeSharedFile()
752 pImp->m_aSharedFileURL = ::rtl::OUString(); in FreeSharedFile()
759 pImp->m_bAllowShareControlFileClean = sal_False; in DoNotCleanShareControlFile()
765 pImp->m_bSharedXMLFlag = bFlag; in SetSharedXMLFlag()
771 return pImp->m_bSharedXMLFlag; in HasSharedXMLFlagSet()
778 return ( pImp->m_aSharedFileURL.getLength() > 0 ); in IsDocShared()
785 return pImp->m_aSharedFileURL; in GetSharedFileURL()
800 return pImp->aBitSet; in GetNoSet_Impl()
823 if ( ( ( HasName() && pImp->aTitle == rTitle ) in SetTitle()
835 pSfxApp->ReleaseIndex(pImp->nVisualDocumentNumber); in SetTitle()
836 pImp->bIsNamedVisible=0; in SetTitle()
841 if ( pImp->bIsNamedVisible && USHRT_MAX != pImp->nVisualDocumentNumber ) in SetTitle()
843 pSfxApp->ReleaseIndex(pImp->nVisualDocumentNumber); in SetTitle()
844 pImp->bIsNamedVisible = 0; in SetTitle()
848 pImp->aTitle = rTitle; in SetTitle()
942 if ( SFX_TITLE_DETECT == nMaxLength && !pImp->aTitle.Len() ) in GetTitle()
971 if( IsTemplate() && pImp->aTitle.Len() && in GetTitle()
973 return X(pImp->aTitle); in GetTitle()
992 if ( pImp->aTitle.Len() ) in GetTitle()
993 return X(pImp->aTitle); in GetTitle()
997 if ( pImp->bIsNamedVisible ) in GetTitle()
999 aNoName += String::CreateFromInt32( pImp->nVisualDocumentNumber ); in GetTitle()
1025 else if ( !pImp->aTitle.Len() ) in GetTitle()
1026 pImp->aTitle = aURL.getBase( INetURLObject::LAST_SEGMENT, in GetTitle()
1056 if ( !pImp->aTitle.Len() ) in GetTitle()
1057 pImp->aTitle = aURL.GetBase(); in GetTitle()
1060 if ( !pImp->aTitle.Len() ) in GetTitle()
1061 pImp->aTitle = aURL.GetMainURL( INetURLObject::DECODE_WITH_CHARSET ); in GetTitle()
1065 return X(pImp->aTitle); in GetTitle()
1080 pImp->aTitle.Erase(); in InvalidateName()
1093 if ( !pImp->bIsNamedVisible ) in SetNamedVisibility_Impl()
1096 pImp->bIsNamedVisible = sal_True; in SetNamedVisibility_Impl()
1098 if ( !HasName() && USHRT_MAX == pImp->nVisualDocumentNumber && !pImp->aTitle.Len() ) in SetNamedVisibility_Impl()
1100 pImp->nVisualDocumentNumber = SFX_APP()->GetFreeIndex(); in SetNamedVisibility_Impl()
1125 return pImp->pProgress; in GetProgress()
1143 DBG_ASSERT( ( !pImp->pProgress && pProgress ) || in SetProgress_Impl()
1144 ( pImp->pProgress && !pProgress ), in SetProgress_Impl()
1146 pImp->pProgress = pProgress; in SetProgress_Impl()
1159 sal_uInt16 nId = pImp->nEventId; in PostActivateEvent_Impl()
1160 pImp->nEventId = 0; in PostActivateEvent_Impl()
1174 pImp->nEventId = nId; in SetActivateEvent_Impl()
1207 ++pImp->nAutoLoadLocks; in LockAutoLoad()
1209 --pImp->nAutoLoadLocks; in LockAutoLoad()
1241 return !IsReadOnly() || pImp->nAutoLoadLocks > 0; in IsAutoLoadLocked()
1247 pImp->m_bMacroSignBroken = bBreakMacroSign; in BreakMacroSign_Impl()
1263 pImp->aMacroMode.checkMacrosOnLoading( xInteraction ); in CheckSecurityOnLoading_Impl()
1289 if ( !pImp->m_bIncomplEncrWarnShown ) in CheckEncryption_Impl()
1296 pImp->m_bIncomplEncrWarnShown = sal_True; in CheckEncryption_Impl()
1300 pImp->aMacroMode.disallowMacroExecution(); in CheckEncryption_Impl()
1313 pImp->showBrokenSignatureWarning( xHandler ); in CheckForBrokenDocSignatures_Impl()
1316 pImp->aMacroMode.disallowMacroExecution(); in CheckForBrokenDocSignatures_Impl()
1323 if ( pImp->pReloadTimer ) in SetAutoLoad()
1324 DELETEZ(pImp->pReloadTimer); in SetAutoLoad()
1327 pImp->pReloadTimer = new AutoReloadTimer_Impl( in SetAutoLoad()
1330 pImp->pReloadTimer->Start(); in SetAutoLoad()
1336 return ( pImp->nLoadedFlags == SFX_LOADED_ALL ); in IsLoadingFinished()
1342 if ( !pImp->bModelInitialized ) in InitOwnModel_Impl()
1347 pImp->aTempName = pMedium->GetPhysicalName(); in InitOwnModel_Impl()
1372 pImp->bModelInitialized = sal_True; in InitOwnModel_Impl()
1380 if( ( nFlags & SFX_LOADED_MAINDOCUMENT ) && !(pImp->nLoadedFlags & SFX_LOADED_MAINDOCUMENT ) in FinishedLoading()
1381 && !(pImp->nFlagsInProgress & SFX_LOADED_MAINDOCUMENT )) in FinishedLoading()
1383 pImp->nFlagsInProgress |= SFX_LOADED_MAINDOCUMENT; in FinishedLoading()
1385 pImp->bImportDone = sal_True; in FinishedLoading()
1407 pImp->nFlagsInProgress &= ~SFX_LOADED_MAINDOCUMENT; in FinishedLoading()
1410 if( ( nFlags & SFX_LOADED_IMAGES ) && !(pImp->nLoadedFlags & SFX_LOADED_IMAGES ) in FinishedLoading()
1411 && !(pImp->nFlagsInProgress & SFX_LOADED_IMAGES )) in FinishedLoading()
1413 pImp->nFlagsInProgress |= SFX_LOADED_IMAGES; in FinishedLoading()
1423 pImp->nFlagsInProgress &= ~SFX_LOADED_IMAGES; in FinishedLoading()
1426 pImp->nLoadedFlags |= nFlags; in FinishedLoading()
1428 if ( !pImp->nFlagsInProgress ) in FinishedLoading()
1438 …if ( (pImp->nLoadedFlags & SFX_LOADED_MAINDOCUMENT ) && (pImp->nLoadedFlags & SFX_LOADED_IMAGES ) ) in FinishedLoading()
1463 if ( pImp->nEventId ) in FinishedLoading()
1580 return !( pImp->nLoadedFlags & SFX_LOADED_MAINDOCUMENT ); in IsLoading()
1590 if( ( pImp->nLoadedFlags & SFX_LOADED_ALL ) != SFX_LOADED_ALL ) in CancelTransfers()
1773 if( pImp->eFlags == SFXOBJECTSHELL_UNDEFINED ) in GetFlags()
1774 pImp->eFlags = GetFactory().GetFlags(); in GetFlags()
1775 return pImp->eFlags; in GetFlags()
1780 pImp->eFlags = eFlags; in SetFlags()
1855 if( !pImp->xHeaderAttributes.Is() ) in GetHeaderAttributes()
1858 pImp->xHeaderAttributes = new SfxHeaderAttributes_Impl( this ); in GetHeaderAttributes()
1860 return ( SvKeyValueIterator*) &pImp->xHeaderAttributes; in GetHeaderAttributes()
1984 return pImp->aMacroMode.adjustMacroMode( xInteraction ); in AdjustMacroMode()
2319 if ( !pImp->m_xLogRing.is() ) in AddLog()
2325 …pImp->m_xLogRing.set( aContext.getSingleton( "com.sun.star.logging.DocumentIOLogRing" ), UNO_QUERY… in AddLog()
2331 if ( pImp->m_xLogRing.is() ) in AddLog()
2332 pImp->m_xLogRing->logString( aMessage ); in AddLog()
2355 if ( !pImp->m_xLogRing.is() ) in StoreLog()
2361 …pImp->m_xLogRing.set( aContext.getSingleton( "com.sun.star.logging.DocumentIOLogRing" ), UNO_QUERY… in StoreLog()
2367 if ( pImp->m_xLogRing.is() ) in StoreLog()
2400 uno::Sequence< ::rtl::OUString > aLogSeq = pImp->m_xLogRing->getCollectedLog(); in StoreLog()