Lines Matching refs:rVisRect

249     const Rectangle& rVisRect = GetVisRect( pVisRect );  in FitCaptionToRect()  local
253 aTailPos.X() = ::std::max( ::std::min( aTailPos.X(), rVisRect.Right() ), rVisRect.Left() ); in FitCaptionToRect()
254 aTailPos.Y() = ::std::max( ::std::min( aTailPos.Y(), rVisRect.Bottom() ), rVisRect.Top() ); in FitCaptionToRect()
261 aCaptPos.X() = ::std::min< long >( aCaptPos.X(), rVisRect.Right() - aCaptRect.GetWidth() ); in FitCaptionToRect()
263 aCaptPos.X() = ::std::max< long >( aCaptPos.X(), rVisRect.Left() ); in FitCaptionToRect()
265 aCaptPos.Y() = ::std::min< long >( aCaptPos.Y(), rVisRect.Bottom() - aCaptRect.GetHeight() ); in FitCaptionToRect()
267 aCaptPos.Y() = ::std::max< long >( aCaptPos.Y(), rVisRect.Top() ); in FitCaptionToRect()
275 const Rectangle& rVisRect = GetVisRect( pVisRect ); in AutoPlaceCaption() local
283 long nLeftSpace = maCellRect.Left() - rVisRect.Left() + 1; in AutoPlaceCaption()
284 long nRightSpace = rVisRect.Right() - maCellRect.Right() + 1; in AutoPlaceCaption()
285 long nTopSpace = maCellRect.Top() - rVisRect.Top() + 1; in AutoPlaceCaption()
286 long nBottomSpace = rVisRect.Bottom() - maCellRect.Bottom() + 1; in AutoPlaceCaption()
295 …bool bFitsWidth = nWidth <= rVisRect.GetWidth(); // text box width fits into width of visib… in AutoPlaceCaption()
300 …bool bFitsHeight = nHeight <= rVisRect.GetHeight(); // text box height fits into height of vis… in AutoPlaceCaption()
791 const OUString& rUserText, const Rectangle& rVisRect, bool bTailFront ) in CreateTempCaption() argument
810 rVisRect.Left() + SC_NOTECAPTION_BORDERDIST_TEMP, in CreateTempCaption()
811 rVisRect.Top() + SC_NOTECAPTION_BORDERDIST_TEMP, in CreateTempCaption()
812 rVisRect.Right() - SC_NOTECAPTION_BORDERDIST_TEMP, in CreateTempCaption()
813 rVisRect.Bottom() - SC_NOTECAPTION_BORDERDIST_TEMP ); in CreateTempCaption()