/trunk/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 | validat.hxx | 77 sal_Bool DoMacro( const ScAddress& rPos, const String& rInput, 80 sal_Bool DoScript( const ScAddress& rPos, const String& rInput, 88 ScDocument* pDocument, const ScAddress& rPos, 94 ScDocument* pDocument, const ScAddress& rPos ); 129 … bool FillSelectionList( TypedScStrCollection& rStrings, const ScAddress& rPos ) const; 133 const ScAddress& rPos ) const; 134 sal_Bool IsDataValid( ScBaseCell* pCell, const ScAddress& rPos ) const; 137 sal_Bool DoError( Window* pParent, const String& rInput, const ScAddress& rPos ) const; 164 ScBaseCell* pCell, const ScAddress& rPos, 168 …bool IsEqualToTokenArray( ScBaseCell* pCell, const ScAddress& rPos, const ScTokenArray&… [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 );
|
/trunk/main/vcl/source/control/ |
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 …]
|
/trunk/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() 1318 const SwPosition& rPos, in ReplaceNumRule() argument 1617 SwNodeIndex aIdx( rPos.nNode ); in lcl_GotoNextPrevNum() 1671 rPos.nNode = aIdx; in lcl_GotoNextPrevNum() 1695 rPos.nNode = aIdx; in lcl_GotoNextPrevNum() 1701 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() 907 if( !rPaM.HasMark() || *pStt >= *pEnd || (*pStt <= rPos && rPos < *pEnd)) in MoveRange() 942 pUndoMove = new SwUndoMove( rPaM, rPos ); in MoveRange() 953 SwPaM aSavePam( rPos, rPos ); in MoveRange() 978 _SaveCntntIdx( this, rPos.nNode.GetIndex(), rPos.nContent.GetIndex(), in MoveRange() 1031 ASSERT( *aSavePam.GetMark() == rPos || in MoveRange() 1034 *aSavePam.GetMark() = rPos; in MoveRange() 1191 if( pREnd->nNode == rPos && pRStt->nNode < rPos ) in MoveNodeRange() 1212 SwNodeIndex aIdx( rPos, -1 ); in MoveNodeRange() [all …]
|
/trunk/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 …]
|
/trunk/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 …]
|
/trunk/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()
|
/trunk/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); 1185 short GetTextDirection( const SwPosition& rPos, 1187 sal_Bool IsInVerticalText( const SwPosition& rPos, 1447 const SwTOXBaseSection* InsertTableOf( const SwPosition& rPos, 1454 const SwTOXBase* GetCurTOX( const SwPosition& rPos ) const; 1573 SwNumRule* GetNumRuleAtPos( const SwPosition& rPos ) const; 1639 const SwNumRule * SearchNumRule(const SwPosition & rPos, 1824 SwSection* GetCurrSection( const SwPosition& rPos ) const; [all …]
|
/trunk/main/sc/source/core/data/ |
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 | 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 | 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 …]
|
/trunk/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 …]
|
H A D | valueset.cxx | 1112 if ( !mbScroll || (rPos.X() < 0) || (rPos.X() > aOutSize.Width()-nScrBarWidth) ) in ImplScroll() 1125 if ( (rPos.Y() >= nTopPos) && (rPos.Y() <= nTopPos+nScrollOffset) ) in ImplScroll() 1132 if ( (rPos.Y() >= nBottomPos-nScrollOffset) && (rPos.Y() <= nBottomPos) ) in ImplScroll() 1163 if ( pItem->maRect.IsInside( rPos ) ) in ImplGetItem() 1165 if ( aWinRect.IsInside( rPos ) ) in ImplGetItem() 1177 if ( aWinRect.IsInside( rPos ) ) in ImplGetItem() 1294 if ( ImplScroll( rPos ) ) in ImplTracking() 2082 sal_uInt16 nItemPos = ImplGetItem( rPos ); in GetItemId() 2719 ImplScroll( rPos ); in ShowDropPos() 2730 if ( (rPos.X() >= 0) && (rPos.X() < aOutSize.Width()) && in ShowDropPos() [all …]
|
/trunk/main/sw/source/core/fields/ |
H A D | expfld.cxx | 149 rPos.nContent.Assign( pTxtNode, 0 ); in GetFirstTxtNode() 154 rPos.nNode = *pTxtNode; in GetFirstTxtNode() 155 rPos.nContent.Assign( pTxtNode, 0 ); in GetFirstTxtNode() 159 pCFrm->GetCrsrOfst( &rPos, rPt ); in GetFirstTxtNode() 160 pTxtNode = rPos.nNode.GetNode().GetTxtNode(); in GetFirstTxtNode() 193 rPos = *rAnchor.GetCntntAnchor(); in GetBodyTxtNode() 198 &rPos.nContent ); in GetBodyTxtNode() 212 pLayout->Frm().Pos(), rPos ); in GetBodyTxtNode() 221 rPos.nNode = *pTxtNode; in GetBodyTxtNode() 222 rPos.nContent = *pFtn->GetStart(); in GetBodyTxtNode() [all …]
|
/trunk/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()
|
/trunk/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()
|
/trunk/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 …]
|
/trunk/main/sc/source/core/tool/ |
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 …]
|
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()
|
/trunk/main/sw/source/core/text/ |
H A D | pormulti.cxx | 923 rPos = bFldBidi ? rPos + 1 : rSI.NextDirChg( rPos, &nCurrLevel ); in GetMultiCreator() 924 if ( STRING_LEN == rPos ) in GetMultiCreator() 969 if( rPos < nStart ) in GetMultiCreator() 995 rPos = *pRuby->End(); in GetMultiCreator() 1004 rPos < GetTxt().Len() ) ) in GetMultiCreator() 1116 rPos = aEnd.back(); in GetMultiCreator() 1120 rPos < GetTxt().Len() ) ) in GetMultiCreator() 1136 xub_StrLen n2Start = rPos; in GetMultiCreator() 1256 rPos = aEnd.back(); in GetMultiCreator() 1257 if( rPos > n2Start ) in GetMultiCreator() [all …]
|