Lines Matching refs:pDescriptor
308 SharedMasterPageDescriptor pDescriptor = mpImpl->GetDescriptor(aToken); in AcquireToken() local
309 if (pDescriptor.get() != NULL) in AcquireToken()
311 ++pDescriptor->mnUseCount; in AcquireToken()
320 SharedMasterPageDescriptor pDescriptor = mpImpl->GetDescriptor(aToken); in ReleaseToken() local
321 if (pDescriptor.get() != NULL) in ReleaseToken()
323 OSL_ASSERT(pDescriptor->mnUseCount>0); in ReleaseToken()
324 --pDescriptor->mnUseCount; in ReleaseToken()
325 if (pDescriptor->mnUseCount <= 0) in ReleaseToken()
327 switch (pDescriptor->meOrigin) in ReleaseToken()
448 SharedMasterPageDescriptor pDescriptor = mpImpl->GetDescriptor(aToken); in GetURLForToken() local
449 if (pDescriptor.get() != NULL) in GetURLForToken()
450 return pDescriptor->msURL; in GetURLForToken()
463 SharedMasterPageDescriptor pDescriptor = mpImpl->GetDescriptor(aToken); in GetPageNameForToken() local
464 if (pDescriptor.get() != NULL) in GetPageNameForToken()
465 return pDescriptor->msPageName; in GetPageNameForToken()
478 SharedMasterPageDescriptor pDescriptor = mpImpl->GetDescriptor(aToken); in GetStyleNameForToken() local
479 if (pDescriptor.get() != NULL) in GetStyleNameForToken()
480 return pDescriptor->msStyleName; in GetStyleNameForToken()
495 SharedMasterPageDescriptor pDescriptor = mpImpl->GetDescriptor(aToken); in GetPageObjectForToken() local
496 if (pDescriptor.get() != NULL) in GetPageObjectForToken()
498 pPageObject = pDescriptor->mpMasterPage; in GetPageObjectForToken()
506 if (mpImpl->UpdateDescriptor(pDescriptor,bLoad,false, true)) in GetPageObjectForToken()
507 pPageObject = pDescriptor->mpMasterPage; in GetPageObjectForToken()
520 SharedMasterPageDescriptor pDescriptor = mpImpl->GetDescriptor(aToken); in GetOriginForToken() local
521 if (pDescriptor.get() != NULL) in GetOriginForToken()
522 return pDescriptor->meOrigin; in GetOriginForToken()
534 SharedMasterPageDescriptor pDescriptor = mpImpl->GetDescriptor(aToken); in GetTemplateIndexForToken() local
535 if (pDescriptor.get() != NULL) in GetTemplateIndexForToken()
536 return pDescriptor->mnTemplateIndex; in GetTemplateIndexForToken()
875 SharedMasterPageDescriptor pDescriptor (GetDescriptor(aToken)); in InvalidatePreview() local
876 if (pDescriptor.get() != NULL) in InvalidatePreview()
878 pDescriptor->maSmallPreview = Image(); in InvalidatePreview()
879 pDescriptor->maLargePreview = Image(); in InvalidatePreview()
896 SharedMasterPageDescriptor pDescriptor = GetDescriptor(aToken); in GetPreviewForToken() local
900 if (pDescriptor.get()!=NULL) in GetPreviewForToken()
903 if (UpdateDescriptor(pDescriptor, false,false, true)) in GetPreviewForToken()
904 if (pDescriptor->maLargePreview.GetSizePixel().Width() != 0) in GetPreviewForToken()
910 aPreview = pDescriptor->GetPreview(ePreviewSize); in GetPreviewForToken()
930 pDescriptor->maSmallPreview = aPreview; in GetPreviewForToken()
932 pDescriptor->maLargePreview = aPreview; in GetPreviewForToken()
950 SharedMasterPageDescriptor pDescriptor = GetDescriptor(aToken); in GetPreviewState() local
951 if (pDescriptor.get() != NULL) in GetPreviewState()
953 if (pDescriptor->maLargePreview.GetSizePixel().Width() != 0) in GetPreviewState()
955 else if (pDescriptor->mpPreviewProvider.get() != NULL) in GetPreviewState()
976 SharedMasterPageDescriptor pDescriptor = GetDescriptor(aToken); in RequestPreview() local
977 if (pDescriptor.get() != NULL) in RequestPreview()
978 return mpRequestQueue->RequestPreview(pDescriptor); in RequestPreview()