Lines Matching refs:pImp
182 pImp( new SvxPosSizeStatusBarControl_Impl ) in SvxPosSizeStatusBarControl()
184 pImp->bPos = sal_False; in SvxPosSizeStatusBarControl()
185 pImp->bSize = sal_False; in SvxPosSizeStatusBarControl()
186 pImp->bTable = sal_False; in SvxPosSizeStatusBarControl()
187 pImp->bHasMenu = sal_False; in SvxPosSizeStatusBarControl()
188 pImp->nFunction = 0; in SvxPosSizeStatusBarControl()
190 pImp->aPosImage = Image( SVX_RES( bHC ? RID_SVXBMP_POSITION_H : RID_SVXBMP_POSITION ) ); in SvxPosSizeStatusBarControl()
191 pImp->aSizeImage = Image( SVX_RES( bHC ? RID_SVXBMP_SIZE_H : RID_SVXBMP_SIZE ) ); in SvxPosSizeStatusBarControl()
208 delete pImp; in ~SvxPosSizeStatusBarControl()
249 pImp->bHasMenu = sal_True; in StateChanged()
251 pImp->nFunction = ((const SfxUInt16Item*)pState)->GetValue(); in StateChanged()
254 pImp->bHasMenu = sal_False; in StateChanged()
262 pImp->bTable = sal_False; in StateChanged()
264 pImp->bPos = sal_False; in StateChanged()
266 pImp->bSize = sal_False; in StateChanged()
275 pImp->aPos = ( (SfxPointItem*)pState )->GetValue(); in StateChanged()
276 pImp->bPos = sal_True; in StateChanged()
277 pImp->bTable = sal_False; in StateChanged()
282 pImp->aSize = ( (SvxSizeItem*)pState )->GetSize(); in StateChanged()
283 pImp->bSize = sal_True; in StateChanged()
284 pImp->bTable = sal_False; in StateChanged()
289 pImp->aStr = ( (SfxStringItem*)pState )->GetValue(); in StateChanged()
290 pImp->bTable = sal_True; in StateChanged()
291 pImp->bPos = sal_False; in StateChanged()
292 pImp->bSize = sal_False; in StateChanged()
298 pImp->bPos = sal_False; in StateChanged()
299 pImp->bSize = sal_False; in StateChanged()
300 pImp->bTable = sal_False; in StateChanged()
309 if ( pImp->bTable ) in StateChanged()
310 aText = pImp->aStr; in StateChanged()
323 if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU && pImp->bHasMenu ) in Command()
325 sal_uInt16 nSelect = pImp->nFunction; in Command()
374 if ( pImp->bPos || pImp->bSize ) in Paint()
383 pDev->DrawImage( aPnt, pImp->aPosImage ); in Paint()
384 aPnt.X() += pImp->aPosImage.GetSizePixel().Width(); in Paint()
386 String aStr = GetMetricStr_Impl( pImp->aPos.X()); in Paint()
388 aStr += GetMetricStr_Impl( pImp->aPos.Y()); in Paint()
396 if ( pImp->bSize ) in Paint()
398 pDev->DrawImage( aPnt, pImp->aSizeImage ); in Paint()
399 aPnt.X() += pImp->aSizeImage.GetSizePixel().Width(); in Paint()
402 aStr = GetMetricStr_Impl( pImp->aSize.Width() ); in Paint()
404 aStr += GetMetricStr_Impl( pImp->aSize.Height() ); in Paint()
411 else if ( pImp->bTable ) in Paint()
415 rRect.Left() + rRect.GetWidth() / 2 - pDev->GetTextWidth( pImp->aStr ) / 2, in Paint()
416 aItemPos.Y() ), pImp->aStr ); in Paint()