Home
last modified time | relevance | path

Searched refs:nBegin (Results 1 – 25 of 61) sorted by relevance

123

/trunk/main/sw/source/core/txtnode/
H A Dtxtedt.cxx743 nBegin = nBegin + nLen; in NextWord()
773 ++nBegin; in NextWord()
776 if ( nBegin >= rText.Len() || nBegin >= nEndPos ) in NextWord()
790 ++nBegin; in NextWord()
800 nBegin = Max( static_cast< xub_StrLen >(aBound.startPos), nBegin ); in NextWord()
880 nBegin = 0; in Spell()
1231 if( nBegin < nEnd ) in _AutoSpell()
1389 if ( nBegin < nEnd ) in SmartTagScan()
1477 xub_StrLen nBegin = 0; in CollectAutoCmplWrds() local
1483 if( nBegin < nEnd ) in CollectAutoCmplWrds()
[all …]
H A Dthints.cxx3247 sal_uInt16 SwTxtNode::GetLang( const xub_StrLen nBegin, const xub_StrLen nLen, in GetLang() argument
3254 nScript = pBreakIt->GetRealScriptOfText( m_Text, nBegin ); in GetLang()
3263 const xub_StrLen nEnd = nBegin + nLen; in GetLang()
3281 nLen ? ( nAttrStart < nEnd && nBegin < *pEndIdx ) in GetLang()
3282 : (( nAttrStart < nBegin && in GetLang()
3283 ( pHt->DontExpand() ? nBegin < *pEndIdx in GetLang()
3284 : nBegin <= *pEndIdx )) || in GetLang()
3285 ( nBegin == nAttrStart && in GetLang()
3286 ( nAttrStart == *pEndIdx || !nBegin ))) ) in GetLang()
3292 if( nAttrStart <= nBegin && nEnd <= *pEndIdx ) in GetLang()
/trunk/main/sw/source/core/text/
H A Dwrong.cxx275 void SwWrongList::_Invalidate( xub_StrLen nBegin, xub_StrLen nEnd ) in _Invalidate() argument
277 if ( nBegin < GetBeginInv() ) in _Invalidate()
278 nBeginInvalid = nBegin; in _Invalidate()
283 void SwWrongList::SetInvalid( xub_StrLen nBegin, xub_StrLen nEnd ) in SetInvalid() argument
285 nBeginInvalid = nBegin; in SetInvalid()
424 void SwWrongList::Invalidate( xub_StrLen nBegin, xub_StrLen nEnd ) in Invalidate() argument
427 SetInvalid( nBegin, nEnd ); in Invalidate()
429 _Invalidate( nBegin, nEnd ); in Invalidate()
590 void SwWrongList::RemoveEntry( xub_StrLen nBegin, xub_StrLen nEnd ) { in RemoveEntry() argument
594 while( aIter != maList.end() && (*aIter).mnPos < nBegin ) in RemoveEntry()
[all …]
/trunk/main/filter/source/msfilter/
H A Dsvxmsbas.cxx387 xub_StrLen nBegin = pStr->Search('\x0D'); in ImportCode_Impl() local
388 if ((STRING_NOTFOUND != nBegin) && (pStr->Len() > 1) && (pStr->GetChar(nBegin+1) == '\x0A')) in ImportCode_Impl()
394 nBegin = 0; in ImportCode_Impl()
395 while (STRING_NOTFOUND != (nBegin = pStr->Search(sAttribute, nBegin))) in ImportCode_Impl()
397 if ((nBegin) && pStr->GetChar(nBegin-1) != cLineEnd) in ImportCode_Impl()
401 nBegin = nBegin + sAttribute.Len(); in ImportCode_Impl()
404 xub_StrLen nEnd = pStr->Search(cLineEnd ,nBegin); in ImportCode_Impl()
409 pStr->Erase(nBegin, (nEnd-nBegin)+1); in ImportCode_Impl()
/trunk/main/xmloff/source/meta/
H A Dxmlmetai.cxx256 sal_Int32 nBegin = i_rBuildId.indexOf( ' ' ); in setBuildId() local
257 if ( nBegin != -1 ) in setBuildId()
260 nBegin = i_rBuildId.indexOf( '/', nBegin ); in setBuildId()
261 if ( nBegin != -1 ) in setBuildId()
263 sal_Int32 nEnd = i_rBuildId.indexOf( 'm', nBegin ); in setBuildId()
267 i_rBuildId.copy( nBegin+1, nEnd-nBegin-1 ) ); in setBuildId()
270 nBegin = i_rBuildId.indexOf( sBuildCompare, nEnd ); in setBuildId()
271 if ( nBegin != -1 ) in setBuildId()
275 nBegin + sBuildCompare.getLength() ) ); in setBuildId()
/trunk/main/sw/source/core/edit/
H A Dedlingu.cxx1020 xub_StrLen nBegin = aPos.nContent.GetIndex(); in GetCorrection() local
1022 if( pWrong->InWrongWord(nBegin,nLen) && !pNode->IsSymbol(nBegin) ) in GetCorrection()
1024 String aText( pNode->GetTxt().Copy( nBegin, nLen ) ); in GetCorrection()
1077 aPos.nContent = nBegin + nLeft; in GetCorrection()
1083 xub_StrLen nWordStart = (nBegin + nLeft) < nLineStart ? nLineStart : nBegin + nLeft; in GetCorrection()
1085 …xub_StrLen nWordEnd = (nBegin + nLen - nLeft - nRight) > nLineEnd ? nLineEnd - 1: (nBegin + nLen -… in GetCorrection()
1135 xub_StrLen nBegin = aPos.nContent.GetIndex(); in GetGrammarCorrection() local
1137 if (pWrong->InWrongWord(nBegin, nLen)) in GetGrammarCorrection()
1221 aPos.nContent = nBegin + nLeft; in GetGrammarCorrection()
1227 xub_StrLen nWordStart = (nBegin + nLeft) < nLineStart ? nLineStart : nBegin + nLeft; in GetGrammarCorrection()
[all …]
/trunk/main/o3tl/inc/o3tl/
H A Drange.hxx71 T nBegin; member in o3tl::range
110 : nBegin(i_inclusiveLowerBorder), in range()
113 BOOST_ASSERT( nBegin <= nEnd in range()
126 return nBegin; in begin()
140 BOOST_ASSERT( nBegin <= nEnd in size()
/trunk/main/autodoc/inc/cosv/tpl/
H A Drange.hxx72 T nBegin; member in csv::range
111 : nBegin(i_inclusiveLowerBorder), in range()
114 csv_assert( nBegin <= nEnd in range()
127 return nBegin; in begin()
141 csv_assert( nBegin <= nEnd in size()
/trunk/main/sc/source/filter/excel/
H A Dxladdress.cxx115 void XclRangeList::WriteSubList( XclExpStream& rStrm, size_t nBegin, size_t nCount, bool bCol16Bit … in WriteSubList() argument
117 DBG_ASSERT( nBegin <= size(), "XclRangeList::WriteSubList - invalid start position" ); in WriteSubList()
118 size_t nEnd = ::std::min< size_t >( nBegin + nCount, size() ); in WriteSubList()
119 sal_uInt16 nXclCount = ulimit_cast< sal_uInt16 >( nEnd - nBegin ); in WriteSubList()
122 for( const_iterator aIt = begin() + nBegin, aEnd = begin() + nEnd; aIt != aEnd; ++aIt ) in WriteSubList()
H A Dxestring.cxx547 void XclExpString::CharsToBuffer( const sal_Unicode* pcSource, sal_Int32 nBegin, sal_Int32 nLen ) in CharsToBuffer() argument
549 DBG_ASSERT( maUniBuffer.size() >= static_cast< size_t >( nBegin + nLen ), in CharsToBuffer()
551 ScfUInt16Vec::iterator aBeg = maUniBuffer.begin() + nBegin; in CharsToBuffer()
564 void XclExpString::CharsToBuffer( const sal_Char* pcSource, sal_Int32 nBegin, sal_Int32 nLen ) in CharsToBuffer() argument
566 DBG_ASSERT( maCharBuffer.size() >= static_cast< size_t >( nBegin + nLen ), in CharsToBuffer()
568 ScfUInt8Vec::iterator aBeg = maCharBuffer.begin() + nBegin; in CharsToBuffer()
/trunk/main/sw/source/ui/dbui/
H A Dmmoutputpage.cxx773 sal_uInt32 nBegin = 0; in IMPL_LINK() local
777 nBegin = 0; in IMPL_LINK()
782 nBegin = static_cast< sal_Int32 >(m_aFromNF.GetValue() - 1); in IMPL_LINK()
972 sal_uInt32 nBegin = 0; in IMPL_LINK() local
977 nBegin = 0; in IMPL_LINK()
982 nBegin = static_cast< sal_Int32 >(m_aFromNF.GetValue() - 1); in IMPL_LINK()
987 rConfigItem.SetPrintRange( (sal_uInt16)nBegin, (sal_uInt16)nEnd ); in IMPL_LINK()
1107 sal_uInt32 nBegin = 0; in IMPL_LINK() local
1111 nBegin = 0; in IMPL_LINK()
1116 nBegin = static_cast< sal_Int32 >(m_aFromNF.GetValue() - 1); in IMPL_LINK()
[all …]
/trunk/main/accessibility/source/extended/
H A Dtextwindowaccessibility.cxx1307 ::sal_Int32 nBegin, ::sal_Int32 nEnd, in changeParagraphText() argument
1316 if (nBegin < 0 || nBegin > nEnd in changeParagraphText()
1324 changeParagraphText(nNumber, static_cast< ::sal_uInt16 >(nBegin), in changeParagraphText()
1331 ::sal_Int32 nBegin, ::sal_Int32 nEnd) in copyParagraphText() argument
1338 if (nBegin < 0 || nBegin > nEnd in copyParagraphText()
1354 ParagraphImpl * pParagraph, ::sal_Int32 nBegin, ::sal_Int32 nEnd, in changeParagraphAttributes() argument
1362 if (nBegin < 0 || nBegin > nEnd in changeParagraphAttributes()
1393 ::sal_Int32 nBegin, ::sal_Int32 nEnd) in changeParagraphSelection() argument
1400 if (nBegin < 0 || nBegin > nEnd in changeParagraphSelection()
1950 m_rView.SetSelection(::TextSelection(::TextPaM(nNumber, nBegin), in changeParagraphText()
[all …]
/trunk/main/sot/source/sdstor/
H A Dstgstrms.cxx209 sal_Int32 nBegin = STG_EOF; in AllocPages() local
220 nBegin = FindBlock( nAlloc ); in AllocPages()
222 if( nBegin == STG_EOF ) in AllocPages()
224 if( ( nBegin + nAlloc ) > nMaxPage ) in AllocPages()
225 nMaxPage = nBegin + nAlloc; in AllocPages()
226 if( !MakeChain( nBegin, nAlloc ) ) in AllocPages()
229 nOrig = nBegin; in AllocPages()
236 pPg->SetPage( nOffset >> 2, nBegin ); in AllocPages()
238 nLast = nBegin + nAlloc - 1; in AllocPages()
255 if( nBegin == STG_EOF || nPgs ) in AllocPages()
/trunk/main/sw/source/filter/ww8/
H A Dww8par5.cxx2635 if ((nBegin != STRING_NOTFOUND) && in Read_SubF_Combined()
2639 sPart.Copy(nBegin+1,nEnd-nBegin-1); in Read_SubF_Combined()
2654 xub_StrLen nBegin = sPart.Search('('); in Read_SubF_Combined() local
2663 for (int i = nBegin;i < nEnd-1;i++) in Read_SubF_Combined()
2668 nBegin++; in Read_SubF_Combined()
2673 sCombinedCharacters = sPart.Copy( nBegin+1, nEnd-nBegin-1 ); in Read_SubF_Combined()
2739 if ((nBegin != STRING_NOTFOUND) && in Read_SubF_Ruby()
2742 sRuby = sPart.Copy(nBegin+1,nEnd-nBegin-1); in Read_SubF_Ruby()
2747 nBegin = sPart.Search(';',nEnd); in Read_SubF_Ruby()
2750 if ((nBegin != STRING_NOTFOUND) && in Read_SubF_Ruby()
[all …]
/trunk/main/oox/inc/oox/helper/
H A Dhelper.hxx120 inline ReturnType getIntervalValue( Type nValue, Type nBegin, Type nEnd ) in getIntervalValue() argument
124 Type nInterval = nEnd - nBegin; in getIntervalValue()
125 …Type nCount = (nValue < nBegin) ? -((nBegin - nValue - 1) / nInterval + 1) : ((nValue - nBegin) / … in getIntervalValue()
/trunk/main/sw/source/core/inc/
H A Dwrong.hxx202 void _Invalidate( xub_StrLen nBegin, xub_StrLen nEnd );
223 void SetInvalid( xub_StrLen nBegin, xub_StrLen nEnd );
225 void Invalidate( xub_StrLen nBegin, xub_StrLen nEnd );
285 void RemoveEntry( xub_StrLen nBegin, xub_StrLen nEnd );
286 bool LookForEntry( xub_StrLen nBegin, xub_StrLen nEnd );
H A Dscriptinfo.hxx61 xub_StrLen nBegin; member in SwScanner
81 xub_StrLen GetBegin() const { return nBegin; } in GetBegin()
82 xub_StrLen GetEnd() const { return nBegin + nLen; } in GetEnd()
/trunk/main/sw/source/core/crsr/
H A Dcrsrsh.cxx3426 SwIndex aIndex( &rNode, nBegin ); in lcl_FillTextRange()
3431 aEndPos.nContent = nBegin + nLen; in lcl_FillTextRange()
3455 xub_StrLen nBegin = nCurrent; in GetSmartTagTerm() local
3458 if( pSmartTagList->InWrongWord( nBegin, nLen ) && !pNode->IsSymbol(nBegin) ) in GetSmartTagTerm()
3499 xub_StrLen nBegin = nCurrent; in GetSmartTagTerm() local
3502 if( pSmartTagList->InWrongWord( nBegin, nLen ) && !pNode->IsSymbol(nBegin) ) in GetSmartTagTerm()
3513 lcl_FillTextRange( rRange, *pNode, nBegin, nLen ); in GetSmartTagTerm()
3516 String aText( pNode->GetTxt().Copy( nBegin, nLen ) ); in GetSmartTagTerm()
3540 aPos.nContent = nBegin + nLeft; in GetSmartTagTerm()
3546 xub_StrLen nWordStart = (nBegin + nLeft) < nLineStart ? nLineStart : nBegin + nLeft; in GetSmartTagTerm()
[all …]
/trunk/main/soltools/ldump/
H A Dldump.cxx494 pData->sExportName.GetBuffer(), pData->nOrdinal+nBegin); in PrintDefFile()
520 pData->cExportName, pData->nOrdinal+nBegin); in PrintDefFile()
646 unsigned short nBegin=1; in main() local
712 nBegin = static_cast< unsigned short >(atoi( argv[ i ] )); in main()
740 pDump->SetBeginExport(nBegin); in main()
/trunk/main/accessibility/inc/accessibility/extended/
H A Dtextwindowaccessibility.hxx531 void changeParagraphText(ParagraphImpl * pParagraph, ::sal_Int32 nBegin,
542 ::sal_Int32 nBegin, ::sal_Int32 nEnd);
551 ParagraphImpl * pParagraph, ::sal_Int32 nBegin, ::sal_Int32 nEnd,
562 ::sal_Int32 nBegin, ::sal_Int32 nEnd);
639 void changeParagraphText(::sal_uLong nNumber, ::sal_uInt16 nBegin, ::sal_uInt16 nEnd,
/trunk/main/sw/source/core/access/
H A Daccpara.cxx713 sal_Int32 nBegin, sal_Int32 nEnd, sal_Int32 nLength) in IsValidRange() argument
715 return IsValidPosition(nBegin, nLength) && IsValidPosition(nEnd, nLength); in IsValidRange()
1025 xub_StrLen nBegin = nPos; in GetTextBoundary() local
1027 const xub_StrLen nNext = pWrongList->NextWrong(nBegin); in GetTextBoundary()
1037 if ( nBegin > pWrongList->GetBeginInv() && in GetTextBoundary()
1040 nLast = nBegin > pWrongList->GetEndInv() in GetTextBoundary()
1042 : nBegin; in GetTextBoundary()
2546 xub_StrLen nBegin = nIndex; in _correctValues() local
2548 if( pWrongList->InWrongWord(nBegin,nLen) && !pTxtNode->IsSymbol(nBegin) ) in _correctValues()
2567 xub_StrLen nBegin = nIndex; in _correctValues() local
[all …]
H A Daccpara.hxx145 sal_Bool IsValidRange(sal_Int32 nBegin, sal_Int32 nEnd, sal_Int32 nLength);
148 inline void OrderRange(sal_Int32& nBegin, sal_Int32& nEnd) in OrderRange() argument
150 if( nBegin > nEnd ) in OrderRange()
152 sal_Int32 nTmp = nBegin; nBegin = nEnd; nEnd = nTmp; in OrderRange()
/trunk/main/oox/source/xls/
H A Daddressconverter.cxx218 void BinRangeList::writeSubList( BiffOutputStream& rStrm, size_t nBegin, size_t nCount, bool bCol16… in writeSubList() argument
220 OSL_ENSURE( nBegin <= size(), "BiffRangeList::writeSubList - invalid start position" ); in writeSubList()
221 size_t nEnd = ::std::min< size_t >( nBegin + nCount, size() ); in writeSubList()
222 … sal_uInt16 nBiffCount = getLimitedValue< sal_uInt16, size_t >( nEnd - nBegin, 0, SAL_MAX_UINT16 ); in writeSubList()
225 for( const_iterator aIt = begin() + nBegin, aEnd = begin() + nEnd; aIt != aEnd; ++aIt ) in writeSubList()
/trunk/main/cui/source/customize/
H A Dmacropg.cxx500 sal_Int32 nBegin = aVndSunStarUNO.getLength(); in Paint() local
501 aPureMethod = aURL.copy( nBegin ); in Paint()
505 sal_Int32 nBegin = aVndSunStarScript.getLength(); in Paint() local
506 aPureMethod = aURL.copy( nBegin ); in Paint()
939 sal_Int32 nBegin = aVndSunStarUNO.getLength(); in AssignComponentDialog() local
940 aMethodName = maURL.copy( nBegin ); in AssignComponentDialog()
/trunk/main/sd/source/filter/eppt/
H A Dpptexanimations.cxx701 sal_Int32 nBegin = 0; in exportNode() local
706 rStrm << nU1 << nTrigger << nU3 << nBegin; in exportNode()
716 rStrm << nU1 << nTrigger << nU3 << nBegin; in exportNode()
1291 sal_Int32 nBegin = 0; in exportAnimEvent() local
1364 nBegin = -1; in exportAnimEvent()
1367 nBegin = (sal_Int32)( fTiming * 1000.0 ); in exportAnimEvent()
1375 nBegin = -1; in exportAnimEvent()
1380 nBegin = (sal_Int32)( fTiming * 1000.0 ); in exportAnimEvent()
1414 << nBegin; in exportAnimEvent()

Completed in 222 milliseconds

123