Lines Matching refs:rpDescriptor
43 PreviewCreationRequest (const SharedMasterPageDescriptor& rpDescriptor, int nPriority) in PreviewCreationRequest() argument
44 : mpDescriptor(rpDescriptor), in PreviewCreationRequest()
134 bool MasterPageContainerQueue::RequestPreview (const SharedMasterPageDescriptor& rpDescriptor) in RequestPreview() argument
137 if (rpDescriptor.get() != NULL in RequestPreview()
138 && rpDescriptor->maLargePreview.GetSizePixel().Width() == 0) in RequestPreview()
140 sal_Int32 nPriority (CalculatePriority(rpDescriptor)); in RequestPreview()
146 PreviewCreationRequest::CompareToken(rpDescriptor->maToken))); in RequestPreview()
159 mpRequestQueue->insert(PreviewCreationRequest(rpDescriptor,nPriority)); in RequestPreview()
171 const SharedMasterPageDescriptor& rpDescriptor) const in CalculatePriority()
177 if (rpDescriptor->mpPreviewProvider.get() != NULL) in CalculatePriority()
179 nCost = rpDescriptor->mpPreviewProvider->GetCostIndex(); in CalculatePriority()
180 if (rpDescriptor->mpPreviewProvider->NeedsPageObject()) in CalculatePriority()
181 if (rpDescriptor->mpPageObjectProvider.get() != NULL) in CalculatePriority()
182 nCost += rpDescriptor->mpPageObjectProvider->GetCostIndex(); in CalculatePriority()
191 nPriority -= rpDescriptor->maToken / 3; in CalculatePriority()
194 if (rpDescriptor->meOrigin == MasterPageContainer::MASTERPAGE) in CalculatePriority()