/aoo42x/main/svl/source/items/ |
H A D | whiter.cxx | 36 pRanges(rSet.GetRanges()), in DBG_NAME() 57 while ( 0 != *pRanges ) in NextWhich() 61 if (*(pRanges+1) == nLastWhich) in NextWhich() 63 pRanges += 2; in NextWhich() 83 pRanges -= 2; in PrevWhich() 84 nOfst = *(pRanges+1) - (*pRanges); in PrevWhich() 98 pRanges = pStart; in FirstWhich() 100 if ( *pRanges >= nFrom && *pRanges <= nTo ) in FirstWhich() 101 return *pRanges; in FirstWhich() 110 while(*pRanges) in LastWhich() [all …]
|
H A D | nranges.cxx | 105 NUMTYPE Count_Impl( const NUMTYPE *pRanges ) in Count_Impl() argument 115 while ( *pRanges ) in Count_Impl() 118 pRanges += 2; in Count_Impl() 125 NUMTYPE Capacity_Impl( const NUMTYPE *pRanges ) in Capacity_Impl() argument 136 if ( pRanges ) in Capacity_Impl() 138 while ( *pRanges ) in Capacity_Impl() 140 nCount += pRanges[1] - pRanges[0] + 1; in Capacity_Impl() 141 pRanges += 2; in Capacity_Impl()
|
H A D | rngitem_inc.cxx | 27 static inline NUMTYPE Count_Impl(const NUMTYPE * pRanges) in Count_Impl() argument 30 for (; *pRanges; pRanges += 2) nCount += 2; in Count_Impl() 39 NUMTYPE Count_Impl( const NUMTYPE *pRanges ); 140 SfxXRangesItem::SfxXRangesItem( sal_uInt16 nWID, const NUMTYPE *pRanges ) in SfxXRangesItem() argument 143 NUMTYPE nCount = Count_Impl(pRanges) + 1; in SfxXRangesItem() 145 memcpy( _pRanges, pRanges, sizeof(NUMTYPE) * nCount ); in SfxXRangesItem()
|
/aoo42x/main/sc/source/ui/view/ |
H A D | colrowba.cxx | 128 SCCOLROW* pRanges = new SCCOLROW[MAXCOL+1]; in SetEntrySize() local 144 pRanges[static_cast<size_t>(2*nRangeCnt) ] = nStart; in SetEntrySize() 145 pRanges[static_cast<size_t>(2*nRangeCnt+1)] = nEnd; in SetEntrySize() 155 pRanges[0] = nPos; in SetEntrySize() 156 pRanges[1] = nPos; in SetEntrySize() 161 delete[] pRanges; in SetEntrySize() 295 SCCOLROW* pRanges = new SCCOLROW[MAXROW+1]; in SetEntrySize() local 312 pRanges[static_cast<size_t>(2*nRangeCnt+1)] = nEnd; in SetEntrySize() 322 pRanges[0] = nPos; in SetEntrySize() 323 pRanges[1] = nPos; in SetEntrySize() [all …]
|
H A D | viewfunc.cxx | 1733 SCCOLROW* pOneRange = pRanges; in DeleteMulti() 1794 delete[] pRanges; in DeleteMulti() 1809 pOneRange = pRanges; in DeleteMulti() 1846 SCCOLROW nFirstStart = pRanges[0]; in DeleteMulti() 1879 nCurY = pRanges[0]; in DeleteMulti() 1881 nCurX = static_cast<SCCOL>(pRanges[0]); in DeleteMulti() 1884 delete[] pRanges; in DeleteMulti() 2116 SCCOLROW nStart = pRanges[0]; in SetWidthOrHeight() 2117 SCCOLROW nEnd = pRanges[2*nRangeCnt-1]; in SetWidthOrHeight() 2176 const SCCOLROW* pTabRanges = pRanges; in SetWidthOrHeight() [all …]
|
/aoo42x/main/chart2/source/controller/itemsetwrapper/ |
H A D | ItemConverter.cxx | 99 const sal_uInt16 * pRanges = rOutItemSet.GetRanges(); in FillItemSet() local 103 OSL_ASSERT( pRanges != NULL ); in FillItemSet() 107 while( (*pRanges) != 0) in FillItemSet() 109 sal_uInt16 nBeg = (*pRanges); in FillItemSet() 110 ++pRanges; in FillItemSet() 111 sal_uInt16 nEnd = (*pRanges); in FillItemSet() 112 ++pRanges; in FillItemSet()
|
/aoo42x/main/sc/source/core/data/ |
H A D | markdata.cxx | 420 SCCOLROW ScMarkData::GetMarkColumnRanges( SCCOLROW* pRanges ) in GetMarkColumnRanges() argument 435 pRanges[0] = 0; in GetMarkColumnRanges() 436 pRanges[1] = MAXCOL; in GetMarkColumnRanges() 453 pRanges[2*nRangeCnt ] = nStart; in GetMarkColumnRanges() 454 pRanges[2*nRangeCnt+1] = nEnd; in GetMarkColumnRanges() 465 SCCOLROW ScMarkData::GetMarkRowRanges( SCCOLROW* pRanges ) in GetMarkRowRanges() argument 500 pRanges[0] = nTop; in GetMarkRowRanges() 501 pRanges[1] = nBottom; in GetMarkRowRanges() 521 pRanges[2*nRangeCnt ] = nStart; in GetMarkRowRanges() 522 pRanges[2*nRangeCnt+1] = nEnd; in GetMarkRowRanges()
|
/aoo42x/main/sfx2/source/view/ |
H A D | viewfrm2.cxx | 399 const sal_uInt16 *pRanges = rSet.GetRanges(); in GetState_Impl() local 400 DBG_ASSERT(pRanges, "Set ohne Bereich"); in GetState_Impl() 401 while ( *pRanges ) in GetState_Impl() 403 for ( sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich ) in GetState_Impl() 449 ++pRanges; in GetState_Impl()
|
H A D | viewfrm.cxx | 2661 const sal_uInt16 *pRanges = rSet.GetRanges(); in StateView_Impl() local 2662 DBG_ASSERT(pRanges, "Set ohne Bereich"); in StateView_Impl() 2663 while ( *pRanges ) in StateView_Impl() 2665 for ( sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich ) in StateView_Impl() 3238 const sal_uInt16 *pRanges = rSet.GetRanges(); in MiscState_Impl() local 3239 DBG_ASSERT(pRanges && *pRanges, "Set ohne Bereich"); in MiscState_Impl() 3240 while ( *pRanges ) in MiscState_Impl() 3242 for(sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich) in MiscState_Impl() 3350 ++pRanges; in MiscState_Impl()
|
/aoo42x/main/cui/source/dialogs/ |
H A D | iconcdlg.cxx | 231 pRanges ( NULL ), in IconChoiceDialog() 338 if ( pRanges ) in ~IconChoiceDialog() 339 delete pRanges; in ~IconChoiceDialog() 923 if ( pRanges ) in GetInputRanges() 924 return pRanges; in GetInputRanges() 968 pRanges = new sal_uInt16[aUS.Count() + 1]; in GetInputRanges() 969 memcpy(pRanges, aUS.GetData(), sizeof(sal_uInt16) * aUS.Count()); in GetInputRanges() 970 pRanges[aUS.Count()] = 0; in GetInputRanges() 972 return pRanges; in GetInputRanges()
|
/aoo42x/main/svtools/workben/ |
H A D | urange.cxx | 70 const sal_uInt16* pRanges = ( const sal_uInt16*)aRanges; in MakeString_Impl() local 72 while( pRanges[ nPos ] != 0 ) in MakeString_Impl() 74 aStr += pRanges[ nPos ]; in MakeString_Impl() 76 aStr += pRanges[ nPos+1 ]; in MakeString_Impl()
|
/aoo42x/main/sc/source/ui/undo/ |
H A D | undoblk.cxx | 584 pRanges = new SCCOLROW[ 2 * nRangeCnt ]; in ScUndoDeleteMulti() 585 memcpy(pRanges,pRng,nRangeCnt*2*sizeof(SCCOLROW)); in ScUndoDeleteMulti() 591 delete [] pRanges; in ~ScUndoDeleteMulti() 647 SCCOLROW* pOneRange = &pRanges[2*nRangeCnt]; in SetChangeTrack() 681 pOneRange = pRanges; in Undo() 692 pOneRange = pRanges; in Undo() 725 SCCOLROW* pOneRange = &pRanges[2*nRangeCnt]; in Redo() 2181 pRanges = new ScRangeList(rRangeList); in ScUndoBorder() 2189 delete pRanges; in ~ScUndoBorder() 2217 sal_uLong nCount = pRanges->Count(); in Redo() [all …]
|
H A D | undoblk2.cxx | 76 pRanges( pNewRanges ), in ScUndoWidthOrHeight() 87 delete[] pRanges; in ~ScUndoWidthOrHeight() 183 …pViewShell->SetWidthOrHeight( bWidth, nRangeCnt, pRanges, eMode, nNewSize, sal_False, sal_True, &a… in Redo()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | tabdlg.cxx | 489 pRanges ( 0 ), \ 638 delete [] pRanges; in ~SfxTabDialog() 1705 if ( pRanges ) in GetInputRanges() 1706 return pRanges; in GetInputRanges() 1762 pRanges = new sal_uInt16[aUS.Count() + 1]; in GetInputRanges() 1763 memcpy(pRanges, aUS.GetData(), sizeof(sal_uInt16) * aUS.Count()); in GetInputRanges() 1764 pRanges[aUS.Count()] = 0; in GetInputRanges() 1765 return pRanges; in GetInputRanges()
|
H A D | basedlgs.cxx | 1026 if ( pRanges ) in GetInputRanges() 1027 return pRanges; in GetInputRanges() 1050 pRanges = new sal_uInt16[aUS.Count() + 1]; in GetInputRanges() 1051 memcpy( pRanges, aUS.GetData(), sizeof(sal_uInt16) * aUS.Count() ); in GetInputRanges() 1052 pRanges[aUS.Count()] = 0; in GetInputRanges() 1053 return pRanges; in GetInputRanges()
|
/aoo42x/main/sw/source/ui/uiview/ |
H A D | formatclipboard.cxx | 453 const sal_uInt16* pRanges = rStyleAttrSet.GetRanges(); in lcl_AppendSetItems() local 454 while( *pRanges ) in lcl_AppendSetItems() 456 for ( sal_uInt16 nWhich = *pRanges; nWhich <= *(pRanges+1); ++nWhich ) in lcl_AppendSetItems() 464 pRanges += 2; in lcl_AppendSetItems()
|
/aoo42x/main/sfx2/source/appl/ |
H A D | appserv.cxx | 561 const sal_uInt16 *pRanges = rSet.GetRanges(); in MiscState_Impl() local 562 DBG_ASSERT(pRanges && *pRanges, "Set ohne Bereich"); in MiscState_Impl() 563 while ( *pRanges ) in MiscState_Impl() 565 for(sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich) in MiscState_Impl() 653 ++pRanges; in MiscState_Impl()
|
H A D | appcfg.cxx | 175 const sal_uInt16 *pRanges = rSet.GetRanges(); in GetOptions() local 183 while ( *pRanges ) in GetOptions() 185 for(sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich) in GetOptions() 517 pRanges++; in GetOptions()
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdedxv.cxx | 2161 static SfxItemSet CreatePaintSet( const sal_uInt16 *pRanges, SfxItemPool& rPool, const SfxItemSet& … in CreatePaintSet() argument 2163 SfxItemSet aPaintSet( rPool, pRanges ); in CreatePaintSet() 2165 while( *pRanges ) in CreatePaintSet() 2167 sal_uInt16 nWhich = *pRanges++; in CreatePaintSet() 2168 const sal_uInt16 nLastWhich = *pRanges++; in CreatePaintSet() 2237 const sal_uInt16* pRanges = rFormatSet.GetRanges(); in ApplyFormatPaintBrush() local 2240 while( *pRanges ) in ApplyFormatPaintBrush() 2242 if( (*pRanges != EE_PARA_START) && (*pRanges != EE_CHAR_START) ) in ApplyFormatPaintBrush() 2247 pRanges += 2; in ApplyFormatPaintBrush()
|
/aoo42x/main/svx/source/dialog/ |
H A D | srchdlg.cxx | 128 sal_uInt16* pRanges; member 147 pRanges ( NULL ) in SearchDlg_Impl() 156 ~SearchDlg_Impl() { delete[] pRanges; } in ~SearchDlg_Impl() 1261 if ( !pImpl->pRanges && pSSet ) in InitAttrList_Impl() 1273 pImpl->pRanges = new sal_uInt16[nCnt]; in InitAttrList_Impl() 1274 memcpy( pImpl->pRanges, pTmp, sizeof(sal_uInt16) * nCnt ); in InitAttrList_Impl() 2136 if ( !pSh || !pImpl->pRanges ) in IMPL_LINK() 2140 const sal_uInt16* pPtr = pImpl->pRanges; in IMPL_LINK() 2259 if ( !pSearchList || !pImpl->pRanges ) in IMPL_LINK() 2266 …= pFact->CreateSvxSearchAttributeDialog( LAYOUT_THIS_WINDOW (this), *pSearchList, pImpl->pRanges ); in IMPL_LINK()
|
/aoo42x/main/sw/source/ui/envelp/ |
H A D | envfmt.cxx | 377 const sal_uInt16 *pRanges = pColl->GetAttrSet().GetRanges(); in GetCollItemSet() local 396 while (pRanges[i]) in GetCollItemSet() 398 for (sal_uInt16 nPos = pRanges[i]; nPos <= pRanges[i+1]; nPos++) in GetCollItemSet()
|
/aoo42x/main/svl/inc/svl/ |
H A D | whiter.hxx | 41 const sal_uInt16 *pRanges, *pStart; member in SfxWhichIter 48 sal_uInt16 GetCurWhich() const { return *pRanges + nOfst; } in GetCurWhich()
|
/aoo42x/main/sc/inc/ |
H A D | markdata.hxx | 96 SCCOLROW GetMarkColumnRanges( SCCOLROW* pRanges ); 97 SCCOLROW GetMarkRowRanges( SCCOLROW* pRanges );
|
/aoo42x/main/sc/source/filter/xml/ |
H A D | XMLStylesExportHelper.cxx | 616 ScRowFormatRanges::ScRowFormatRanges(const ScRowFormatRanges* pRanges) in ScRowFormatRanges() argument 617 : aRowFormatRanges(pRanges->aRowFormatRanges), in ScRowFormatRanges() 618 pRowDefaults(pRanges->pRowDefaults), in ScRowFormatRanges() 619 pColDefaults(pRanges->pColDefaults), in ScRowFormatRanges() 620 nSize(pRanges->nSize) in ScRowFormatRanges()
|
/aoo42x/main/cui/source/tabpages/ |
H A D | dstribut.cxx | 36 static sal_uInt16 pRanges[] = variable 149 return(pRanges); in GetRanges()
|