/aoo42x/main/sw/source/core/inc/ |
H A D | scriptinfo.hxx | 143 inline xub_StrLen GetDirChg( const size_t nCnt ) const; 359 return aScriptChg[ nCnt ]; in GetScriptChg() 364 return aScriptType[ nCnt ]; in GetScriptType() 371 return aDirChg[ nCnt ]; in GetDirChg() 375 ASSERT( nCnt < aDirType.size(),"No DirType today!"); in GetDirType() 376 return aDirType[ nCnt ]; in GetDirType() 383 return aKashida[ nCnt ]; in GetKashida() 390 return aCompChg[ nCnt ]; in GetCompStart() 395 return aCompLen[ nCnt ]; in GetCompLen() 401 return aCompType[ nCnt ]; in GetCompType() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | wrong.cxx | 380 MSHORT nCnt = nIndex; in Fresh() local 387 while( nCnt < Count() && ( nWrPos = Pos( nCnt ) ) < nPos ) in Fresh() 390 if( nCnt < Count() && nWrPos == nPos && Len( nCnt ) == nLen ) in Fresh() 392 ++nCnt; in Fresh() 407 if( nCnt < Count() && ( nWrPos = Pos( nCnt ) ) < nPos ) in Fresh() 413 while( nCnt < Count() && ( nWrPos = Pos( nCnt ) ) < nPos ) in Fresh() 419 Remove( nIndex, nCnt - nIndex ); in Fresh() 496 sal_uInt16 nCnt = Count(); in JoinList() local 501 if( nCnt && Count() > nCnt ) in JoinList() 512 if( nWrPos == Pos( nCnt - 1 ) + Len( nCnt - 1 ) ) in JoinList() [all …]
|
H A D | portxt.cxx | 88 sal_uInt16 nCnt = 0; in lcl_AddSpace() local 124 --nCnt; in lcl_AddSpace() 160 --nCnt; in lcl_AddSpace() 176 return nCnt; in lcl_AddSpace() 181 ++nCnt; in lcl_AddSpace() 225 return nCnt; in lcl_AddSpace() 646 nCnt = nCnt + lcl_AddSpace( rInf, &aStr, *this ); in GetSpaceCnt() 652 nCnt = nCnt + lcl_AddSpace( rInf, 0, *this ); in GetSpaceCnt() 656 return nCnt; in GetSpaceCnt() 676 nCnt = nCnt + lcl_AddSpace( rInf, &aStr, *this ); in CalcSpacing() [all …]
|
H A D | porlay.cxx | 826 sal_uInt16 nCnt = 0; in InitScriptInfo() local 851 while( nCnt < CountScriptChg() ) in InitScriptInfo() 854 nCnt++; in InitScriptInfo() 892 const xub_StrLen nGrpStart = nCnt ? GetScriptChg( nCnt - 1 ) : 0; in InitScriptInfo() 912 aScriptType.erase( aScriptType.begin() + nCnt, aScriptType.begin() + (nCnt + nScriptRemove) ); in InitScriptInfo() 978 nCnt++; in InitScriptInfo() 1040 nCnt++; in InitScriptInfo() 1313 nCnt = 0; in InitScriptInfo() 2203 sal_uInt16 nCnt = 0; in ThaiJustify() local 2220 ++nCnt; in ThaiJustify() [all …]
|
/aoo42x/main/svtools/source/svrtf/ |
H A D | svparser.cxx | 473 pTokenStackPos = GetStackPtr( nCnt ); in SkipToken() 474 short nTmp = nTokenStackPos - nCnt; in SkipToken() 492 if( nCnt > 0 ) in GetStackPtr() 494 if( nCnt >= nTokenStackSize ) in GetStackPtr() 495 nCnt = (nTokenStackSize-1); in GetStackPtr() 496 if( nAktPos + nCnt < nTokenStackSize ) in GetStackPtr() 502 else if( nCnt < 0 ) in GetStackPtr() 504 if( -nCnt >= nTokenStackSize ) in GetStackPtr() 505 nCnt = -nTokenStackSize+1; in GetStackPtr() 506 if( -nCnt <= nAktPos ) in GetStackPtr() [all …]
|
/aoo42x/main/sc/source/filter/lotus/ |
H A D | lotimpop.cxx | 140 sal_uInt16 nCnt = (nRecLen < 4) ? 0 : ( nRecLen - 4 ) / 2; in Columnwidth() local 154 while( nCnt ) in Columnwidth() 161 nCnt--; in Columnwidth() 183 while( nCnt ) in Hiddencolumn() 188 nCnt--; in Hiddencolumn() 319 while( nCnt ) in RowPresentation() 338 nCnt--; in RowPresentation() 376 for( sal_uInt16 nCnt = 0 ; nCnt < LotusFontBuffer::nSize ; nCnt++ ) in Font_Type() local 380 pLotusRoot->pFontBuff->SetType( nCnt, nType ); in Font_Type() 387 for( sal_uInt16 nCnt = 0 ; nCnt < LotusFontBuffer::nSize ; nCnt++ ) in Font_Ysize() local [all …]
|
H A D | lotread.cxx | 211 SCTAB nCnt; in Read() local 222 for( nCnt = 1 ; nCnt < nTabs ; nCnt++ ) in Read() 224 DBG_ASSERT( pD->HasTable( nCnt ), in Read() 226 pD->GetName( nCnt, aTabName ); in Read() 231 pD->RenameTab( nCnt, aTabName ); in Read()
|
/aoo42x/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 656 sal_uInt16 nCnt, sal_Bool bBehind ) in NewInsertCol() argument 658 if( !aLines.Count() || !nCnt ) in NewInsertCol() 1101 if( nCnt > nCount ) in lcl_UnMerge() 1102 nCnt = nCount; in lcl_UnMerge() 1128 for( long i = 1; i <= nCnt; ++i ) in lcl_UnMerge() 1132 for( long i = 0; i < nCnt; ++i ) in lcl_UnMerge() 1217 if( nCnt > rBox.getRowSpan() ) in lcl_SophisticatedFillLineIndices() 1306 if( nCnt < 2 ) in lcl_CalculateSplitLineHeights() 1406 ++nCnt; in NewSplitRow() 1415 *this, rBoxes, nCnt ); in NewSplitRow() [all …]
|
/aoo42x/main/svx/source/engine3d/ |
H A D | dragmt3d.cxx | 64 const long nCnt(rMark.GetMarkCount()); in E3dDragMethod() local 92 for(nObjs = 0;nObjs < nCnt;nObjs++) in E3dDragMethod() 154 const sal_uInt32 nCnt(maGrp.size()); in BeginSdrDrag() local 185 const sal_uInt32 nCnt(maGrp.size()); in EndSdrDrag() local 201 for(nOb=0;nOb<nCnt;nOb++) in EndSdrDrag() 232 const sal_uInt32 nCnt(maGrp.size()); in CancelSdrDrag() local 270 const sal_uInt32 nCnt(maGrp.size()); in CreateOverlayGeometry() local 325 const sal_uInt32 nCnt(maGrp.size()); in E3dDragRotate() local 327 if(nCnt) in E3dDragRotate() 347 if(nCnt > 1) in E3dDragRotate() [all …]
|
/aoo42x/main/svx/source/items/ |
H A D | hlnkitem.cxx | 84 if( nCnt ) in Store() 88 --nCnt; in Store() 91 rStrm << nCnt; in Store() 93 if( nCnt ) in Store() 111 nCnt = nMax - nCnt; in Store() 112 rStrm << nCnt; in Store() 113 if( nCnt ) in Store() 172 rStrm >> nCnt; in Create() 173 while( nCnt-- ) in Create() 188 rStrm >> nCnt; in Create() [all …]
|
/aoo42x/main/svl/source/misc/ |
H A D | lngmisc.cxx | 42 sal_Int32 nCnt = 0; in GetNumControlChars() local 47 ++nCnt; in GetNumControlChars() 49 return nCnt; in GetNumControlChars() 78 sal_Int32 nCnt = 0; in RemoveControlChars() local 84 DBG_ASSERT( nCnt < nSize, "index out of range" ); in RemoveControlChars() 85 aBuf.setCharAt( nCnt++, cChar ); in RemoveControlChars() 88 DBG_ASSERT( nCnt == nSize, "wrong size" ); in RemoveControlChars() 111 sal_Int32 nCnt = 0; in ReplaceControlChars() local 119 DBG_ASSERT( nCnt < nLen, "index out of range" ); in ReplaceControlChars() 120 aBuf.setCharAt( nCnt++, cChar ); in ReplaceControlChars() [all …]
|
/aoo42x/main/sw/inc/ |
H A D | swcrsr.hxx | 161 virtual sal_Bool LeftRight( sal_Bool bLeft, sal_uInt16 nCnt, sal_uInt16 nMode, 163 sal_Bool UpDown( sal_Bool bUp, sal_uInt16 nCnt, Point* pPt, long nUpDownX ); 167 sal_Bool GoPrevNextCell( sal_Bool bNext, sal_uInt16 nCnt ); 169 sal_Bool Left( sal_uInt16 nCnt, sal_uInt16 nMode, sal_Bool bAllowVisual, sal_Bool bSkipHidden ) in Left() argument 170 … { return LeftRight( sal_True, nCnt, nMode, bAllowVisual, bSkipHidden, sal_False ); } in Left() 171 sal_Bool Right( sal_uInt16 nCnt, sal_uInt16 nMode, sal_Bool bAllowVisual, sal_Bool bSkipHidden ) in Right() argument 172 … { return LeftRight( sal_False, nCnt, nMode, bAllowVisual, bSkipHidden, sal_False ); } in Right() 173 sal_Bool GoNextCell( sal_uInt16 nCnt = 1 ) { return GoPrevNextCell( sal_True, nCnt ); } in GoNextCell() argument 174 sal_Bool GoPrevCell( sal_uInt16 nCnt = 1 ) { return GoPrevNextCell( sal_False, nCnt ); } in GoPrevCell() argument 268 virtual sal_Bool LeftRight( sal_Bool bLeft, sal_uInt16 nCnt, sal_uInt16 nMode,
|
H A D | swtable.hxx | 143 void InsertSpannedRow( SwDoc* pDoc, sal_uInt16 nIdx, sal_uInt16 nCnt ); 144 sal_Bool _InsertRow( SwDoc*, const SwSelBoxes&, sal_uInt16 nCnt, sal_Bool bBehind ); 145 sal_Bool NewInsertCol( SwDoc*, const SwSelBoxes& rBoxes, sal_uInt16 nCnt, sal_Bool ); 214 sal_Bool SplitRow( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nCnt=1, in SplitRow() argument 220 return bNewModel ? NewSplitRow( pDoc, rBoxes, nCnt, bSameHeight ) : in SplitRow() 221 OldSplitRow( pDoc, rBoxes, nCnt, bSameHeight ); in SplitRow() 229 sal_uInt16 nCnt = 1, sal_Bool bBehind = sal_True ); 231 sal_uInt16 nCnt = 1, sal_Bool bBehind = sal_True ); 232 sal_Bool AppendRow( SwDoc* pDoc, sal_uInt16 nCnt = 1 ); 236 sal_Bool SplitCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nCnt=1 );
|
/aoo42x/main/sw/source/core/doc/ |
H A D | doctxm.cxx | 627 sal_uInt16 nCnt = 0; in GetTOXTypeCount() local 630 ++nCnt; in GetTOXTypeCount() 631 return nCnt; in GetTOXTypeCount() 637 sal_uInt16 nCnt = 0; in GetTOXType() local 999 for( ; nCnt < nFormMax; ++nCnt ) in Update() 1001 aCollArr.Insert( p, nCnt ); in Update() 1002 aStrArr.Insert( pStr, nCnt ); in Update() 1006 for( nCnt = 0; nCnt < aSortArr.Count(); ++nCnt ) in Update() 1048 nCnt += nRange - 1; in Update() 1950 for( sal_uInt16 nCnt = 0; nCnt < aSortArr.Count(); ++nCnt ) in UpdatePageNum() local [all …]
|
H A D | docbm.cxx | 1006 for(sal_Int32 nCnt = 1; nCnt < SAL_MAX_INT32; nCnt++) in getUniqueMarkName() local 1357 for(sal_uInt16 nCnt = 0; nCnt < rTbl.Count(); ++nCnt ) in _DelBookmarks() local 1721 ++nCnt; in _RestoreCntntIdx() 1735 ++nCnt; in _RestoreCntntIdx() 1748 sal_uInt16 nCnt = 0; in _RestoreCntntIdx() local 1759 ++nCnt; in _RestoreCntntIdx() 1775 ++nCnt; in _RestoreCntntIdx() 1881 ++nCnt; in _RestoreCntntIdx() 1895 ++nCnt; in _RestoreCntntIdx() 1919 ++nCnt; in _RestoreCntntIdx() [all …]
|
/aoo42x/main/svl/source/items/ |
H A D | nranges.cxx | 72 sal_uInt16 nCnt = 0; in InitializeRanges_Impl() local 74 aNumArr.Insert( nWh1, nCnt++ ); in InitializeRanges_Impl() 75 aNumArr.Insert( nWh2, nCnt++ ); in InitializeRanges_Impl() 78 aNumArr.Insert( nNull, nCnt++ ); in InitializeRanges_Impl() 84 aNumArr.Insert( nIns, nCnt++ ); in InitializeRanges_Impl() 85 if ( 0 == (nCnt & 1) ) // 4,6,8, usw. in InitializeRanges_Impl() 87 DBG_ASSERT( aNumArr[ nCnt-2 ] <= nIns, "Ungueltiger Bereich" ); in InitializeRanges_Impl() 88 nSize += nIns - aNumArr[ nCnt-2 ] + 1; in InitializeRanges_Impl() 96 rpRanges = new NUMTYPE[ nCnt+1 ]; in InitializeRanges_Impl() 97 memcpy( rpRanges, aNumArr.GetData(), sizeof(NUMTYPE) * nCnt ); in InitializeRanges_Impl() [all …]
|
/aoo42x/main/sw/source/core/docnode/ |
H A D | nodes.cxx | 1292 if( nCnt > nNodes ) nCnt = nNodes; in Delete() 1311 nCnt = 0; in Delete() 1358 nCnt++; in Delete() 1365 nCnt = 0; in Delete() 1374 if( nCnt ) in Delete() 1379 nCnt = 0; in Delete() 1385 nCnt = 0; in Delete() 1419 nCnt++; in Delete() 1424 if( nCnt != 0 ) in Delete() 2525 for (sal_uLong nCnt = 0; nCnt < nSz; nCnt++) in RemoveNode() local [all …]
|
/aoo42x/main/xmloff/source/draw/ |
H A D | sdxmlexp.cxx | 852 for (sal_Int32 nCnt = 0; nCnt < mnDocDrawPageCount; nCnt++) in ImpPrepAutoLayoutInfos() local 854 Any aAny(mxDocDrawPages->getByIndex(nCnt)); in ImpPrepAutoLayoutInfos() 904 for(sal_uInt32 nCnt = 0L; !bDidExist && nCnt < mpAutoLayoutInfoList->Count(); nCnt++) in ImpPrepAutoLayoutInfo() local 939 for(sal_uInt32 nCnt = 0L; nCnt < mpAutoLayoutInfoList->Count(); nCnt++) in ImpWriteAutoLayoutInfos() local 1449 for(sal_uInt32 nCnt = 0L; nCnt < mpPageMasterInfoList->Count(); nCnt++) in ImpWritePageMasterInfos() local 1512 for(sal_uInt32 nCnt = 0L; nCnt < mpPageMasterInfoList->Count(); nCnt++) in ImpGetPageMasterInfoByName() local 1535 sal_Int32 nCnt; in ImpPrepDrawPageInfos() local 1536 for(nCnt = 0; nCnt < mnDocDrawPageCount; nCnt++) in ImpPrepDrawPageInfos() 1812 sal_Int32 nCnt; in ImpPrepMasterPageInfos() local 1813 for( nCnt = 0; nCnt < mnDocMasterPageCount; nCnt++) in ImpPrepMasterPageInfos() [all …]
|
/aoo42x/main/sc/source/filter/dif/ |
H A D | difimp.cxx | 344 sal_uInt16 nCnt = 0; in GetNextTopic() local 347 pRef = ppKeys[ nCnt ]; in GetNextTopic() 353 eRet = pTopics[ nCnt ]; in GetNextTopic() 358 nCnt++; in GetNextTopic() 359 pRef = ppKeys[ nCnt ]; in GetNextTopic() 941 for( SCCOL nCnt = 0 ; nCnt <= MAXCOL ; nCnt++ ) in DifAttrCache() local 942 ppCols[ nCnt ] = NULL; in DifAttrCache() 948 for( SCCOL nCnt = 0 ; nCnt <= MAXCOL ; nCnt++ ) in ~DifAttrCache() local 950 if( ppCols[ nCnt ] ) in ~DifAttrCache() 951 delete ppCols[ nCnt ]; in ~DifAttrCache()
|
/aoo42x/main/cui/source/dialogs/ |
H A D | multipat.cxx | 150 sal_uLong nCnt = aRadioLB.GetEntryCount(); in IMPL_LINK() local 151 if ( nCnt ) in IMPL_LINK() 153 nCnt--; in IMPL_LINK() 154 if ( nPos > nCnt ) in IMPL_LINK() 155 nPos = nCnt; in IMPL_LINK() 170 sal_uInt16 nCnt = aPathLB.GetEntryCount(); in IMPL_LINK() local 172 if ( nCnt ) in IMPL_LINK() 174 nCnt--; in IMPL_LINK() 176 if ( nPos > nCnt ) in IMPL_LINK() 177 nPos = nCnt; in IMPL_LINK()
|
/aoo42x/main/sw/source/ui/app/ |
H A D | docstyle.cxx | 1493 for( sal_uInt16 n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_SaveStyles() local 1554 for( n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1560 for( n = 0, nCnt = aDelArr.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1569 for( n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1575 for( n = 0, nCnt = aDelArr.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1584 for( n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1590 for( n = 0, nCnt = aDelArr.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1598 for( n = 0, nCnt = rDoc.GetPageDescCnt(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1605 for( n = 0, nCnt = aDelArr.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1615 for( n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() [all …]
|
/aoo42x/main/sw/source/core/txtnode/ |
H A D | fntcache.cxx | 210 xub_StrLen nCnt; member 222 nCnt( _nCnt ), in CalcLinePosData() 245 if ( nEnd < rData.nCnt in lcl_calcLinePos() 1620 nCnt = 0; in DrawText() 1622 nCnt = nCnt - rInf.GetIdx(); in DrawText() 1623 nCnt = Min( nCnt, rInf.GetLen() ); in DrawText() 2039 nCnt=0; in GetTextSize() 2041 nCnt = nCnt - rInf.GetIdx(); in GetTextSize() 2042 nCnt = Min (nCnt, nLn); in GetTextSize() 2203 xub_StrLen nCnt = 0; in GetCrsrOfst() local [all …]
|
/aoo42x/main/sw/source/ui/misc/ |
H A D | bookmark.cxx | 222 sal_uInt16 nCnt = GetText().GetTokenCount(cSep); in GetSelEntryPos() local 224 for (; nPos < nCnt; nPos++) in GetSelEntryPos() 242 sal_uInt16 nCnt = 0; in GetSelectEntryCount() local 248 nCnt++; in GetSelectEntryCount() 251 return nCnt; in GetSelectEntryCount() 260 sal_uInt16 nCnt = 0; in GetSelectEntryPos() local 265 if (nSelIndex == nCnt) in GetSelectEntryPos() 275 nCnt++; in GetSelectEntryPos()
|
/aoo42x/main/svx/source/dialog/ |
H A D | fntctrl.cxx | 211 size_t nCnt = aScriptChg.size(); in _CheckScript() local 212 if( nCnt ) in _CheckScript() 215 aScriptType.Remove( 0, nCnt ); in _CheckScript() 216 aTextWidth.Remove( 0, nCnt ); in _CheckScript() 217 nCnt = 0; in _CheckScript() 288 size_t nCnt = aScriptChg.size(); in CalcTextSize() local 289 if( nCnt ) in CalcTextSize() 325 if( nEnd < aText.Len() && nIdx < nCnt ) in CalcTextSize() 367 size_t nCnt = aScriptChg.size(); in DrawPrev() local 368 if( nCnt ) in DrawPrev() [all …]
|
/aoo42x/main/sw/source/ui/chrdlg/ |
H A D | drpcps.cxx | 366 size_t nCnt = maScriptChg.size(); in DrawPrev() local 368 if( nCnt ) in DrawPrev() 386 if( nEnd < maText.Len() && nIdx < nCnt ) in DrawPrev() 405 size_t nCnt = maScriptChg.size(); in CheckScript() local 406 if( nCnt ) in CheckScript() 409 maScriptType.Remove( 0, nCnt ); in CheckScript() 410 maTextWidth.Remove( 0, nCnt ); in CheckScript() 411 nCnt = 0; in CheckScript() 455 size_t nCnt = maScriptChg.size(); in CalcTextSize() local 456 if( nCnt ) in CalcTextSize() [all …]
|