Lines Matching refs:X
183 TwipsToMM( rPoint.X() ); in lcl_TwipsToMM()
189 ReverseTwipsToMM( rPoint.X() ); in lcl_ReverseTwipsToMM()
579 TwipsToMM( aPos.X() ); in RecalcPos()
611 aPos.X() += pDoc->GetColWidth( nCol1, nTab1 ) / 4; in RecalcPos()
614 TwipsToMM( aPos.X() ); in RecalcPos()
618 aStartPos.X() = -aStartPos.X(); // don't modify aPos - used below in RecalcPos()
628 Point aEndPos( aPos.X() + DET_ARROW_OFFSET, aPos.Y() - DET_ARROW_OFFSET ); in RecalcPos()
632 aEndPos.X() = -aEndPos.X(); in RecalcPos()
645 aPos.X() += pDoc->GetColWidth( nCol2, nTab2 ) / 4; in RecalcPos()
648 TwipsToMM( aPos.X() ); in RecalcPos()
652 aEndPos.X() = -aEndPos.X(); // don't modify aPos - used below in RecalcPos()
662 Point aStartPos( aPos.X() - DET_ARROW_OFFSET, aPos.Y() - DET_ARROW_OFFSET ); in RecalcPos()
663 if (aStartPos.X() < 0) in RecalcPos()
664 aStartPos.X() += (2 * DET_ARROW_OFFSET); in RecalcPos()
668 aStartPos.X() = -aStartPos.X(); in RecalcPos()
682 TwipsToMM( aPos.X() ); in RecalcPos()
688 TwipsToMM( aEnd.X() ); in RecalcPos()
704 aPos.X() = -aPos.X(); in RecalcPos()
892 if (!rMove.X() && !rMove.Y()) in MoveAreaTwips()
905 if ( rMove.X() < 0 || rMove.Y() < 0 ) // verkleinern in MoveAreaTwips()
910 aNew.Left() = rTopLeft.X(); in MoveAreaTwips()
943 if ( rMove.X() && aPoint.X() >= rArea.Left() + rMove.X() ) in MoveAreaTwips()
945 aPoint.X() = rArea.Left() + rMove.X() - SHRINK_DIST_TWIPS; in MoveAreaTwips()
946 if ( aPoint.X() < 0 ) aPoint.X() = 0; in MoveAreaTwips()
975 aMoveSize = Size(rMove.X(),rMove.Y()); in MoveAreaTwips()
981 if ( rMove.X() && aTopLeft.X() >= rArea.Left() + rMove.X() ) in MoveAreaTwips()
983 aMoveSize.Width() = rArea.Left() + rMove.X() - SHRINK_DIST - aTopLeft.X(); in MoveAreaTwips()
996 if ( aTopLeft.X() + aMoveSize.Width() > 0 ) in MoveAreaTwips()
997 aMoveSize.Width() = -aTopLeft.X(); in MoveAreaTwips()
1001 if ( aTopLeft.X() + aMoveSize.Width() < 0 ) in MoveAreaTwips()
1002 aMoveSize.Width() = -aTopLeft.X(); in MoveAreaTwips()
1008 … Point aNewPos( aTopLeft.X() + aMoveSize.Width(), aTopLeft.Y() + aMoveSize.Height() ); in MoveAreaTwips()
1010 … aMoveSize = Size( aNewPos.X() - aOldMMPos.X(), aNewPos.Y() - aOldMMPos.Y() ); // millimeters in MoveAreaTwips()
1023 long nLogMoveX = rMove.X() * ( bNegativePage ? -1 : 1 ); // logical direction in MoveAreaTwips()
1053 aMove.X() += pDoc->GetColWidth(s+(SCsCOL)nCol1,nTab); in MoveArea()
1056 aMove.X() -= pDoc->GetColWidth(s+(SCsCOL)nCol1,nTab); in MoveArea()
1063 aMove.X() = -aMove.X(); in MoveArea()
1068 if ( aMove.X() != 0 && nDx < 0 ) // nDx counts cells, sign is independent of RTL in MoveArea()
1069 aTopLeft.X() += aMove.X(); in MoveArea()
1100 aTopLeft.X() = aRect.Left(); in WidthChanged()
1113 aTopLeft.X() = -aTopLeft.X(); in WidthChanged()
1155 aTopLeft.X() = -aTopLeft.X(); in HeightChanged()
1736 aTopLeft.X() += rDoc.GetColWidth( nCol, rPos.Tab() ); in GetCellRect()
1752 aBotRight.X() += rDoc.GetColWidth( nCol, rPos.Tab() ); in GetCellRect()
1756 aTopLeft.X() = static_cast< long >( aTopLeft.X() * HMM_PER_TWIPS ); in GetCellRect()
1758 aBotRight.X() = static_cast< long >( aBotRight.X() * HMM_PER_TWIPS ); in GetCellRect()
1982 aRelPoint.X() = aLogRect.Right() + aLogRect.Left() - aRelPoint.X(); in GetHitIMapObject()