/aoo41x/main/tools/source/memtools/ |
H A D | multisel.cxx | 82 while ( pRange ) in ImplClear() 84 delete pRange; in ImplClear() 85 pRange = aSels.Next(); in ImplClear() 326 while ( pRange ) in ~MultiSelection() 328 delete pRange; in ~MultiSelection() 329 pRange = aSels.Next(); in ~MultiSelection() 481 Range* pRange; in Select() local 814 while( pRange ) in SetTotalRange() 818 delete pRange; in SetTotalRange() 839 delete pRange; in SetTotalRange() [all …]
|
/aoo41x/main/sal/textenc/ |
H A D | convertgb18030.c | 173 ImplGb180302000ToUnicodeRange const * pRange in ImplConvertGb18030ToUnicode() local 178 if (pRange->m_nNonRangeDataIndex == -1) in ImplConvertGb18030ToUnicode() 180 else if (nCode < pRange->m_nFirstLinear) in ImplConvertGb18030ToUnicode() 191 else if (nCode < pRange->m_nPastLinear) in ImplConvertGb18030ToUnicode() 196 (pRange->m_nFirstUnicode in ImplConvertGb18030ToUnicode() 198 - pRange-> in ImplConvertGb18030ToUnicode() 204 nFirstNonRange = (pRange++)->m_nPastLinear; in ImplConvertGb18030ToUnicode() 341 if (nChar < pRange->m_nFirstUnicode) in ImplConvertUnicodeToGb18030() 344 = pGb18030Data[pRange->m_nNonRangeDataIndex in ImplConvertUnicodeToGb18030() 361 else if (nChar <= pRange->m_nLastUnicode) in ImplConvertUnicodeToGb18030() [all …]
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | nodes.cxx | 1060 if( pRange->aStart >= pRange->aEnd || in SectionDown() 1062 !CheckNodesRange( pRange->aStart, pRange->aEnd )) in SectionDown() 1077 pRange->aStart = *pSttNd; in SectionDown() 1078 aTmpIdx = pRange->aStart; in SectionDown() 1084 pRange->aEnd--; in SectionDown() 1089 pRange->aEnd++; in SectionDown() 1091 new SwEndNode( pRange->aEnd, *pRange->aStart.GetNode().GetStartNode() ); in SectionDown() 1093 pRange->aEnd--; in SectionDown() 1137 if( pRange->aStart >= pRange->aEnd || in SectionUp() 1139 !CheckNodesRange( pRange->aStart, pRange->aEnd ) || in SectionUp() [all …]
|
/aoo41x/main/sc/source/ui/pagedlg/ |
H A D | areasdlg.cxx | 802 if (pRange) in lcl_CheckRepeatString() 805 pRange->aStart.SetCol(0); in lcl_CheckRepeatString() 806 pRange->aStart.SetRow(0); in lcl_CheckRepeatString() 807 pRange->aEnd.SetCol(0); in lcl_CheckRepeatString() 808 pRange->aEnd.SetRow(0); in lcl_CheckRepeatString() 832 if (pRange) in lcl_CheckRepeatString() 859 if (pRange) in lcl_CheckRepeatString() 865 pRange->aEnd.SetRow(static_cast<SCROW>(nVal)); in lcl_CheckRepeatString() 884 if (!pRange) in lcl_GetRepeatRangeString() 888 const ScAddress& rStart = pRange->aStart; in lcl_GetRepeatRangeString() [all …]
|
/aoo41x/main/svl/source/items/ |
H A D | nranges.cxx | 34 for ( const NUMTYPE *pRange = pArr; *pRange; pRange += 2 ) \ 36 DBG_ASSERT( pRange[0] <= pRange[1], "ranges must be sorted" ); \ 37 DBG_ASSERT( !pRange[2] || ( pRange[2] - pRange[1] ) > 1, \ 841 for ( NUMTYPE *pRange = _pRanges; *pRange && *pRange <= n; pRange += 2 ) in Contains() local 842 if ( pRange[0] <= n && n <= pRange[1] ) in Contains()
|
/aoo41x/main/editeng/source/uno/ |
H A D | unotext.cxx | 231 SvxUnoTextRangeBase* pRange; in ~check_me() local 374 xRange = pRange; in getStart() 1868 if(pRange) in createTextCursorByRange() 1888 if(pRange) in insertString() 1895 pRange->CollapseToEnd(); in insertString() 1899 pRange->CollapseToEnd(); in insertString() 1928 if(pRange) in insertControlCharacter() 1960 if(pRange) in insertControlCharacter() 2214 xRet = pRange; in appendParagraph() 2244 xRet = pRange; in finishParagraph() [all …]
|
H A D | unotext2.cxx | 459 SvxUnoTextRange* pRange = 0; in nextElement() local 462 for( aIter = rRanges.begin(); (aIter != rRanges.end()) && (pRange == 0); aIter++ ) in nextElement() 466 pRange = pIterRange; in nextElement() 469 if( pRange == 0 ) in nextElement() 471 pRange = new SvxUnoTextRange( mrParentText, sal_True ); in nextElement() 472 pRange->SetSelection(aSel); in nextElement() 475 xRange = pRange; in nextElement() 642 SvxUnoTextRangeBase* pRange = SvxUnoTextRangeBase::getImplementation( xRange ); in gotoRange() local 644 if( pRange ) in gotoRange() 646 ESelection aNewSel = pRange->GetSelection(); in gotoRange()
|
/aoo41x/main/sc/source/ui/Accessibility/ |
H A D | AccessibleSpreadsheet.cxx | 69 if (pRange) in CalcScAddressFromRangeList() 73 const int nColNum = pRange->aEnd.Col() - pRange->aStart.Col() + 1; in CalcScAddressFromRangeList() 85 while (pRange) in CalcScAddressFromRangeList() 87 if (pRange->aStart.Tab() != pRange->aEnd.Tab()) in CalcScAddressFromRangeList() 224 while (pRange) in CalcScRangeListDifferenceMax() 226 for (sal_Int32 row = pRange->aStart.Row(); row <= pRange->aEnd.Row();++row) in CalcScRangeListDifferenceMax() 228 for (sal_uInt16 col = pRange->aStart.Col(); col <= pRange->aEnd.Col();++col) in CalcScRangeListDifferenceMax() 233 pRange = pSrc->Next(); in CalcScRangeListDifferenceMax() 239 ScRange* pRange = pSrc->First(); in CalcScRangeListDifferenceMax() local 240 while (pRange) in CalcScRangeListDifferenceMax() [all …]
|
/aoo41x/main/sc/source/filter/xml/ |
H A D | XMLStylesImportHelper.cxx | 94 ScRange* pRange(NULL); in AddRange() local 97 pRange = pList->GetObject(i); in AddRange() 98 if (pRange && (pRange->aEnd.Row() + 1 < rRange.aStart.Row())) in AddRange() 100 rImport.SetStyleToRange(*pRange, pStyleName, nType, NULL); in AddRange() 101 delete pRange; in AddRange() 102 pRange = NULL; in AddRange() 118 ScRange* pRange(NULL); in AddCurrencyRange() local 121 pRange = xList->GetObject(i); in AddCurrencyRange() 122 if (pRange && (pRange->aEnd.Row() + 1 < rRange.aStart.Row())) in AddCurrencyRange() 125 delete pRange; in AddCurrencyRange() [all …]
|
H A D | xmlsceni.cxx | 161 ScRange* pRange(aScenarioRanges.GetObject( i )); in EndElement() local 162 if( pRange ) in EndElement() 163 pDoc->ApplyFlagsTab( pRange->aStart.Col(), pRange->aStart.Row(), in EndElement() 164 pRange->aEnd.Col(), pRange->aEnd.Row(), nCurrTable, SC_MF_SCENARIO ); in EndElement()
|
H A D | XMLStylesExportHelper.cxx | 645 ScMyRowFormatRange* pRange(&aRowFormatRanges.back()); in AddRange() local 646 if (pRange) in AddRange() 648 if ((nPrevStartCol == (pRange->nStartColumn + pRange->nRepeatColumns)) && in AddRange() 649 (pRange->bIsAutoStyle == rFormatRange.bIsAutoStyle) && in AddRange() 650 (pRange->nIndex == nIndex) && in AddRange() 651 (pRange->nValidationIndex == rFormatRange.nValidationIndex)) in AddRange() 653 if (rFormatRange.nRepeatRows < pRange->nRepeatRows) in AddRange() 654 pRange->nRepeatRows = rFormatRange.nRepeatRows; in AddRange() 655 pRange->nRepeatColumns += nRepeat; in AddRange()
|
/aoo41x/main/sc/source/core/tool/ |
H A D | charthelper.cxx | 103 ScRange* pRange = rRanges.GetObject(i); in lcl_AdjustRanges() local 104 if ( pRange->aStart.Tab() == nSourceTab && pRange->aEnd.Tab() == nSourceTab ) in lcl_AdjustRanges() 106 pRange->aStart.SetTab( nDestTab ); in lcl_AdjustRanges() 107 pRange->aEnd.SetTab( nDestTab ); in lcl_AdjustRanges() 110 if ( pRange->aStart.Tab() >= nTabCount ) in lcl_AdjustRanges() 112 pRange->aStart.SetTab( nTabCount > 0 ? ( nTabCount - 1 ) : 0 ); in lcl_AdjustRanges() 115 if ( pRange->aEnd.Tab() >= nTabCount ) in lcl_AdjustRanges() 117 pRange->aEnd.SetTab( nTabCount > 0 ? ( nTabCount - 1 ) : 0 ); in lcl_AdjustRanges()
|
H A D | rangeutl.cxx | 544 ScRange* pRange = new ScRange; in GetRangeListFromString() local 545 …if( GetRangeFromString( *pRange, rRangeListStr, pDocument, eConv, nOffset, cSeperator, cQuote ) &&… in GetRangeListFromString() 546 rRangeList.Insert( pRange, LIST_APPEND ); in GetRangeListFromString() 703 const ScRange* pRange = pRangeList->GetObject( nIndex ); in GetStringFromRangeList() local 704 if( pRange ) in GetStringFromRangeList() 705 …GetStringFromRange( sRangeListStr, *pRange, pDocument, eConv, cSeperator, sal_True, nFormatFlags ); in GetStringFromRangeList()
|
/aoo41x/main/sc/source/filter/lotus/ |
H A D | op.cxx | 230 LotusRange* pRange; in OP_NamedRange() local 233 pRange = new LotusRange( static_cast<SCCOL> (nColSt), static_cast<SCROW> (nRowSt) ); in OP_NamedRange() 235 pRange = new LotusRange( static_cast<SCCOL> (nColSt), static_cast<SCROW> (nRowSt), in OP_NamedRange() 251 pLotusRoot->pRangeNames->Append( pRange, aTmp ); in OP_NamedRange() 270 LotusRange* pRange; in OP_SymphNamedRange() local 273 pRange = new LotusRange( static_cast<SCCOL> (nColSt), static_cast<SCROW> (nRowSt) ); in OP_SymphNamedRange() 275 pRange = new LotusRange( static_cast<SCCOL> (nColSt), static_cast<SCROW> (nRowSt), in OP_SymphNamedRange() 290 pLotusRoot->pRangeNames->Append( pRange, aTmp ); in OP_SymphNamedRange()
|
/aoo41x/main/sc/source/ui/vba/ |
H A D | vbarange.cxx | 1212 for ( ScRange* pRange = aCellRanges.First() ; pRange; pRange = aCellRanges.Next() ) in getScRangeListForAddress() local 1217 pRange->aEnd.SetCol( refRange.aStart.Col() + pRange->aEnd.Col() ); in getScRangeListForAddress() 1218 pRange->aEnd.SetRow( refRange.aStart.Row() + pRange->aEnd.Row() ); in getScRangeListForAddress() 1617 if ( pRange ) in ClearContents() 1891 for ( ScRange* pRange = aCellRanges.First() ; pRange; pRange = aCellRanges.Next() ) in Offset() local 1895 pRange->aStart.SetCol( pRange->aStart.Col() + nColOffset ); in Offset() 1896 pRange->aEnd.SetCol( pRange->aEnd.Col() + nColOffset ); in Offset() 1900 pRange->aStart.SetRow( pRange->aStart.Row() + nRowOffset ); in Offset() 1901 pRange->aEnd.SetRow( pRange->aEnd.Row() + nRowOffset ); in Offset() 2867 for ( ScRange* pRange = aCellRanges.First() ; pRange; pRange = aCellRanges.Next() ) in getEntireColumnOrRow() local [all …]
|
/aoo41x/main/sw/source/core/attr/ |
H A D | swatrset.cxx | 390 sal_Bool IsInRange( const sal_uInt16* pRange, const sal_uInt16 nId ) in IsInRange() argument 392 while( *pRange ) in IsInRange() 394 if( *pRange <= nId && nId <= *(pRange+1) ) in IsInRange() 396 pRange += 2; in IsInRange()
|
/aoo41x/main/sc/source/ui/miscdlgs/ |
H A D | anyrefdg.cxx | 317 const ScRange* pRange = aRangeList.GetObject( 0 ); in ReleaseFocus() local 318 if( pRange ) in ReleaseFocus() 320 pViewShell->SetTabNo( pRange->aStart.Tab() ); in ReleaseFocus() 321 pViewShell->MoveCursorAbs( pRange->aStart.Col(), in ReleaseFocus() 322 pRange->aStart.Row(), SC_FOLLOW_JUMP, sal_False, sal_False ); in ReleaseFocus() 323 pViewShell->MoveCursorAbs( pRange->aEnd.Col(), in ReleaseFocus() 324 pRange->aEnd.Row(), SC_FOLLOW_JUMP, sal_True, sal_False ); in ReleaseFocus() 325 m_pDlg->SetReference( *pRange, pDoc ); in ReleaseFocus()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | impfont.cxx | 287 const sal_UCS4* pRange = &mpRangeCodes[0]; in GetIndexFromChar() local 290 sal_UCS4 cFirst = *(pRange++); in GetIndexFromChar() 291 sal_UCS4 cLast = *(pRange++); in GetIndexFromChar() 308 const sal_UCS4* pRange = &mpRangeCodes[0]; in GetCharFromIndex() local 311 sal_UCS4 cFirst = *(pRange++); in GetCharFromIndex() 312 sal_UCS4 cLast = *(pRange++); in GetCharFromIndex()
|
/aoo41x/main/sc/source/filter/html/ |
H A D | htmlpars.cxx | 1983 ScRange* pRange = 0; in GetSpan() local 1984 …if( ((pRange = maVMergedCells.Find( rCellPos.MakeAddr() )) != 0) || ((pRange = maHMergedCells.Find… in GetSpan() 1985 …aSpan.Set( pRange->aEnd.Col() - pRange->aStart.Col() + 1, pRange->aEnd.Row() - pRange->aStart.Row(… in GetSpan() 2394 ScRange* pRange; in InsertNewCell() local 2398 …while( ((pRange = maVMergedCells.Find( maCurrCell.MakeAddr() )) != 0) || ((pRange = maHMergedCells… in InsertNewCell() 2399 maCurrCell.mnCol = pRange->aEnd.Col() + 1; in InsertNewCell() 2407 if( (pRange = maVMergedCells.Find( aAddr )) != 0 ) in InsertNewCell() 2408 pRange->aEnd.SetRow( maCurrCell.mnRow - 1 ); in InsertNewCell() 2580 for( const ScRange* pRange = maVMergedCells.First(); pRange; pRange = maVMergedCells.Next() ) in FillEmptyCells() local 2581 maUsedCells.Join( *pRange ); in FillEmptyCells()
|
/aoo41x/main/sc/source/filter/excel/ |
H A D | xistyle.cxx | 1767 ScRange* pRange = maMergeList.Last(); in SetXF() local 1768 if( pRange && (pRange->aEnd.Row() == nScRow) && (pRange->aEnd.Col() + 1 == nScCol) in SetXF() 1770 pRange->aEnd.IncCol(); in SetXF() 1865 for( const ScRange* pRange = maMergeList.First(); pRange; pRange = maMergeList.Next() ) in Finalize() local 1867 const ScAddress& rStart = pRange->aStart; in Finalize() 1868 const ScAddress& rEnd = pRange->aEnd; in Finalize() 1873 SetBorderLine( *pRange, nScTab, BOX_LINE_RIGHT ); in Finalize() 1876 SetBorderLine( *pRange, nScTab, BOX_LINE_BOTTOM ); in Finalize()
|
/aoo41x/main/sd/source/ui/unoidl/ |
H A D | unosrch.cxx | 616 SvxUnoTextRange *pRange; in Search() local 622 pRange = new SvxUnoTextRange( *pParent ); in Search() 623 xFound = (text::XText*)pRange; in Search() 624 pRange->SetSelection(aSelection); in Search() 677 SvxUnoTextRangeBase* pRange = SvxUnoTextRangeBase::getImplementation( xTextRange ); in GetSelection() local 679 if(pRange) in GetSelection() 680 aSel = pRange->GetSelection(); in GetSelection()
|
/aoo41x/main/sc/source/ui/docshell/ |
H A D | tablink.cxx | 352 const ScRange* pRange = aErrorCells.GetObject(nPos); in Refresh() local 353 SCCOL nStartCol = pRange->aStart.Col(); in Refresh() 354 SCROW nStartRow = pRange->aStart.Row(); in Refresh() 355 SCCOL nEndCol = pRange->aEnd.Col(); in Refresh() 356 SCROW nEndRow = pRange->aEnd.Row(); in Refresh()
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unorefmk.cxx | 315 SwXTextRange* pRange = 0; in attach() local 319 pRange = ::sw::UnoTunnelGetImplementation<SwXTextRange>(xRangeTunnel); in attach() 324 (pRange) ? pRange->GetDoc() : ((pCursor) ? pCursor->GetDoc() : 0); in attach() 1078 SwXTextRange *const pRange( in AttachImpl() local 1080 OTextCursorHelper *const pCursor( (pRange) ? 0 : in AttachImpl() 1082 if (!pRange && !pCursor) in AttachImpl() 1090 pRange ? pRange->GetDoc() : pCursor ? pCursor->GetDoc() : 0 ); in AttachImpl()
|
/aoo41x/main/sc/source/ui/app/ |
H A D | inputwin.cxx | 278 const ScRange* pRange = pRangeList->GetObject( nRangeIndex ); in UseSubTotal() local 279 if( pRange ) in UseSubTotal() 281 SCTAB nTabEnd(pRange->aEnd.Tab()); in UseSubTotal() 282 SCTAB nTab(pRange->aStart.Tab()); in UseSubTotal() 285 SCROW nRowEnd(pRange->aEnd.Row()); in UseSubTotal() 286 SCROW nRow(pRange->aStart.Row()); in UseSubTotal() 311 const ScRange* pRange = pRangeList->GetObject( nRangeIndex ); in UseSubTotal() local 312 if( pRange ) in UseSubTotal() 316 if (aDBArea.Intersects(*pRange)) in UseSubTotal()
|
/aoo41x/main/svx/source/table/ |
H A D | tablemodel.cxx | 328 ICellRange* pRange = dynamic_cast< ICellRange* >( Range.get() ); in createCursorByRange() local 329 if( (pRange == 0) || (pRange->getTable().get() != this) ) in createCursorByRange() 333 …return new CellCursor( xModel, pRange->getLeft(), pRange->getTop(), pRange->getRight(), pRange->ge… in createCursorByRange()
|