/aoo41x/main/sc/inc/ |
H A D | table.hxx | 323 return ValidColRow(rPos.Col(),rPos.Row()) ? in GetValue() 324 aCol[rPos.Col()].GetValue( rPos.Row() ) : in GetValue() 333 return ValidColRow(rPos.Col(),rPos.Row()) ? in GetCellType() 334 aCol[rPos.Col()].GetCellType( rPos.Row() ) : in GetCellType() 340 return ValidColRow(rPos.Col(),rPos.Row()) ? in GetCell() 341 aCol[rPos.Col()].GetCell( rPos.Row() ) : in GetCell() 457 return ValidColRow(rPos.Col(),rPos.Row()) ? in GetErrCode() 458 aCol[rPos.Col()].GetErrCode( rPos.Row() ) : in GetErrCode() 536 return ValidColRow(rPos.Col(),rPos.Row()) ? in GetNumberFormat() 537 aCol[rPos.Col()].GetNumberFormat( rPos.Row() ) : in GetNumberFormat() [all …]
|
H A D | dpoutput.hxx | 128 sal_Int32 GetPositionType(const ScAddress& rPos); 134 const ScAddress& rPos, sal_Bool bFilter ); 137 void SetPosition( const ScAddress& rPos ); 144 …void GetPositionData(const ScAddress& rPos, ::com::sun::star::sheet::DataPilotTablePosi… 148 …a(::std::vector< ::com::sun::star::sheet::DataPilotFieldFilter >& rFilters, const ScAddress& rPos); 152 long GetHeaderDim( const ScAddress& rPos, sal_uInt16& rOrient ); 153 sal_Bool GetHeaderDrag( const ScAddress& rPos, sal_Bool bMouseLeft, sal_Bool bMouseTop, 156 sal_Bool IsFilterButton( const ScAddress& rPos );
|
/aoo41x/main/vcl/source/control/ |
H A D | button.cxx | 410 rPos = aOutRect.TopLeft(); in ImplDrawAlignedImage() 440 Point aImagePos = rPos; in ImplDrawAlignedImage() 441 Point aTextPos = rPos; in ImplDrawAlignedImage() 613 rPos.X() += nXOffset; in ImplDrawAlignedImage() 614 rPos.Y() += nYOffset; in ImplDrawAlignedImage() 899 return aTestRect.IsInside( rPos ); in ImplHitTestPushButton() 2313 Point aPos( rPos ); in ImplDraw() 2405 Point aTxtPos = rPos; in ImplDraw() 3409 Point aPos( rPos ); in ImplDraw() 3428 rMouseRect.Left() = rPos.X(); in ImplDraw() [all …]
|
H A D | fixed.cxx | 85 Point aPos( nX+rPos.X(), nY+rPos.Y() ); in ImplCalcPos() 225 const Point& rPos, const Size& rSize, in ImplDraw() argument 233 Point aPos = rPos; in ImplDraw() 284 Point aPos = pDev->LogicToPixel( rPos ); in Draw() 778 const Point& rPos, const Size& rSize ) in ImplDraw() argument 796 pDev->DrawImage( rPos, rSize, aImage, nStyle ); in ImplDraw() 810 pDev->DrawBitmap( rPos, rSize, *pBitmap ); in ImplDraw() 832 Point aPos = pDev->LogicToPixel( rPos ); in Draw() 1023 const Point& rPos, const Size& rSize ) in ImplDraw() argument 1084 Point aPos = pDev->LogicToPixel( rPos ); in Draw() [all …]
|
/aoo41x/main/sw/inc/ |
H A D | IMark.hxx | 56 virtual bool IsCoveringPosition(const SwPosition& rPos) const =0; 68 bool StartsBefore(const SwPosition& rPos) const in StartsBefore() 69 { return GetMarkStart() < rPos; } in StartsBefore() 70 bool StartsAfter(const SwPosition& rPos) const in StartsAfter() 71 { return GetMarkStart() > rPos; } in StartsAfter() 72 bool EndsBefore(const SwPosition& rPos) const in EndsBefore() 73 { return GetMarkEnd() < rPos; } in EndsBefore() 74 bool EndsAfter(const SwPosition& rPos) const in EndsAfter() 75 { return GetMarkEnd() > rPos; } in EndsAfter()
|
H A D | doc.hxx | 866 static SwField* GetFieldAtPos(const SwPosition& rPos); 872 static SwTxtFld* GetTxtFldAtPos(const SwPosition& rPos); 914 virtual bool AppendTxtNode(SwPosition& rPos); 1178 short GetTextDirection( const SwPosition& rPos, 1180 sal_Bool IsInVerticalText( const SwPosition& rPos, 1440 const SwTOXBaseSection* InsertTableOf( const SwPosition& rPos, 1447 const SwTOXBase* GetCurTOX( const SwPosition& rPos ) const; 1581 SwNumRule* GetCurrNumRule( const SwPosition& rPos ) const; 1647 const SwNumRule * SearchNumRule(const SwPosition & rPos, 1832 SwSection* GetCurrSection( const SwPosition& rPos ) const; [all …]
|
/aoo41x/main/canvas/source/tools/ |
H A D | surface.cxx | 42 const ::basegfx::B2IPoint& rPos, in Surface() 47 maSourceOffset(rPos), in Surface() 107 const double ox( rPos.getX() ); in getUVCoords() 108 const double oy( rPos.getY() ); in getUVCoords() 123 const ::basegfx::B2DPoint& rPos, in draw() 150 aTransform.translate(::basegfx::fround(rPos.getX()), in draw() 151 ::basegfx::fround(rPos.getY())); in draw() 224 const ::basegfx::B2DPoint& rPos, in drawRectangularArea() 275 aTransform.translate(::basegfx::fround(rPos.getX()), in drawRectangularArea() 349 const ::basegfx::B2DPoint& rPos, in drawWithClip() [all …]
|
/aoo41x/main/sw/source/core/doc/ |
H A D | docbm.cxx | 70 ? ( rPos.nNode > rNdIdx in lcl_GreaterThan() 71 || ( rPos.nNode == rNdIdx in lcl_GreaterThan() 73 : rPos.nNode >= rNdIdx; in lcl_GreaterThan() 78 return rPos.nNode < rNdIdx in lcl_Lower() 80 && rPos.nNode == rNdIdx in lcl_Lower() 153 rPos, in lcl_getMarkAfter() 167 rPos, in lcl_getMarkBefore() 242 const SwPosition& rPos, in lcl_FindMarkAtPos() argument 247 rPos, in lcl_FindMarkAtPos() 1150 sal_uLong nIndex = rPos.nNode.GetIndex(); in lcl_RelativePosition() [all …]
|
H A D | docnum.cxx | 758 rPos.nNode = *pNd; in GotoOutline() 759 rPos.nContent.Assign( pNd, 0 ); in GotoOutline() 767 rPos.nNode = *pNd; in GotoOutline() 768 rPos.nContent.Assign( pNd, 0 ); in GotoOutline() 780 rPos.nNode = *pNd; in GotoOutline() 781 rPos.nContent.Assign( pNd, 0 ); in GotoOutline() 1709 SwNodeIndex aIdx( rPos.nNode ); in lcl_GotoNextPrevNum() 1763 rPos.nNode = aIdx; in lcl_GotoNextPrevNum() 1787 rPos.nNode = aIdx; in lcl_GotoNextPrevNum() 1793 rPos.nNode.Assign( *pLast ); in lcl_GotoNextPrevNum() [all …]
|
H A D | docedt.cxx | 124 sal_uInt32 nSttIdx = rPos.nNode.GetIndex(); in _SaveRedline() 564 pSave->SetPos( rPos ); in lcl_RestoreRedlines() 903 if( !rPaM.HasMark() || *pStt >= *pEnd || (*pStt <= rPos && rPos < *pEnd)) in MoveRange() 938 pUndoMove = new SwUndoMove( rPaM, rPos ); in MoveRange() 949 SwPaM aSavePam( rPos, rPos ); in MoveRange() 974 _SaveCntntIdx( this, rPos.nNode.GetIndex(), rPos.nContent.GetIndex(), in MoveRange() 1027 ASSERT( *aSavePam.GetMark() == rPos || in MoveRange() 1030 *aSavePam.GetMark() = rPos; in MoveRange() 1187 if( pREnd->nNode == rPos && pRStt->nNode < rPos ) in MoveNodeRange() 1208 SwNodeIndex aIdx( rPos, -1 ); in MoveNodeRange() [all …]
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | nodes.cxx | 1747 if( this == &rNodes && *pStt <= rPos && rPos < *pEnd ) in MoveRange() 1764 rPos.nNode--; in MoveRange() 1765 rPos.nContent.Assign( pDestNd, 0 ); in MoveRange() 1804 pInsDoc->SplitNode( rPos, false ); in MoveRange() 1811 if( rPos.nNode == aEndIdx ) in MoveRange() 1853 if( rPos.nContent.GetIndex() ) in MoveRange() 1857 rPos.nNode++; in MoveRange() 1898 rPos.nNode++; in MoveRange() 1903 rPos.nNode--; in MoveRange() 1935 rPos.nNode++; in MoveRange() [all …]
|
/aoo41x/main/sw/source/core/crsr/ |
H A D | crstrvl.cxx | 285 rPos.nNode = *pCNd; in SetCrsrInHdFt() 286 rPos.nContent.Assign( pCNd, 0 ); in SetCrsrInHdFt() 457 SwPosition& rPos = *pCurCrsr->GetPoint(); in GotoNxtPrvTblFormula() local 479 &aPt, &rPos, sal_False ) ); in GotoNxtPrvTblFormula() 519 aFndGEF.GetPosOfContent( rPos ); in GotoNxtPrvTblFormula() 537 SwPosition& rPos = *pCurCrsr->GetPoint(); in GotoNxtPrvTOXMark() local 583 aFndGEF.GetPosOfContent( rPos ); in GotoNxtPrvTOXMark() 607 SwPosition& rPos = *GetCrsr()->GetPoint(); in GotoTOXMark() local 609 rPos.nContent.Assign( rPos.nNode.GetNode().GetCntntNode(), in GotoTOXMark() 1765 rPos.nContent = nStart; in SelectTxt() [all …]
|
H A D | bookmrk.cxx | 52 static void lcl_FixPosition(SwPosition& rPos) in lcl_FixPosition() argument 55 SwTxtNode* pTxtNode = rPos.nNode.GetNode().GetTxtNode(); in lcl_FixPosition() 56 if(pTxtNode == NULL && rPos.nContent.GetIndex() > 0) in lcl_FixPosition() 60 " - illegal position: %d without proper TxtNode", rPos.nContent.GetIndex()); in lcl_FixPosition() 61 rPos.nContent.Assign(NULL, 0); in lcl_FixPosition() 63 else if(pTxtNode != NULL && rPos.nContent.GetIndex() > pTxtNode->Len()) in lcl_FixPosition() 67 " - illegal position: %d is beyond %d", rPos.nContent.GetIndex(), pTxtNode->Len()); in lcl_FixPosition() 68 rPos.nContent.Assign(pTxtNode, pTxtNode->Len()); in lcl_FixPosition() 153 bool MarkBase::IsCoveringPosition(const SwPosition& rPos) const in IsCoveringPosition() 155 return GetMarkStart() <= rPos && rPos <= GetMarkEnd(); in IsCoveringPosition()
|
/aoo41x/main/sc/source/core/data/ |
H A D | dpoutputgeometry.cxx | 165 ScDPOutputGeometry::FieldType ScDPOutputGeometry::getFieldButtonType(const ScAddress& rPos) const in getFieldButtonType() 179 if (rPos.Col() == nCol && nRowStart <= rPos.Row() && rPos.Row() <= nRowEnd) in getFieldButtonType() 192 if (rPos.Row() == nRow && nColStart <= rPos.Col() && rPos.Col() <= nColEnd) in getFieldButtonType() 205 if (rPos.Row() == nCurRow && nColStart <= rPos.Col() && rPos.Col() <= nColEnd) in getFieldButtonType()
|
H A D | dptabres.cxx | 303 SCCOL nCol = rPos.Col(); in lcl_DumpRow() 304 SCROW nRow = rPos.Row(); in lcl_DumpRow() 305 SCTAB nTab = rPos.Tab(); in lcl_DumpRow() 313 rPos.SetRow( nRow + 1 ); in lcl_DumpRow() 318 SCCOL nCol = rPos.Col(); in lcl_Indent() 319 SCTAB nTab = rPos.Tab(); in lcl_Indent() 1462 rPos += nSize; in FillMemberResults() 1512 pArray[rPos].Flags = ( pArray[rPos].Flags | in FillMemberResults() 1538 rPos += 1; in FillMemberResults() 1792 SCROW nStartRow = rPos.Row(); in DumpState() [all …]
|
H A D | dpoutput.cxx | 358 aStartPos( rPos ), in ScDPOutput() 566 aStartPos = rPos; in SetPosition() 1172 SCCOL nCol = rPos.Col(); in GetPositionData() 1173 SCROW nRow = rPos.Row(); in GetPositionData() 1174 SCTAB nTab = rPos.Tab(); in GetPositionData() 1831 SCCOL nCol = rPos.Col(); in IsFilterButton() 1832 SCROW nRow = rPos.Row(); in IsFilterButton() 1833 SCTAB nTab = rPos.Tab(); in IsFilterButton() 1843 SCCOL nCol = rPos.Col(); in GetHeaderDim() 1844 SCROW nRow = rPos.Row(); in GetHeaderDim() [all …]
|
/aoo41x/main/sw/source/core/undo/ |
H A D | SwUndoField.cxx | 42 SwUndoField::SwUndoField(const SwPosition & rPos, SwUndoId _nId ) in SwUndoField() argument 45 nNodeIndex = rPos.nNode.GetIndex(); in SwUndoField() 46 nOffset = rPos.nContent.GetIndex(); in SwUndoField() 47 pDoc = rPos.GetDoc(); in SwUndoField() 64 SwUndoFieldFromDoc::SwUndoFieldFromDoc(const SwPosition & rPos, in SwUndoFieldFromDoc() argument 68 : SwUndoField(rPos,_nId) in SwUndoFieldFromDoc() 122 SwUndoFieldFromAPI::SwUndoFieldFromAPI(const SwPosition & rPos, in SwUndoFieldFromAPI() argument 125 : SwUndoField(rPos), aOldVal(rOldVal), aNewVal(rNewVal), nWhich(_nWhich) in SwUndoFieldFromAPI()
|
/aoo41x/main/sw/source/core/edit/ |
H A D | acorrect.cxx | 455 if( cChar == cChr && rPos.nNode.GetIndex() == nNode && in CheckChar() 456 rPos.nContent.GetIndex() == nCntnt ) in CheckChar() 470 sal_Bool SwAutoCorrExceptWord::CheckDelChar( const SwPosition& rPos ) in CheckDelChar() argument 473 if( !bDeleted && rPos.nNode.GetIndex() == nNode && in CheckDelChar() 474 rPos.nContent.GetIndex() == nCntnt ) in CheckDelChar() 484 void SwDontExpandItem::SaveDontExpandItems( const SwPosition& rPos ) in SaveDontExpandItems() argument 486 const SwTxtNode* pTxtNd = rPos.nNode.GetNode().GetTxtNode(); in SaveDontExpandItems() 491 xub_StrLen n = rPos.nContent.GetIndex(); in SaveDontExpandItems() 498 void SwDontExpandItem::RestoreDontExpandItems( const SwPosition& rPos ) in RestoreDontExpandItems() argument 500 SwTxtNode* pTxtNd = rPos.nNode.GetNode().GetTxtNode(); in RestoreDontExpandItems() [all …]
|
/aoo41x/main/svtools/source/brwbox/ |
H A D | datwin.cxx | 155 void BrowserColumn::Draw( BrowseBox& rBox, OutputDevice& rDev, const Point& rPos, sal_Bool bCurs ) in Draw() argument 160 ButtonFrame( rPos, Size( Width()-1, rBox.GetDataRowHeight()-1 ), in Draw() 166 Point( rPos.X(), rPos.Y()+rBox.GetDataRowHeight()-1 ), in Draw() 167 Point( rPos.X() + Width() - 1, rPos.Y()+rBox.GetDataRowHeight()-1 ) ); in Draw() 169 Point( rPos.X() + Width() - 1, rPos.Y() ), in Draw() 170 Point( rPos.X() + Width() - 1, rPos.Y()+rBox.GetDataRowHeight()-1 ) ); in Draw() 175 Point( rPos.X() + 2, rPos.Y() + 2 ), in Draw() 187 Point( rPos.X() + MIN_COLUMNWIDTH, rPos.Y() ), in Draw()
|
/aoo41x/main/sw/source/core/fields/ |
H A D | expfld.cxx | 151 rPos.nContent.Assign( pTxtNode, 0 ); in GetFirstTxtNode() 156 rPos.nNode = *pTxtNode; in GetFirstTxtNode() 157 rPos.nContent.Assign( pTxtNode, 0 ); in GetFirstTxtNode() 161 pCFrm->GetCrsrOfst( &rPos, rPt ); in GetFirstTxtNode() 162 pTxtNode = rPos.nNode.GetNode().GetTxtNode(); in GetFirstTxtNode() 195 rPos = *rAnchor.GetCntntAnchor(); in GetBodyTxtNode() 200 &rPos.nContent ); in GetBodyTxtNode() 214 pLayout->Frm().Pos(), rPos ); in GetBodyTxtNode() 223 rPos.nNode = *pTxtNode; in GetBodyTxtNode() 224 rPos.nContent = *pFtn->GetStart(); in GetBodyTxtNode() [all …]
|
/aoo41x/main/svtools/source/control/ |
H A D | calendar.cxx | 625 if ( rPos.Y() < nY ) in ImplHitTest() 632 if ( (rPos.X() < nX) && (rPos.Y() < nYMonth) ) in ImplHitTest() 638 if ( (rPos.X() > nX) && (rPos.Y() < nYMonth) && in ImplHitTest() 647 if ( rPos.Y() < nDayY ) in ImplHitTest() 658 if ( (rPos.Y() >= nDayY) && (rPos.Y() < nDayY+mnDayHeight) && in ImplHitTest() 659 (rPos.X() >= nOffX) && (rPos.X() < nOffX+mnDayWidth) ) in ImplHitTest() 669 if ( rPos.Y() < nDayY ) in ImplHitTest() 675 if ( (rPos.Y() >= nDayY) && (rPos.Y() < nDayY+mnDayHeight) && in ImplHitTest() 676 (rPos.X() >= nOffX) && (rPos.X() < nOffX+mnDayWidth) ) in ImplHitTest() 704 if ( (rPos.Y() >= nDayY) && (rPos.Y() < nDayY+mnDayHeight) && in ImplHitTest() [all …]
|
/aoo41x/main/sc/source/core/tool/ |
H A D | collect.cxx | 423 sal_uInt16& rPos, sal_Bool bBack ) const in FindText() argument 431 if ( rPos != SCPOS_INVALID && rPos < nCount ) in FindText() 433 TypedStrData* pData = (TypedStrData*) pItems[rPos]; in FindText() 441 if ( rPos != SCPOS_INVALID ) in FindText() 442 nStartPos = rPos; // weitersuchen... in FindText() 459 rPos = i; in FindText() 470 if ( rPos != SCPOS_INVALID ) in FindText() 471 nStartPos = rPos + 1; // weitersuchen... in FindText() 487 rPos = i; in FindText()
|
H A D | refupdat.cxx | 496 const ScAddress& rPos, const ScRange& r, in Update() argument 670 rRef.CalcRelFromAbs( rPos ); in Update() 685 else if ( nDz && r.In( rPos ) ) in Update() 691 rRef.CalcRelFromAbs( rPos ); in Update() 694 rRef.CalcRelFromAbs( rPos ); in Update() 696 else if( eMode == URM_COPY && r.In( rPos ) ) in Update() 700 rRef.CalcRelFromAbs( rPos ); in Update() 812 rRef.CalcRelFromAbs( rPos ); in Move() 821 rRef.Ref1.nCol = rRef.Ref1.nRelCol + rPos.Col(); in MoveRelWrap() 826 rRef.Ref2.nCol = rRef.Ref2.nRelCol + rPos.Col(); in MoveRelWrap() [all …]
|
/aoo41x/main/svtools/source/hatchwindow/ |
H A D | ipwin.cxx | 159 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 …]
|
/aoo41x/main/chart2/source/view/main/ |
H A D | PlotterBase.cxx | 109 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()
|