Lines Matching refs:pImp

181 	pImp( new SvxPosSizeStatusBarControl_Impl )  in SvxPosSizeStatusBarControl()
183 pImp->bPos = sal_False; in SvxPosSizeStatusBarControl()
184 pImp->bSize = sal_False; in SvxPosSizeStatusBarControl()
185 pImp->bTable = sal_False; in SvxPosSizeStatusBarControl()
186 pImp->bHasMenu = sal_False; in SvxPosSizeStatusBarControl()
187 pImp->nFunction = 0; in SvxPosSizeStatusBarControl()
189 pImp->aPosImage = Image( SVX_RES( bHC ? RID_SVXBMP_POSITION_H : RID_SVXBMP_POSITION ) ); in SvxPosSizeStatusBarControl()
190 pImp->aSizeImage = Image( SVX_RES( bHC ? RID_SVXBMP_SIZE_H : RID_SVXBMP_SIZE ) ); in SvxPosSizeStatusBarControl()
207 delete pImp; in ~SvxPosSizeStatusBarControl()
248 pImp->bHasMenu = sal_True; in StateChanged()
250 pImp->nFunction = ((const SfxUInt16Item*)pState)->GetValue(); in StateChanged()
253 pImp->bHasMenu = sal_False; in StateChanged()
261 pImp->bTable = sal_False; in StateChanged()
263 pImp->bPos = sal_False; in StateChanged()
265 pImp->bSize = sal_False; in StateChanged()
274 pImp->aPos = ( (SfxPointItem*)pState )->GetValue(); in StateChanged()
275 pImp->bPos = sal_True; in StateChanged()
276 pImp->bTable = sal_False; in StateChanged()
281 pImp->aSize = ( (SvxSizeItem*)pState )->GetSize(); in StateChanged()
282 pImp->bSize = sal_True; in StateChanged()
283 pImp->bTable = sal_False; in StateChanged()
288 pImp->aStr = ( (SfxStringItem*)pState )->GetValue(); in StateChanged()
289 pImp->bTable = sal_True; in StateChanged()
290 pImp->bPos = sal_False; in StateChanged()
291 pImp->bSize = sal_False; in StateChanged()
297 pImp->bPos = sal_False; in StateChanged()
298 pImp->bSize = sal_False; in StateChanged()
299 pImp->bTable = sal_False; in StateChanged()
308 if ( pImp->bTable ) in StateChanged()
309 aText = pImp->aStr; in StateChanged()
322 if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU && pImp->bHasMenu ) in Command()
324 sal_uInt16 nSelect = pImp->nFunction; in Command()
373 if ( pImp->bPos || pImp->bSize ) in Paint()
382 pDev->DrawImage( aPnt, pImp->aPosImage ); in Paint()
383 aPnt.X() += pImp->aPosImage.GetSizePixel().Width(); in Paint()
385 String aStr = GetMetricStr_Impl( pImp->aPos.X()); in Paint()
387 aStr += GetMetricStr_Impl( pImp->aPos.Y()); in Paint()
395 if ( pImp->bSize ) in Paint()
397 pDev->DrawImage( aPnt, pImp->aSizeImage ); in Paint()
398 aPnt.X() += pImp->aSizeImage.GetSizePixel().Width(); in Paint()
401 aStr = GetMetricStr_Impl( pImp->aSize.Width() ); in Paint()
403 aStr += GetMetricStr_Impl( pImp->aSize.Height() ); in Paint()
410 else if ( pImp->bTable ) in Paint()
414 rRect.Left() + rRect.GetWidth() / 2 - pDev->GetTextWidth( pImp->aStr ) / 2, in Paint()
415 aItemPos.Y() ), pImp->aStr ); in Paint()