Lines Matching refs:pImp
137 if ( pImp->xRecorder.is() && !pImp->bDone && !pImp->bIgnored ) in ~SfxRequest()
138 pImp->Record( uno::Sequence < beans::PropertyValue >() ); in ~SfxRequest()
142 if ( pImp->pRetVal ) in ~SfxRequest()
143 DeleteItemOnIdle(pImp->pRetVal); in ~SfxRequest()
144 delete pImp; in ~SfxRequest()
156 pImp( new SfxRequest_Impl(this) ) in SfxRequest()
160 pImp->bAllowRecording = rOrig.pImp->bAllowRecording; in SfxRequest()
161 pImp->bDone = sal_False; in SfxRequest()
162 pImp->bIgnored = sal_False; in SfxRequest()
163 pImp->pRetVal = 0; in SfxRequest()
164 pImp->pShell = 0; in SfxRequest()
165 pImp->pSlot = 0; in SfxRequest()
166 pImp->nCallMode = rOrig.pImp->nCallMode; in SfxRequest()
167 pImp->bUseTarget = rOrig.pImp->bUseTarget; in SfxRequest()
168 pImp->aTarget = rOrig.pImp->aTarget; in SfxRequest()
169 pImp->nModifier = rOrig.pImp->nModifier; in SfxRequest()
172 …pImp->pInternalArgs = (rOrig.pImp->pInternalArgs ? new SfxAllItemSet(*rOrig.pImp->pInternalArgs) :… in SfxRequest()
175 pImp->SetPool( pArgs->GetPool() ); in SfxRequest()
177 pImp->SetPool( rOrig.pImp->pPool ); in SfxRequest()
200 pImp( new SfxRequest_Impl(this) ) in SfxRequest()
204 pImp->bDone = sal_False; in SfxRequest()
205 pImp->bIgnored = sal_False; in SfxRequest()
206 pImp->SetPool( &pViewFrame->GetPool() ); in SfxRequest()
207 pImp->pRetVal = 0; in SfxRequest()
208 pImp->pShell = 0; in SfxRequest()
209 pImp->pSlot = 0; in SfxRequest()
210 pImp->nCallMode = SFX_CALLMODE_SYNCHRON; in SfxRequest()
211 pImp->bUseTarget = sal_False; in SfxRequest()
212 pImp->pViewFrame = pViewFrame; in SfxRequest()
213 …if( pImp->pViewFrame->GetDispatcher()->GetShellAndSlot_Impl( nSlotId, &pImp->pShell, &pImp->pSlot,… in SfxRequest()
215 pImp->SetPool( &pImp->pShell->GetPool() ); in SfxRequest()
216 pImp->xRecorder = SfxRequest::GetMacroRecorder( pViewFrame ); in SfxRequest()
217 pImp->aTarget = pImp->pShell->GetName(); in SfxRequest()
223 aStr += ByteString::CreateFromInt32( pImp->pPool->GetSlotId(nSlotId) ); in SfxRequest()
243 pImp( new SfxRequest_Impl(this) ) in SfxRequest()
247 pImp->bDone = sal_False; in SfxRequest()
248 pImp->bIgnored = sal_False; in SfxRequest()
249 pImp->SetPool( &rPool ); in SfxRequest()
250 pImp->pRetVal = 0; in SfxRequest()
251 pImp->pShell = 0; in SfxRequest()
252 pImp->pSlot = 0; in SfxRequest()
253 pImp->nCallMode = nMode; in SfxRequest()
254 pImp->bUseTarget = sal_False; in SfxRequest()
266 pImp( new SfxRequest_Impl(this) ) in SfxRequest()
270 pImp->bDone = sal_False; in SfxRequest()
271 pImp->bIgnored = sal_False; in SfxRequest()
272 pImp->SetPool( &rPool ); in SfxRequest()
273 pImp->pRetVal = 0; in SfxRequest()
274 pImp->pShell = 0; in SfxRequest()
275 pImp->pSlot = 0; in SfxRequest()
276 pImp->nCallMode = nMode; in SfxRequest()
277 pImp->bUseTarget = sal_False; in SfxRequest()
294 pImp( new SfxRequest_Impl(this) ) in SfxRequest()
298 pImp->bDone = sal_False; in SfxRequest()
299 pImp->bIgnored = sal_False; in SfxRequest()
300 pImp->SetPool( rSfxArgs.GetPool() ); in SfxRequest()
301 pImp->pRetVal = 0; in SfxRequest()
302 pImp->pShell = 0; in SfxRequest()
303 pImp->pSlot = 0; in SfxRequest()
304 pImp->nCallMode = nMode; in SfxRequest()
305 pImp->bUseTarget = sal_False; in SfxRequest()
311 return pImp->nCallMode; in GetCallMode()
318 return SFX_CALLMODE_SYNCHRON == ( SFX_CALLMODE_SYNCHRON & pImp->nCallMode ); in IsSynchronCall()
326 pImp->nCallMode |= SFX_CALLMODE_SYNCHRON; in SetSynchronCall()
328 pImp->nCallMode &= ~(sal_uInt16) SFX_CALLMODE_SYNCHRON; in SetSynchronCall()
333 delete pImp->pInternalArgs; in SetInternalArgs_Impl()
334 pImp->pInternalArgs = new SfxAllItemSet( rArgs ); in SetInternalArgs_Impl()
339 return pImp->pInternalArgs; in GetInternalArgs_Impl()
428 pImp->pShell = &rSh; in Record_Impl()
429 pImp->pSlot = &rSlot; in Record_Impl()
430 pImp->xRecorder = xRecorder; in Record_Impl()
431 pImp->aTarget = rSh.GetName(); in Record_Impl()
432 pImp->pViewFrame = pViewFrame; in Record_Impl()
441 pImp->SetPool( pArgs->GetPool() ); in SetArgs()
449 pArgs = new SfxAllItemSet(*pImp->pPool); in AppendItem()
551 DBG_ASSERT(!pImp->pRetVal, "Returnwert mehrfach setzen?"); in SetReturnValue()
552 if(pImp->pRetVal) in SetReturnValue()
553 delete pImp->pRetVal; in SetReturnValue()
554 pImp->pRetVal = rItem.Clone(); in SetReturnValue()
561 return pImp->pRetVal; in GetReturnValue()
614 pImp->SetPool( pArgs->GetPool() ); in Done()
646 DELETEZ( pImp->pInternalArgs ); in ForgetAllArgs()
653 return pImp->bCancelled; in IsCancelled()
667 pImp->bCancelled = sal_True; in Cancel()
668 pImp->SetPool( 0 ); in Cancel()
693 pImp->bIgnored = sal_True; in Ignore()
714 pImp->bDone = sal_True; in Done_Impl()
717 if ( !pImp->xRecorder.is() ) in Done_Impl()
721 if ( nSlot != pImp->pSlot->GetSlotId() ) in Done_Impl()
724 pImp->pSlot = pImp->pShell->GetInterface()->GetSlot(nSlot); in Done_Impl()
725 DBG_ASSERT( pImp->pSlot, "delegated SlotId not found" ); in Done_Impl()
726 if ( !pImp->pSlot ) // Hosentr"ger und G"urtel in Done_Impl()
732 if ( !pImp->pSlot->pUnoName ) in Done_Impl()
735 aStr += ByteString::CreateFromInt32( pImp->pSlot->GetSlotId() ); in Done_Impl()
739 if ( !pImp->pSlot->pUnoName ) // Hosentr"ger und G"urtel in Done_Impl()
743 SfxItemPool &rPool = pImp->pShell->GetPool(); in Done_Impl()
746 if ( !pImp->pSlot->IsMode(SFX_SLOT_METHOD) ) in Done_Impl()
750 sal_uInt16 nWhich = rPool.GetWhich(pImp->pSlot->GetSlotId()); in Done_Impl()
756 aStr += ByteString::CreateFromInt32( pImp->pSlot->GetSlotId() ); in Done_Impl()
762 TransformItems( pImp->pSlot->GetSlotId(), *pSet, aSeq, pImp->pSlot ); in Done_Impl()
763 pImp->Record( aSeq ); in Done_Impl()
767 else if ( pImp->pSlot->IsMode(SFX_SLOT_RECORDPERSET) ) in Done_Impl()
771 TransformItems( pImp->pSlot->GetSlotId(), *pSet, aSeq, pImp->pSlot ); in Done_Impl()
772 pImp->Record( aSeq ); in Done_Impl()
776 else if ( pImp->pSlot->IsMode(SFX_SLOT_RECORDPERITEM) ) in Done_Impl()
790 SfxSlot *pSlot = (SfxSlot*) pImp->pSlot; in Done_Impl()
796 SfxRequest aReq( pImp->pViewFrame, nSlotId ); in Done_Impl()
797 if ( aReq.pImp->pSlot ) in Done_Impl()
805 pImp->Record( uno::Sequence < beans::PropertyValue >() ); in Done_Impl()
832 return pImp->bDone; in IsDone()
897 return SFX_CALLMODE_API == ( SFX_CALLMODE_API & pImp->nCallMode ); in IsAPI()
921 pImp->nModifier = nModi; in SetModifier()
927 return pImp->nModifier; in GetModifier()
952 pImp->aTarget = rTarget; in SetTarget()
953 pImp->bUseTarget = sal_True; in SetTarget()
958 pImp->bAllowRecording = bSet; in AllowRecording()
963 sal_Bool bAllow = pImp->bAllowRecording; in AllowsRecording()
965 bAllow = ( SFX_CALLMODE_API != ( SFX_CALLMODE_API & pImp->nCallMode ) ) && in AllowsRecording()
966 ( SFX_CALLMODE_RECORD == ( SFX_CALLMODE_RECORD & pImp->nCallMode ) ); in AllowsRecording()
973 DELETEZ( pImp->pInternalArgs ); in ReleaseArgs()