Lines Matching refs:aUnoPoint
321 awt::Point aUnoPoint; in lcl_GetRelativePos() local
322 rRange = lcl_GetAnchorCell(xShape, pDoc, nTab, aUnoPoint, rUnoSize, rCaptionPoint); in lcl_GetRelativePos()
327 aUnoPoint.X -= aPoint.X(); in lcl_GetRelativePos()
328 aUnoPoint.Y -= aPoint.Y(); in lcl_GetRelativePos()
332 … ScRange aRange = pDoc->GetRange( nTab, Rectangle( VCLPoint(aUnoPoint), VCLPoint(aUnoPoint) )); in lcl_GetRelativePos()
335 aUnoPoint.X -= aPoint.X(); in lcl_GetRelativePos()
336 aUnoPoint.Y -= aPoint.Y(); in lcl_GetRelativePos()
339 return aUnoPoint; in lcl_GetRelativePos()
409 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in setPropertyValue() local
411 aUnoPoint.X += aPoint.X(); in setPropertyValue()
412 aUnoPoint.Y += aPoint.Y(); in setPropertyValue()
414 if ( aUnoPoint.Y > aEndPoint.Y() ) in setPropertyValue()
415 aUnoPoint.Y = aEndPoint.Y() - 2; in setPropertyValue()
418 if ( aUnoPoint.X < aEndPoint.X() ) in setPropertyValue()
419 aUnoPoint.X = aEndPoint.X() + 2; in setPropertyValue()
420 aUnoPoint.X -= aUnoSize.Width; in setPropertyValue()
423 aUnoPoint.X -= aCaptionPoint.X - aUnoSize.Width; in setPropertyValue()
427 if ( aUnoPoint.X > aEndPoint.X() ) in setPropertyValue()
428 aUnoPoint.X = aEndPoint.X() - 2; in setPropertyValue()
430 aUnoPoint.X -= aCaptionPoint.X; in setPropertyValue()
433 aUnoPoint.Y -= aCaptionPoint.Y; in setPropertyValue()
435 xShape->setPosition(aUnoPoint); in setPropertyValue()
529 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in setPropertyValue() local
533 aUnoPoint.X = -nPos; in setPropertyValue()
536 aUnoPoint.X += aPoint.X(); in setPropertyValue()
537 if (aUnoPoint.X < aEndPoint.X()) in setPropertyValue()
538 aUnoPoint.X = aEndPoint.X() + 2; in setPropertyValue()
539 aUnoPoint.X -= aUnoSize.Width; in setPropertyValue()
541 aUnoPoint.X -= aCaptionPoint.X - aUnoSize.Width; in setPropertyValue()
545 aUnoPoint.X = nPos; in setPropertyValue()
548 aUnoPoint.X += aPoint.X(); in setPropertyValue()
549 if (aUnoPoint.X > aEndPoint.X()) in setPropertyValue()
550 aUnoPoint.X = aEndPoint.X() - 2; in setPropertyValue()
552 aUnoPoint.X -= aCaptionPoint.X; in setPropertyValue()
554 aUnoPoint.Y = xShape->getPosition().Y; in setPropertyValue()
555 xShape->setPosition(aUnoPoint); in setPropertyValue()
613 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in setPropertyValue() local
617 aUnoPoint.Y = nPos; in setPropertyValue()
618 aUnoPoint.Y += aPoint.Y(); in setPropertyValue()
619 if (aUnoPoint.Y > aEndPoint.Y()) in setPropertyValue()
620 aUnoPoint.Y = aEndPoint.Y() - 2; in setPropertyValue()
622 aUnoPoint.Y -= aCaptionPoint.Y; in setPropertyValue()
623 aUnoPoint.X = xShape->getPosition().X; in setPropertyValue()
624 xShape->setPosition(aUnoPoint); in setPropertyValue()
683 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in getPropertyValue() local
739 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in getPropertyValue() local
741 aUnoPoint.X *= -1; in getPropertyValue()
742 aAny <<= aUnoPoint.X; in getPropertyValue()
747 awt::Point aUnoPoint(xShape->getPosition()); in getPropertyValue() local
751 aUnoPoint.X *= -1; in getPropertyValue()
752 aUnoPoint.X -= aUnoSize.Width; in getPropertyValue()
759 aUnoPoint.X -= aCaptionPoint.X - aUnoSize.Width; in getPropertyValue()
764 aUnoPoint.X += aCaptionPoint.X; in getPropertyValue()
767 aAny <<= aUnoPoint.X; in getPropertyValue()
799 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in getPropertyValue() local
801 aAny <<= aUnoPoint.Y; in getPropertyValue()
805 awt::Point aUnoPoint(xShape->getPosition()); in getPropertyValue() local
810 aUnoPoint.Y += aCaptionPoint.Y; in getPropertyValue()
812 aAny <<= aUnoPoint.Y; in getPropertyValue()