/trunk/main/sw/source/core/txtnode/ |
H A D | ndtxt.cxx | 1189 const xub_StrLen nIdx = rIdx.GetIndex(); in DontExpandFmt() local 1204 if( !pEnd || *pEnd > nIdx ) in DontExpandFmt() 1206 if( nIdx != *pEnd ) in DontExpandFmt() 3129 xub_StrLen nTxtStt = nIdx; in GetExpandTxt() 3188 sTmpText = sTmpText.Copy( nIdx, nLen ); in GetExpandTxt() 3200 xub_StrLen nInsPos = nDestStt - nIdx; in GetExpandTxt() 3210 if( pEndIdx && *pEndIdx > nIdx && in GetExpandTxt() 3402 xub_StrLen nTxtStt = nIdx, nIdxEnd = nIdx + aTxt.Len(); in GetRedlineTxt() 3406 if( ( nIdx <= nStt && nStt <= nIdxEnd ) || in GetRedlineTxt() 3407 ( nIdx <= nEnd && nEnd <= nIdxEnd )) in GetRedlineTxt() [all …]
|
/trunk/main/svtools/source/contnr/ |
H A D | fileview.cxx | 1317 xub_StrLen nIdx = 0; in OpenFolder() local 1318 aTitle = aRow.GetToken( 0, '\t', nIdx ); in OpenFolder() 1319 aType = aRow.GetToken( 0, '\t', nIdx ); in OpenFolder() 1320 aSize = aRow.GetToken( 0, '\t', nIdx ); in OpenFolder() 1321 aDate = aRow.GetToken( 0, '\t', nIdx ); in OpenFolder() 1322 aURL = aRow.GetToken( 0, '\t', nIdx ); in OpenFolder() 1323 sal_Unicode cFolder = aRow.GetToken( 0, '\t', nIdx ).GetChar(0); in OpenFolder() 1325 if ( nIdx != STRING_NOTFOUND ) in OpenFolder() 1326 aImageURL = aRow.GetToken( 0, '\t', nIdx ); in OpenFolder() 1778 sal_uInt16 nIdx = 0; in SetConfigString() local [all …]
|
/trunk/main/sw/source/core/attr/ |
H A D | hints.cxx | 231 sal_uLong nIdx = rNd.GetIndex(); in CheckNode() local 232 if( nIdx < pNd->GetIndex() && in CheckNode() 233 ( !pFnd || nIdx > pFnd->GetIndex() ) && in CheckNode() 234 nIdx > rNd.GetNodes().GetEndOfExtras().GetIndex() ) in CheckNode()
|
/trunk/main/sw/source/core/text/ |
H A D | porlay.hxx | 194 inline void SetLLSpaceAdd( long nNew, sal_uInt16 nIdx ) in SetLLSpaceAdd() argument 196 if ( nIdx == GetLLSpaceAddCount() ) in SetLLSpaceAdd() 199 (*pLLSpaceAdd)[ nIdx ] = nNew; in SetLLSpaceAdd() 201 inline long GetLLSpaceAdd( sal_uInt16 nIdx ) { return (*pLLSpaceAdd)[ nIdx ]; } in GetLLSpaceAdd() argument
|
/trunk/main/sw/source/ui/uno/ |
H A D | unoatxt.cxx | 375 sal_uInt16 nIdx = pGlosGroup->GetIndex( aElementName); in renameByName() local 376 if(USHRT_MAX == nIdx) in renameByName() 383 if( nIdx != USHRT_MAX && in renameByName() 384 (nOldLongIdx == USHRT_MAX || nOldLongIdx == nIdx )&& in renameByName() 385 (nOldIdx == USHRT_MAX || nOldIdx == nIdx )) in renameByName() 387 pGlosGroup->Rename( nIdx, &aNewShort, &aNewName ); in renameByName() 528 sal_uInt16 nIdx = pGlosGroup->GetIndex(aEntryName); in removeByName() local 529 if ( nIdx != USHRT_MAX ) in removeByName() 530 pGlosGroup->Delete(nIdx); in removeByName()
|
/trunk/main/sw/source/core/docnode/ |
H A D | ndsect.cxx | 121 sal_uLong nIdx = _rNd.GetIndex(); in lcl_IsInSameTblBox() local 125 if ( pNd->GetIndex() < nIdx && nIdx < pNd->EndOfSectionIndex() ) in lcl_IsInSameTblBox() 128 nIdx = aChkIdx.GetIndex(); in lcl_IsInSameTblBox() 129 return pNd->GetIndex() < nIdx && nIdx < pNd->EndOfSectionIndex(); in lcl_IsInSameTblBox() 972 sal_uLong nIdx = pSectNd->GetIndex(); in InsertTextSection() local 973 pNode2Layout->RestoreUpperFrms( pSectNd->GetNodes(), nIdx, nIdx + 1 ); in InsertTextSection()
|
H A D | node2lay.cxx | 54 SwNode2LayImpl( const SwNode& rNode, sal_uLong nIdx, sal_Bool bSearch ); 141 SwNode2LayImpl::SwNode2LayImpl( const SwNode& rNode, sal_uLong nIdx, sal_Bool bSearch ) in SwNode2LayImpl() argument 142 : pUpperFrms( NULL ), nIndex( nIdx ), bInit( sal_False ) in SwNode2LayImpl() 429 SwNode2Layout::SwNode2Layout( const SwNode& rNd, sal_uLong nIdx ) in SwNode2Layout() argument 431 pImpl = new SwNode2LayImpl( rNd, nIdx, sal_False ); in SwNode2Layout()
|
/trunk/main/svx/source/unodraw/ |
H A D | unoshape.cxx | 1964 for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++, pNames++, pValues++ ) in setPropertyValues() local 1985 for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++, pNames++, pValues++ ) in setPropertyValues() local 2030 for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++, pValue++, pNames++ ) in getPropertyValues() local 2047 for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++, pValue++, pNames++ ) in getPropertyValues() local 3145 for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++ ) in getPropertyStates() local 3146 pState[nIdx] = getPropertyState( pNames[nIdx] ); in getPropertyStates() 3151 for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++ ) in getPropertyStates() local 3152 pState[nIdx] = getPropertyState( pNames[nIdx] ); in getPropertyStates()
|
/trunk/main/shell/source/backends/gconfbe/ |
H A D | gconfaccess.cxx | 252 sal_Int32 nIdx = aFont.lastIndexOf( ' ' ); in splitFontName() local 253 if (nIdx < 1) { // urk in splitFontName() 255 nIdx = aFont.getLength(); in splitFontName() 257 rtl::OString aSize = aFont.copy( nIdx + 1 ); in splitFontName() 261 rName = rtl::OStringToOUString( aFont.copy( 0, nIdx ), RTL_TEXTENCODING_UTF8 ); in splitFontName()
|
/trunk/main/sw/source/core/doc/ |
H A D | docglos.cxx | 111 sal_uInt16 nIdx = rBlock.GetIndex( rEntry ); in InsertGlossary() local 112 if( (sal_uInt16) -1 != nIdx ) in InsertGlossary() 117 mbInsOnlyTxtGlssry = rBlock.IsOnlyTextBlock( nIdx ); in InsertGlossary() 119 if( rBlock.BeginGetDoc( nIdx ) ) in InsertGlossary()
|
H A D | doclay.cxx | 1394 const xub_StrLen nIdx = pPos->nContent.GetIndex(); in lcl_InsertLabel() local 1396 pTxtNode->GetTxtAttrForCharAt(nIdx, RES_TXTATR_FLYCNT); in lcl_InsertLabel() 1482 xub_StrLen nIdx = aTxt.Len(); in lcl_InsertLabel() local 1500 nIdx = 0; in lcl_InsertLabel() 1502 pNew->InsertItem( aFmt, nIdx, nIdx ); in lcl_InsertLabel() 1716 const xub_StrLen nIdx = pPos->nContent.GetIndex(); in lcl_InsertDrawLabel() local 1718 pTxtNode->GetTxtAttrForCharAt( nIdx, RES_TXTATR_FLYCNT ); in lcl_InsertDrawLabel() 1794 xub_StrLen nIdx = aTxt.Len(); in lcl_InsertDrawLabel() local 1808 nIdx = 0; in lcl_InsertDrawLabel() 1810 pNew->InsertItem( aFmt, nIdx, nIdx ); in lcl_InsertDrawLabel()
|
H A D | htmltbl.cxx | 460 SwTxtNode *pTxtNd, sal_uLong nIdx, sal_Bool bNoBreak ) in lcl_GetMinMaxSize() argument 462 pTxtNd->GetMinMaxSize( nIdx, rMinNoAlignCnts, rMaxNoAlignCnts, in lcl_GetMinMaxSize() 548 sal_uLong nIdx = pSttNd->GetIndex(); in AutoLayoutPass1() local 549 while( !(pDoc->GetNodes()[nIdx])->IsEndNode() ) in AutoLayoutPass1() 551 SwTxtNode *pTxtNd = (pDoc->GetNodes()[nIdx])->GetTxtNode(); in AutoLayoutPass1() 564 pTxtNd, nIdx, in AutoLayoutPass1() 576 SwTableNode *pTabNd = (pDoc->GetNodes()[nIdx])->GetTableNode(); in AutoLayoutPass1() 607 nIdx = pTabNd->EndOfSectionNode()->GetIndex(); in AutoLayoutPass1() 610 nIdx++; in AutoLayoutPass1()
|
/trunk/main/sw/inc/ |
H A D | IDocumentOutlineNodes.hxx | 41 virtual int getOutlineLevel( const sal_Int32 nIdx ) const = 0; 42 virtual String getOutlineText( const sal_Int32 nIdx, 45 virtual SwTxtNode* getOutlineNode( const sal_Int32 nIdx ) const = 0;
|
/trunk/main/vcl/unx/gtk/a11y/ |
H A D | atktable.cxx | 58 static int nIdx = 0; in getAsConst() local 59 nIdx = (nIdx + 1) % nMax; in getAsConst() 60 aUgly[nIdx] = rtl::OUStringToOString( rString, RTL_TEXTENCODING_UTF8 ); in getAsConst() 61 return aUgly[ nIdx ].getStr(); in getAsConst()
|
/trunk/main/sc/source/core/data/ |
H A D | fillinfo.cxx | 1063 for( sal_uInt16 nIdx = 0; nIdx < ROWINFO_MAX; ++nIdx ) in ScTableInfo() local 1064 mpRowInfo[ nIdx ].pCellInfo = 0; in ScTableInfo() 1069 for( sal_uInt16 nIdx = 0; nIdx < ROWINFO_MAX; ++nIdx ) in ~ScTableInfo() local 1070 delete [] mpRowInfo[ nIdx ].pCellInfo; in ~ScTableInfo()
|
/trunk/main/svx/source/table/ |
H A D | cell.cxx | 1272 for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++, pNames++, pValues++ ) in setPropertyValues() local 1304 for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++, pValue++, pNames++ ) in getPropertyValues() local 1471 for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++, pNames++, pState++ ) in getPropertyStates() local
|
/trunk/main/oox/inc/oox/dump/ |
H A D | xlsbdumper.hxx | 122 ::rtl::OUString createPlaceHolder( size_t nIdx ) const; 163 void dumpAddDataExp( size_t nIdx ); 164 void dumpAddDataArray( size_t nIdx ); 165 void dumpAddDataMemArea( size_t nIdx );
|
/trunk/main/sw/source/ui/inc/ |
H A D | selglos.hxx | 54 void SelectEntryPos(sal_uInt16 nIdx); // inline 67 inline void SwSelGlossaryDlg::SelectEntryPos(sal_uInt16 nIdx) in SelectEntryPos() argument 68 { aGlosBox.SelectEntryPos(nIdx); } in SelectEntryPos()
|
/trunk/main/sw/source/ui/misc/ |
H A D | redlndlg.cxx | 797 long nIdx = aLBoxArr.Count() - 1L; in RemoveParents() local 799 while (nIdx >= 0 && in RemoveParents() 800 pModel->GetAbsPos(aLBoxArr[ static_cast< sal_uInt16 >(nIdx) ]) > nAbsPos) in RemoveParents() 801 nIdx--; in RemoveParents() 802 aLBoxArr.Insert( pEntry, static_cast< sal_uInt16 >(++nIdx) ); in RemoveParents() 807 long nIdx = (long)aLBoxArr.Count() - 1L; in RemoveParents() local 808 while (nIdx >= 0) in RemoveParents() 809 pTable->RemoveEntry(aLBoxArr[ static_cast< sal_uInt16 >(nIdx--) ]); in RemoveParents()
|
/trunk/main/cui/source/dialogs/ |
H A D | hyphen.cxx | 301 xub_StrLen nIdx = STRING_NOTFOUND; in EraseUnusableHyphens_Impl() local 319 nIdx = nPos; in EraseUnusableHyphens_Impl() 325 DBG_ASSERT(nIdx != STRING_NOTFOUND, "no usable hyphenation position"); in EraseUnusableHyphens_Impl() 328 nPos = nIdx == STRING_NOTFOUND ? 0 : nIdx + 1; in EraseUnusableHyphens_Impl()
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit2.cxx | 1824 size_t nIdx = 0; in InitScriptTypes() local 1827 while ( nIdx < rTypes.size() && rTypes[nIdx].nStartPos < nStart ) in InitScriptTypes() 1828 ++nIdx; in InitScriptTypes() 1831 while ( nIdx < rTypes.size() && rTypes[nIdx].nEndPos <= nEnd ) in InitScriptTypes() 1835 … if(nIdx < rTypes.size() && rTypes[nIdx].nStartPos < nStart && rTypes[nIdx].nEndPos > nEnd) in InitScriptTypes() 1837 …rTypes.insert( rTypes.begin()+nIdx, ScriptTypePosInfo( rTypes[nIdx].nScriptType, (sal_uInt16)nEnd,… in InitScriptTypes() 1838 rTypes[nIdx].nEndPos = nStart; in InitScriptTypes() 1841 if( nIdx ) in InitScriptTypes() 1845 ++nIdx; in InitScriptTypes() 1847 if( nIdx < rTypes.size() ) in InitScriptTypes() [all …]
|
/trunk/main/sw/source/core/inc/ |
H A D | UndoTable.hxx | 323 void SetTableSttIdx( sal_uLong nIdx ) { nTblNode = nIdx; } in SetTableSttIdx() argument 344 void SetTblNodeOffset( sal_uLong nIdx ) { nOffset = nIdx - nTblNode; } in SetTblNodeOffset() argument
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | dapiuno.cxx | 2194 for( sal_Int32 nIdx = 0; nIdx < nCount; ++nIdx ) in getSubtotals() local 2195 aRet[ nIdx ] = (GeneralFunction)pDim->GetSubTotalFunc( nIdx ); in getSubtotals() 2226 for( sal_Int32 nIdx = 0; nIdx < nCount; ++nIdx ) in setSubtotals() local 2228 GeneralFunction eFunc = rSubtotals[ nIdx ]; in setSubtotals() 2427 … for( sal_Int32 nIdx = 0, nCount = pGroupDim->GetGroupCount(); nIdx < nCount; ++nIdx ) in getGroupInfo() local 2429 if( const ScDPSaveGroupItem* pGroup = pGroupDim->GetGroupByIndex( nIdx ) ) in getGroupInfo() 2866 for( sal_Int32 nIdx = 0, nCount = xItemsIA->getCount(); nIdx < nCount; ++nIdx ) in lclExtractGroupMembers() local 2870 Reference< XNamed > xItemName( xItemsIA->getByIndex( nIdx ), UNO_QUERY_THROW ); in lclExtractGroupMembers()
|
/trunk/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 1116 sal_uInt16 nIdx = 0; in lcl_UnMerge() local 1120 while( nSumH < nSplit && nIdx < nCount ) in lcl_UnMerge() 1121 nSumH += pHeights[ nIdx++ ]; in lcl_UnMerge() 1122 pSplitIdx[ i - 1 ] = nIdx; in lcl_UnMerge() 1131 sal_uInt16 nIdx = 0; in lcl_UnMerge() local 1135 aBoxes[ nIdx ]->setRowSpan( nNextIdx - nIdx ); in lcl_UnMerge() 1136 lcl_InvalidateCellFrm( *aBoxes[ nIdx ] ); in lcl_UnMerge() 1137 while( ++nIdx < nNextIdx ) in lcl_UnMerge() 1138 aBoxes[ nIdx ]->setRowSpan( nIdx - nNextIdx ); in lcl_UnMerge()
|
/trunk/main/linguistic/source/ |
H A D | convdic.cxx | 526 sal_Int32 nIdx = 0; in getConversionEntries() local 534 if (nIdx == 0 || !lcl_SeqHasEntry( pRes, nIdx, aCurEntry )) in getConversionEntries() 535 pRes[ nIdx++ ] = aCurEntry; in getConversionEntries() 538 aRes.realloc( nIdx ); in getConversionEntries()
|