Home
last modified time | relevance | path

Searched refs:rPos (Results 51 – 75 of 616) sorted by relevance

12345678910>>...25

/trunk/main/svtools/source/hatchwindow/
H A Dipwin.cxx159 sal_Bool SvResizeHelper::SelectBegin( Window * pWin, const Point & rPos ) in SelectBegin() argument
163 nGrab = SelectMove( pWin, rPos ); in SelectBegin()
166 aSelPos = rPos; // Start-Position merken in SelectBegin()
179 short SvResizeHelper::SelectMove( Window * pWin, const Point & rPos ) in SelectMove() argument
188 if( aRects[ i ].IsInside( rPos ) ) in SelectMove()
195 if( aMoveRects[ i ].IsInside( rPos ) ) in SelectMove()
200 Rectangle aRect( GetTrackRectPixel( rPos ) ); in SelectMove()
419 sal_Bool SvResizeHelper::SelectRelease( Window * pWin, const Point & rPos, in SelectRelease() argument
424 rOutPosSize = GetTrackRectPixel( rPos ); in SelectRelease()
485 void SvResizeWindow::SelectMouse( const Point & rPos ) in SelectMouse() argument
[all …]
/trunk/main/sw/source/core/undo/
H A Dunattr.cxx670 nSttNode = nEndNode = rPos.nNode.GetIndex(); in SwUndoResetAttr()
1215 , m_nNodeIndex( rPos.nNode.GetIndex() ) in SwUndoDontExpandFmt()
1216 , m_nContentIndex( rPos.nContent.GetIndex() ) in SwUndoDontExpandFmt()
1225 SwPosition& rPos = *pPam->GetPoint(); in UndoImpl() local
1226 rPos.nNode = m_nNodeIndex; in UndoImpl()
1227 rPos.nContent.Assign( rPos.nNode.GetNode().GetCntntNode(), m_nContentIndex); in UndoImpl()
1228 pDoc->DontExpandFmt( rPos, sal_False ); in UndoImpl()
1237 SwPosition& rPos = *pPam->GetPoint(); in RedoImpl() local
1238 rPos.nNode = m_nNodeIndex; in RedoImpl()
1239 rPos.nContent.Assign( rPos.nNode.GetNode().GetCntntNode(), m_nContentIndex); in RedoImpl()
[all …]
H A Dunnum.cxx60 SwUndoInsNum::SwUndoInsNum( const SwPosition& rPos, const SwNumRule& rRule, in SwUndoInsNum() argument
69 nSttNode = rPos.nNode.GetIndex(); in SwUndoInsNum()
70 nSttCntnt = rPos.nContent.GetIndex(); in SwUndoInsNum()
386 SwUndoNumRuleStart::SwUndoNumRuleStart( const SwPosition& rPos, sal_Bool bFlg ) in SwUndoNumRuleStart() argument
388 nIdx( rPos.nNode.GetIndex() ), nOldStt( USHRT_MAX ), in SwUndoNumRuleStart()
393 SwUndoNumRuleStart::SwUndoNumRuleStart( const SwPosition& rPos, sal_uInt16 nStt ) in SwUndoNumRuleStart() argument
395 nIdx( rPos.nNode.GetIndex() ), in SwUndoNumRuleStart()
398 SwTxtNode* pTxtNd = rPos.nNode.GetNode().GetTxtNode(); in SwUndoNumRuleStart()
/trunk/main/sd/source/ui/view/
H A Dsdview3.cxx126 …Rectangle aMarkRect(Point(rPos.X() - (rSize.Width() / 2), rPos.Y() - (rSize.Height() / 2)), rSize); in ImpCheckInsertPos()
142 rPos.Y() += rWorkArea.Top() - aMarkRect.Top(); in ImpCheckInsertPos()
271 Point aInsertPos( rPos ); in InsertMetaFile()
290 maDropPos = rPos; in InsertData()
1217 Point aInsertPos( rPos ); in InsertData()
1251 Point aInsertPos( rPos ); in InsertData()
1301 Point aInsertPos( rPos ); in InsertData()
1360 Point aHitPosR( rPos ); in InsertData()
1361 Point aHitPosL( rPos ); in InsertData()
1362 Point aHitPosT( rPos ); in InsertData()
[all …]
/trunk/main/chart2/source/view/main/
H A DPlotterBase.cxx109 bool PlotterBase::isValidPosition( const drawing::Position3D& rPos ) in isValidPosition() argument
111 if( ::rtl::math::isNan(rPos.PositionX) ) in isValidPosition()
113 if( ::rtl::math::isNan(rPos.PositionY) ) in isValidPosition()
115 if( ::rtl::math::isNan(rPos.PositionZ) ) in isValidPosition()
117 if( ::rtl::math::isInf(rPos.PositionX) ) in isValidPosition()
119 if( ::rtl::math::isInf(rPos.PositionY) ) in isValidPosition()
121 if( ::rtl::math::isInf(rPos.PositionZ) ) in isValidPosition()
/trunk/main/sc/source/core/tool/
H A Dchgtrack.cxx2030 if ( rPos.Col() < 0 || MAXCOL < rPos.Col() ) in lcl_InvalidateReference()
2036 if ( rPos.Row() < 0 || MAXROW < rPos.Row() ) in lcl_InvalidateReference()
2042 if ( rPos.Tab() < 0 || MAXTAB < rPos.Tab() ) in lcl_InvalidateReference()
2051 if ( rPos.Col() < 0 || MAXCOL < rPos.Col() ) in lcl_InvalidateReference()
2057 if ( rPos.Row() < 0 || MAXROW < rPos.Row() ) in lcl_InvalidateReference()
2063 if ( rPos.Tab() < 0 || MAXTAB < rPos.Tab() ) in lcl_InvalidateReference()
2750 ScRange aRange( rPos ); in AppendContent()
2772 ScRange aRange( rPos ); in AppendContent()
2806 AppendContent( rPos, pOldCell, pDoc->GetNumberFormat( rPos ), pDoc ); in AppendContent()
2957 ScRange aRange( rPos ); in AppendContentOnTheFly()
[all …]
/trunk/main/vcl/inc/vcl/
H A Dfixed.hxx49 … const Point& rPos, const Size& rSize, bool bFillLayout = false ) const;
66 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
102 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
126 const Point& rPos, const Size& rSize );
137 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
169 const Point& rPos, const Size& rSize );
178 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
191 Point CalcImagePos( const Point& rPos,
/trunk/main/vcl/source/window/
H A Dbrdwin.cxx247 if ( pData->maTitleRect.IsInside( rPos ) ) in ImplHitTest()
249 if ( pData->maCloseRect.IsInside( rPos ) ) in ImplHitTest()
251 else if ( pData->maRollRect.IsInside( rPos ) ) in ImplHitTest()
261 else if ( pData->maPinRect.IsInside( rPos ) ) in ImplHitTest()
279 if ( rPos.X() < pData->mnLeftBorder ) in ImplHitTest()
281 if ( rPos.Y() < nSizeWidth ) in ImplHitTest()
290 if ( rPos.Y() < nSizeWidth ) in ImplHitTest()
297 else if ( rPos.Y() < pData->mnNoTitleTop ) in ImplHitTest()
299 if ( rPos.X() < nSizeWidth ) in ImplHitTest()
308 if ( rPos.X() < nSizeWidth ) in ImplHitTest()
[all …]
H A Dsplit.cxx118 void Splitter::ImplSplitMousePos( Point& rPos ) in ImplSplitMousePos() argument
122 if ( rPos.X() > maDragRect.Right()-1 ) in ImplSplitMousePos()
123 rPos.X() = maDragRect.Right()-1; in ImplSplitMousePos()
124 if ( rPos.X() < maDragRect.Left()+1 ) in ImplSplitMousePos()
125 rPos.X() = maDragRect.Left()+1; in ImplSplitMousePos()
129 if ( rPos.Y() > maDragRect.Bottom()-1 ) in ImplSplitMousePos()
130 rPos.Y() = maDragRect.Bottom()-1; in ImplSplitMousePos()
131 if ( rPos.Y() < maDragRect.Top()+1 ) in ImplSplitMousePos()
132 rPos.Y() = maDragRect.Top()+1; in ImplSplitMousePos()
/trunk/main/sc/inc/
H A Ddpobject.hxx139 void Output( const ScAddress& rPos );
179 bool IsDataDescriptionCell(const ScAddress& rPos);
185 …void GetHeaderPositionData(const ScAddress& rPos, ::com::sun::star::sheet::DataPilo…
186 long GetHeaderDim( const ScAddress& rPos, sal_uInt16& rOrient );
187 sal_Bool GetHeaderDrag( const ScAddress& rPos, sal_Bool bMouseLeft, sal_Bool bMouseTop,
190 sal_Bool IsFilterButton( const ScAddress& rPos );
224 …void GetPositionData(const ScAddress& rPos, ::com::sun::star::sheet::DataPilotTable…
226 bool GetDataFieldPositionData(const ScAddress& rPos,
230 void GetDrillDownData(const ScAddress& rPos,
H A Dconditio.hxx96 void MakeCells( const ScAddress& rPos );
102 void Interpret( const ScAddress& rPos );
110 ScDocument* pDocument, const ScAddress& rPos,
116 ScDocument* pDocument, const ScAddress& rPos );
124 sal_Bool IsCellValid( ScBaseCell* pCell, const ScAddress& rPos ) const;
174 ScDocument* pDocument, const ScAddress& rPos,
182 ScDocument* pDocument, const ScAddress& rPos,
236 const String& GetCellStyle( ScBaseCell* pCell, const ScAddress& rPos ) const;
/trunk/main/sc/source/ui/drawfunc/
H A Dfuins1.cxx100 void SC_DLLPUBLIC ScLimitSizeOnDrawPage( Size& rSize, Point& rPos, const Size& rPage ) in ScLimitSizeOnDrawPage() argument
111 rPos.X() = -rPos.X() - rSize.Width(); in ScLimitSizeOnDrawPage()
136 if ( rPos.X() + rSize.Width() > aPageSize.Width() ) in ScLimitSizeOnDrawPage()
137 rPos.X() = aPageSize.Width() - rSize.Width(); in ScLimitSizeOnDrawPage()
138 if ( rPos.Y() + rSize.Height() > aPageSize.Height() ) in ScLimitSizeOnDrawPage()
139 rPos.Y() = aPageSize.Height() - rSize.Height(); in ScLimitSizeOnDrawPage()
142 rPos.X() = -rPos.X() - rSize.Width(); // back to real position in ScLimitSizeOnDrawPage()
/trunk/main/sc/source/core/data/
H A Ddrwlayer.cxx464 return rPos.Col() >= nCol1 && rPos.Col() <= nCol2 && in IsInBlock()
465 rPos.Row() >= nRow1 && rPos.Row() <= nRow2; in IsInBlock()
1730 …DBG_ASSERT( ValidColRowTab( rPos.Col(), rPos.Row(), rPos.Tab() ), "ScDrawLayer::GetCellRect - inva… in GetCellRect()
1731 if( ValidColRowTab( rPos.Col(), rPos.Row(), rPos.Tab() ) ) in GetCellRect()
1735 for( SCCOL nCol = 0; nCol < rPos.Col(); ++nCol ) in GetCellRect()
1737 if( rPos.Row() > 0 ) in GetCellRect()
1738 aTopLeft.Y() += rDoc.GetRowHeight( 0, rPos.Row() - 1, rPos.Tab() ); in GetCellRect()
1741 ScAddress aEndPos = rPos; in GetCellRect()
1744 …tr* pMerge = static_cast< const ScMergeAttr* >( rDoc.GetAttr( rPos.Col(), rPos.Row(), rPos.Tab(), … in GetCellRect()
1753 aBotRight.Y() += rDoc.GetRowHeight( rPos.Row(), aEndPos.Row(), rPos.Tab() ); in GetCellRect()
[all …]
H A Dconditio.cxx204 aSrcPos(rPos), in ScConditionEntry()
219 ScDocument* pDocument, const ScAddress& rPos ) : in ScConditionEntry() argument
230 aSrcPos(rPos), in ScConditionEntry()
389 pFCell1 = new ScFormulaCell( pDoc, rPos, pFormula1 ); in MakeCells()
395 pFCell2 = new ScFormulaCell( pDoc, rPos, pFormula2 ); in MakeCells()
612 void ScConditionEntry::Interpret( const ScAddress& rPos ) in Interpret() argument
618 MakeCells( rPos ); in Interpret()
1135 ScDocument* pDocument, const ScAddress& rPos, in ScCondFormatEntry() argument
1148 ScDocument* pDocument, const ScAddress& rPos, in ScCondFormatEntry() argument
1150 ScConditionEntry( eOper, pArr1, pArr2, pDocument, rPos ), in ScCondFormatEntry()
[all …]
H A Ddocument.cxx2688 SCTAB nTab = rPos.Tab(); in PutCell()
2810 SCTAB nTab = rPos.Tab(); in GetValue()
2832 SCTAB nTab = rPos.Tab(); in GetNumberFormat()
2965 ScTable* pTable = ValidTab( rPos.Tab() ) ? pTab[ rPos.Tab() ] : 0; in GetNote()
2966 return pTable ? pTable->GetNote( rPos.Col(), rPos.Row() ) : 0; in GetNote()
2972 if( ValidTab( rPos.Tab() ) && pTab[ rPos.Tab() ] ) in TakeNote()
2973 pTab[ rPos.Tab() ]->TakeNote( rPos.Col(), rPos.Row(), rpNote ); in TakeNote()
2981 ScTable* pTable = ValidTab( rPos.Tab() ) ? pTab[ rPos.Tab() ] : 0; in ReleaseNote()
2982 return pTable ? pTable->ReleaseNote( rPos.Col(), rPos.Row() ) : 0; in ReleaseNote()
3000 if( ValidTab( rPos.Tab() ) && pTab[ rPos.Tab() ] ) in DeleteNote()
[all …]
/trunk/main/svx/source/table/
H A Dtablecontroller.cxx1531 maCursorLastPos = rPos; in gotoCell()
1541 UpdateSelection( rPos ); in gotoCell()
1547 EditCell( rPos, pWindow, 0, nAction ); in gotoCell()
1563 maCursorFirstPos = rPos; in setSelectionStart()
1632 rPos.mnCol = mxTable->getColumnCount()-1; in checkCell()
1635 rPos.mnRow = mxTable->getRowCount()-1; in checkCell()
1650 …Reference< XMergeableCell > xCell( mxTable->getCellByPosition( rPos.mnCol, rPos.mnRow ), UNO_QUERY… in findMergeOrigin()
1653 ::findMergeOrigin( mxTable, rPos.mnCol, rPos.mnRow, rPos.mnCol, rPos.mnRow ); in findMergeOrigin()
1690 CellPos aPos( rPos ); in EditCell()
1870 maCursorLastPos = maCursorFirstPos = rPos; in StartSelection()
[all …]
H A Dtablelayouter.cxx82 basegfx::B2ITuple TableLayouter::getCellSize( const CellPos& rPos ) const in getCellSize()
89 CellRef xCell( getCell( rPos ) ); in getCellSize()
92 CellPos aPos( rPos ); in getCellSize()
131 CellRef xCell( getCell( rPos ) ); in getCellArea()
132 if( xCell.is() && !xCell->isMerged() && isValid(rPos) ) in getCellArea()
134 const basegfx::B2ITuple aCellSize( getCellSize( rPos ) ); in getCellArea()
136 … if( (rPos.mnCol < ((sal_Int32)maColumns.size()) && (rPos.mnRow < ((sal_Int32)maRows.size()) ) ) ) in getCellArea()
138 const sal_Int32 x = maColumns[rPos.mnCol].mnPos; in getCellArea()
139 const sal_Int32 y = maRows[rPos.mnRow].mnPos; in getCellArea()
903 CellRef TableLayouter::getCell( const CellPos& rPos ) const in getCell()
[all …]
/trunk/main/sw/source/core/doc/
H A Dswserv.cxx128 void SwServerObject::SendDataChanged( const SwPosition& rPos ) in SendDataChanged() argument
140 bCall = CNTNT_TYPE.pBkmk->GetMarkStart() <= rPos in SendDataChanged()
141 && rPos < CNTNT_TYPE.pBkmk->GetMarkEnd(); in SendDataChanged()
151 sal_uLong nNd = rPos.nNode.GetIndex(); in SendDataChanged()
329 SwDataChanged::SwDataChanged( SwDoc* pDc, const SwPosition& rPos, sal_uInt16 nTyp ) in SwDataChanged() argument
330 : pPam( 0 ), pPos( &rPos ), pDoc( pDc ), nType( nTyp ) in SwDataChanged()
332 nNode = rPos.nNode.GetIndex(); in SwDataChanged()
333 nCntnt = rPos.nContent.GetIndex(); in SwDataChanged()
/trunk/main/sw/source/core/inc/
H A Dwrong.hxx198 void ShiftLeft( xub_StrLen &rPos, xub_StrLen nStart, xub_StrLen nEnd ) in ShiftLeft() argument
199 { if( rPos > nStart ) rPos = rPos > nEnd ? rPos - nEnd + nStart : nStart; } in ShiftLeft()
200 void ShiftRight( xub_StrLen &rPos, xub_StrLen nStart, xub_StrLen nEnd ) in ShiftRight() argument
201 { if( rPos >= nStart ) rPos += nStart - nEnd; } in ShiftRight()
/trunk/main/sw/source/core/crsr/
H A Dunocrsr.cxx38 SwUnoCrsr::SwUnoCrsr( const SwPosition &rPos, SwPaM* pRing ) in SV_IMPL_PTRARR()
39 : SwCursor( rPos, pRing, false ), SwModify( 0 ), in SV_IMPL_PTRARR()
205 SwUnoTableCrsr::SwUnoTableCrsr(const SwPosition& rPos) in SwUnoTableCrsr() argument
206 : SwCursor(rPos,0,false), SwUnoCrsr(rPos), SwTableCursor(rPos), aTblSel(rPos,0,false) in SwUnoTableCrsr()
/trunk/main/chart2/source/tools/
H A DCommonConverters.cxx160 void AddPointToPoly( drawing::PolyPolygonShape3D& rPoly, const drawing::Position3D& rPos, sal_Int32… in AddPointToPoly() argument
190 pInnerSequenceX[nOldPointCount] = rPos.PositionX; in AddPointToPoly()
191 pInnerSequenceY[nOldPointCount] = rPos.PositionY; in AddPointToPoly()
192 pInnerSequenceZ[nOldPointCount] = rPos.PositionZ; in AddPointToPoly()
357 drawing::Position3D operator+( const drawing::Position3D& rPos in operator +() argument
361 rPos.PositionX + rDirection.DirectionX in operator +()
362 , rPos.PositionY + rDirection.DirectionY in operator +()
363 , rPos.PositionZ + rDirection.DirectionZ in operator +()
385 awt::Point Position3DToAWTPoint( const drawing::Position3D& rPos ) in Position3DToAWTPoint() argument
388 aRet.X = static_cast<sal_Int32>(rPos.PositionX); in Position3DToAWTPoint()
[all …]
/trunk/main/canvas/source/directx/
H A Ddx_spritehelper.cxx125 const ::basegfx::B2DPoint& rPos( getPosPixel() ); in redraw() local
138 rPos.getX(), in redraw()
139 rPos.getY() ); in redraw()
182 mpBitmap->draw(fAlpha,rPos,rTransform); in redraw()
193 mpBitmap->draw(fAlpha,rPos,aClipBounds,rTransform); in redraw()
200 mpBitmap->draw(fAlpha,rPos,aClipPath,rTransform); in redraw()
/trunk/main/editeng/source/items/
H A Dsvxfont.cxx510 const Point &rPos, const XubString &rTxt, in DrawText() argument
517 Point aPos( rPos ); in DrawText()
541 const Point &rPos, const XubString &rTxt, in QuickDrawText() argument
547 pOut->DrawTextArray( rPos, rTxt, pDXArray, nIdx, nLen ); in QuickDrawText()
551 Point aPos( rPos ); in QuickDrawText()
594 const Point &rPos, const XubString &rTxt, in DrawPrev() argument
603 Point aPos( rPos ); in DrawPrev()
761 const Point &rPos, const short nKrn ) in SvxDoDrawCapital() argument
764 aPos( rPos ), in SvxDoDrawCapital()
765 aSpacePos( rPos ), in SvxDoDrawCapital()
[all …]
/trunk/main/sw/inc/
H A Dredline.hxx182 SwRedline( const SwRedlineData& rData, const SwPosition& rPos );
184 SwRedline(SwRedlineData* pData, const SwPosition& rPos, sal_Bool bVsbl, in SwRedline() argument
186 SwPaM( rPos ), pRedlineData( pData ), pCntntSect( 0 ), in SwRedline()
201 void SetStart( const SwPosition& rPos, SwPosition* pSttPtr = 0 ) in SetStart() argument
204 *pSttPtr = rPos; in SetStart()
206 void SetEnd( const SwPosition& rPos, SwPosition* pEndPtr = 0 ) in SetEnd() argument
209 *pEndPtr = rPos; in SetEnd()
/trunk/main/canvas/source/tools/
H A Dsurfaceproxy.cxx107 const ::basegfx::B2DPoint& rPos, in draw()
115 ::boost::cref(rPos), in draw()
126 const ::basegfx::B2DPoint& rPos, in draw()
135 ::boost::cref(rPos), in draw()
147 const ::basegfx::B2DPoint& rPos, in draw()
172 ::boost::cref(rPos), in draw()

Completed in 169 milliseconds

12345678910>>...25