Lines Matching refs:aBoundRect

824     SwRect aBoundRect;  in IMPL_LINK()  local
839 pSh->CalcBoundRect( aBoundRect, eAnchorType, in IMPL_LINK()
854 Point aPos(aBoundRect.Pos()); in IMPL_LINK()
858 Size aSize(aBoundRect.SSize()); in IMPL_LINK()
862 aBoundRect.Chg( aPos, aSize ); in IMPL_LINK()
871 pValidation->nMinHPos = aBoundRect.Left(); in IMPL_LINK()
872 pValidation->nMinVPos = aBoundRect.Top(); in IMPL_LINK()
876 if (pValidation->nHPos + pValidation->nWidth > aBoundRect.Right()) in IMPL_LINK()
880 … pValidation->nHPos -= ((pValidation->nHPos + pValidation->nWidth) - aBoundRect.Right()); in IMPL_LINK()
884 pValidation->nWidth = aBoundRect.Right() - pValidation->nHPos; in IMPL_LINK()
887 if (pValidation->nHPos + pValidation->nWidth > aBoundRect.Right()) in IMPL_LINK()
888 pValidation->nWidth = aBoundRect.Right() - pValidation->nHPos; in IMPL_LINK()
890 if (pValidation->nVPos + pValidation->nHeight > aBoundRect.Bottom()) in IMPL_LINK()
894 … pValidation->nVPos -= ((pValidation->nVPos + pValidation->nHeight) - aBoundRect.Bottom()); in IMPL_LINK()
898 pValidation->nHeight = aBoundRect.Bottom() - pValidation->nVPos; in IMPL_LINK()
901 if (pValidation->nVPos + pValidation->nHeight > aBoundRect.Bottom()) in IMPL_LINK()
902 pValidation->nHeight = aBoundRect.Bottom() - pValidation->nVPos; in IMPL_LINK()
905 nV = aBoundRect.Top(); in IMPL_LINK()
908 nH = aBoundRect.Left(); in IMPL_LINK()
910 pValidation->nMaxHPos = aBoundRect.Right() - pValidation->nWidth; in IMPL_LINK()
911 pValidation->nMaxHeight = aBoundRect.Bottom() - nV; in IMPL_LINK()
913 pValidation->nMaxVPos = aBoundRect.Bottom() - pValidation->nHeight; in IMPL_LINK()
914 pValidation->nMaxWidth = aBoundRect.Right() - nH; in IMPL_LINK()
918 if (pValidation->nHPos + pValidation->nWidth > aBoundRect.Right()) in IMPL_LINK()
922 … pValidation->nHPos -= ((pValidation->nHPos + pValidation->nWidth) - aBoundRect.Right()); in IMPL_LINK()
925 pValidation->nWidth = aBoundRect.Right() - pValidation->nHPos; in IMPL_LINK()
935 ? aBoundRect.Bottom() in IMPL_LINK()
936 : aBoundRect.Height() ) - in IMPL_LINK()
947 ? aBoundRect.Bottom() in IMPL_LINK()
948 : aBoundRect.Height() ) - pValidation->nVPos; in IMPL_LINK()
953 pValidation->nMinHPos = aBoundRect.Left(); in IMPL_LINK()
954 pValidation->nMaxHPos = aBoundRect.Right() - pValidation->nWidth; in IMPL_LINK()
956 pValidation->nMinVPos = aBoundRect.Top(); in IMPL_LINK()
960 pValidation->nMaxVPos = aBoundRect.Bottom() - pValidation->nHeight; in IMPL_LINK()
964 pValidation->nMaxVPos = aBoundRect.Height() - pValidation->nHeight; in IMPL_LINK()
969 ? aBoundRect.Left() in IMPL_LINK()
972 ? aBoundRect.Top() in IMPL_LINK()
982 pValidation->nMaxHeight = aBoundRect.Height(); in IMPL_LINK()
983 pValidation->nMaxWidth = aBoundRect.Width(); in IMPL_LINK()
985 pValidation->nMaxVPos = aBoundRect.Height(); in IMPL_LINK()
986 pValidation->nMinVPos = -aBoundRect.Height() + pValidation->nHeight; in IMPL_LINK()
990 pValidation->nMaxVPos = -aBoundRect.Height(); in IMPL_LINK()