| /AOO41X/main/sw/source/core/inc/ |
| H A D | scriptinfo.hxx | 139 inline xub_StrLen GetScriptChg( const size_t nCnt ) const; 140 inline sal_uInt8 GetScriptType( const sal_uInt16 nCnt ) const; 143 inline xub_StrLen GetDirChg( const size_t nCnt ) const; 144 inline sal_uInt8 GetDirType( const size_t nCnt ) const; 147 inline xub_StrLen GetKashida( const size_t nCnt ) const; 150 inline xub_StrLen GetCompStart( const size_t nCnt ) const; 151 inline xub_StrLen GetCompLen( const size_t nCnt ) const; 152 inline sal_uInt8 GetCompType( const size_t nCnt ) const; 155 inline xub_StrLen GetHiddenChg( const size_t nCnt ) const; 278 bool MarkKashidasInvalid ( xub_StrLen nCnt, xub_StrLen* pKashidaPositions ); [all …]
|
| /AOO41X/main/sw/source/core/text/ |
| H A D | wrong.cxx | 380 MSHORT nCnt = nIndex; in Fresh() local 381 if( nCnt < Count() && ( nWrPos = Pos( nIndex ) ) < nPos ) in Fresh() 387 while( nCnt < Count() && ( nWrPos = Pos( nCnt ) ) < nPos ) in Fresh() 388 nWrEnd = nWrPos + Len( nCnt++ ); 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() 414 nWrEnd = nWrPos + Len( nCnt++ ); in Fresh() 419 Remove( nIndex, nCnt - nIndex ); in Fresh() [all …]
|
| H A D | portxt.cxx | 88 sal_uInt16 nCnt = 0; in lcl_AddSpace() local 120 nCnt += nEnd - nPos; in lcl_AddSpace() 124 --nCnt; in lcl_AddSpace() 126 return nCnt; in lcl_AddSpace() 151 nCnt = SwScriptInfo::ThaiJustify( *pStr, 0, 0, nPos, nEnd - nPos ); in lcl_AddSpace() 159 if ( nCnt && ( ! pPor || pPor->IsHolePortion() || pPor->InFixMargGrp() ) ) in lcl_AddSpace() 160 --nCnt; in lcl_AddSpace() 162 return nCnt; in lcl_AddSpace() 176 return nCnt; in lcl_AddSpace() 181 ++nCnt; in lcl_AddSpace() [all …]
|
| H A D | porlay.cxx | 826 sal_uInt16 nCnt = 0; in InitScriptInfo() local 851 while( nCnt < CountScriptChg() ) in InitScriptInfo() 853 if ( nChg > GetScriptChg( nCnt ) ) in InitScriptInfo() 854 nCnt++; in InitScriptInfo() 857 nScript = GetScriptType( nCnt ); in InitScriptInfo() 892 const xub_StrLen nGrpStart = nCnt ? GetScriptChg( nCnt - 1 ) : 0; in InitScriptInfo() 910 const size_t nScriptRemove = aScriptChg.size() - nCnt; in InitScriptInfo() 911 aScriptChg.erase( aScriptChg.begin() + nCnt, aScriptChg.end() ); in InitScriptInfo() 912 aScriptType.erase( aScriptType.begin() + nCnt, aScriptType.begin() + (nCnt + nScriptRemove) ); in InitScriptInfo() 976 aScriptChg.insert( aScriptChg.begin() + nCnt, nEnd ); in InitScriptInfo() [all …]
|
| /AOO41X/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() 172 sal_uInt16 nCnt = (nRecLen < 4) ? 0 : ( nRecLen - 4 ) / 2; in Hiddencolumn() local 183 while( nCnt ) in Hiddencolumn() 188 nCnt--; in Hiddencolumn() 314 sal_uInt16 nCnt = (nRecLen < 4) ? 0 : ( nRecLen - 4 ) / 8; in RowPresentation() local 319 while( nCnt ) in RowPresentation() 338 nCnt--; in RowPresentation() 376 for( sal_uInt16 nCnt = 0 ; nCnt < LotusFontBuffer::nSize ; nCnt++ ) in Font_Type() 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()
|
| /AOO41X/main/svtools/source/svrtf/ |
| H A D | svparser.cxx | 471 int SvParser::SkipToken( short nCnt ) // n Tokens zurueck "skippen" in SkipToken() argument 473 pTokenStackPos = GetStackPtr( nCnt ); in SkipToken() 474 short nTmp = nTokenStackPos - nCnt; in SkipToken() 489 SvParser::TokenStackType* SvParser::GetStackPtr( short nCnt ) in GetStackPtr() argument 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() 497 nAktPos = sal::static_int_cast< sal_uInt8 >(nAktPos + nCnt); in GetStackPtr() 500 nAktPos + (nCnt - nTokenStackSize)); in GetStackPtr() [all …]
|
| /AOO41X/main/svx/source/engine3d/ |
| H A D | dragmt3d.cxx | 64 const long nCnt(rMark.GetMarkCount()); in E3dDragMethod() local 73 for(nObjs = 0;!bInvisibleObjects && nObjs < nCnt;nObjs++) in E3dDragMethod() 92 for(nObjs = 0;nObjs < nCnt;nObjs++) in E3dDragMethod() 154 const sal_uInt32 nCnt(maGrp.size()); in BeginSdrDrag() local 157 for(sal_uInt32 nOb(0); nOb < nCnt; nOb++) in BeginSdrDrag() 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 234 for(sal_uInt32 nOb(0); nOb < nCnt; nOb++) in CancelSdrDrag() 270 const sal_uInt32 nCnt(maGrp.size()); in CreateOverlayGeometry() local [all …]
|
| /AOO41X/main/svx/source/items/ |
| H A D | hlnkitem.cxx | 82 sal_uInt16 nCnt = pMacroTable ? (sal_uInt16)pMacroTable->Count() : 0; in Store() local 83 sal_uInt16 nMax = nCnt; in Store() 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() 171 sal_uInt16 nCnt; in Create() local [all …]
|
| /AOO41X/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() 678 nAddWidth *= nCnt; // we have to insert nCnt boxes per line in NewInsertCol() 683 nNewBoxWidth = long( nAddWidth / nCnt ); // Rounding in NewInsertCol() 684 nAddWidth = nNewBoxWidth * nCnt; // Rounding in NewInsertCol() 696 std::vector<SwTableBoxFmt*> aInsFormat( nCnt, 0 ); in NewInsertCol() 709 ::_InsTblBox( pDoc, pTblNd, pLine, pBoxFrmFmt, pBox, nInsPos, nCnt ); in NewInsertCol() 723 for( sal_uInt16 j = 0; j < nCnt; ++j ) in NewInsertCol() 748 for( sal_uInt16 j = 0; j < nCnt; ++j ) in NewInsertCol() 758 if( pNoRightBorder && ( !bBehind || j+1 < nCnt ) ) in NewInsertCol() [all …]
|
| /AOO41X/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 …]
|
| /AOO41X/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 );
|
| /AOO41X/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() 93 DBG_ASSERT( 0 == (nCnt & 1), "ungerade Anzahl von Which-Paaren!" ); in InitializeRanges_Impl() 96 rpRanges = new NUMTYPE[ nCnt+1 ]; in InitializeRanges_Impl() [all …]
|
| /AOO41X/main/sw/source/core/doc/ |
| H A D | doctxm.cxx | 219 CompareNodeCntnt( sal_uLong nNd, xub_StrLen nCnt ) in CompareNodeCntnt() argument 220 : nNode( nNd ), nCntnt( nCnt ) {} in CompareNodeCntnt() 600 sal_uInt16 nCnt = pFmt->GetChildSections( aArr, SORTSECT_NOT, sal_False ); in DeleteTOX() local 601 for( sal_uInt16 n = 0; n < nCnt; ++n ) in DeleteTOX() 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 639 if( eTyp == (*ppTTypes)->GetType() && nCnt++ == nId ) in GetTOXType() 996 sal_uInt16 nCnt = 0, nFormMax = GetTOXForm().GetFormMax(); in Update() local [all …]
|
| H A D | docbm.cxx | 1006 for(sal_Int32 nCnt = 1; nCnt < SAL_MAX_INT32; nCnt++) in getUniqueMarkName() local 1008 sTmp = sBuf.append(rName).append(nCnt).makeStringAndClear(); in getUniqueMarkName() 1357 for(sal_uInt16 nCnt = 0; nCnt < rTbl.Count(); ++nCnt ) in _DelBookmarks() local 1360 SwRedline* pRedl = rTbl[ nCnt ]; in _DelBookmarks() 1707 sal_uInt16 nCnt = 0; in _RestoreCntntIdx() local 1715 if( aSave.GetCount() == nCnt ) in _RestoreCntntIdx() 1721 ++nCnt; in _RestoreCntntIdx() 1729 if( aSave.GetCount() == nCnt ) in _RestoreCntntIdx() 1735 ++nCnt; in _RestoreCntntIdx() 1748 sal_uInt16 nCnt = 0; in _RestoreCntntIdx() local [all …]
|
| /AOO41X/main/sw/source/core/docnode/ |
| H A D | nodes.cxx | 1291 sal_uLong nCnt = Count() - rIndex.GetIndex() - 1; in Delete() local 1292 if( nCnt > nNodes ) nCnt = nNodes; in Delete() 1294 if( nCnt == 0 ) // keine Anzahl -> return in Delete() 1297 SwNodeRange aRg( rIndex, 0, rIndex, nCnt-1 ); in Delete() 1311 nCnt = 0; in Delete() 1358 nCnt++; in Delete() 1364 RemoveNode( aRg.aEnd.GetIndex()+1, nCnt, sal_True ); // loesche in Delete() 1365 nCnt = 0; in Delete() 1374 if( nCnt ) in Delete() 1378 RemoveNode( aRg.aEnd.GetIndex(), nCnt, sal_True ); in Delete() [all …]
|
| /AOO41X/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()
|
| /AOO41X/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() 860 maDrawPagesAutoLayoutNames[nCnt+1] = aStr; in ImpPrepAutoLayoutInfos() 904 … for(sal_uInt32 nCnt = 0L; !bDidExist && nCnt < mpAutoLayoutInfoList->Count(); nCnt++) in ImpPrepAutoLayoutInfo() local 906 if(*mpAutoLayoutInfoList->GetObject(nCnt) == *pNew) in ImpPrepAutoLayoutInfo() 909 pNew = mpAutoLayoutInfoList->GetObject(nCnt); in ImpPrepAutoLayoutInfo() 939 for(sal_uInt32 nCnt = 0L; nCnt < mpAutoLayoutInfoList->Count(); nCnt++) in ImpWriteAutoLayoutInfos() local 941 ImpXMLAutoLayoutInfo* pInfo = mpAutoLayoutInfoList->GetObject(nCnt); in ImpWriteAutoLayoutInfos() 1449 for(sal_uInt32 nCnt = 0L; nCnt < mpPageMasterInfoList->Count(); nCnt++) in ImpWritePageMasterInfos() local 1451 ImpXMLEXPPageMasterInfo* pInfo = mpPageMasterInfoList->GetObject(nCnt); in ImpWritePageMasterInfos() [all …]
|
| /AOO41X/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()
|
| /AOO41X/main/sw/source/ui/app/ |
| H A D | docstyle.cxx | 1419 for( sal_uInt16 n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_SaveStyles() local 1429 for( sal_uInt16 n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_SaveStyles() local 1439 for( sal_uInt16 n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_SaveStyles() local 1449 for( sal_uInt16 n = 0, nCnt = rDoc.GetPageDescCnt(); n < nCnt; ++n ) in lcl_SaveStyles() local 1461 for( sal_uInt16 n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_SaveStyles() local 1473 sal_uInt16 n, nCnt; in lcl_DeleteInfoStyles() local 1480 for( n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1486 for( n = 0, nCnt = aDelArr.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1495 for( n = 0, nCnt = rTbl.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() 1501 for( n = 0, nCnt = aDelArr.Count(); n < nCnt; ++n ) in lcl_DeleteInfoStyles() [all …]
|
| /AOO41X/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() 248 if( nEnd + 1 == rData.nCnt ) in lcl_calcLinePos() 1618 xub_StrLen nCnt = rInf.GetText().Len(); in DrawText() local 1619 if ( nCnt < rInf.GetIdx() ) in DrawText() 1620 nCnt = 0; in DrawText() 1622 nCnt = nCnt - rInf.GetIdx(); in DrawText() 1623 nCnt = Min( nCnt, rInf.GetLen() ); in DrawText() 1629 if ( ( nCnt == 1 ) && rInf.GetSpace() && ( cChPrev == CH_BLANK ) ) in DrawText() [all …]
|
| /AOO41X/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()
|
| /AOO41X/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() 260 aScriptType.Insert( nScript, nCnt ); in _CheckScript() 261 aTextWidth.Insert( sal_uIntPtr(0), nCnt++ ); 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() [all …]
|
| /AOO41X/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() 436 maScriptType.Insert( nScript, nCnt ); in CheckScript() 437 maTextWidth.Insert( sal_uLong(0), nCnt++ ); in CheckScript() [all …]
|