Searched refs:nWordIndex (Results 1 – 10 of 10) sorted by relevance
13 CPVT_WordPlace() : nSecIndex(-1), nLineIndex(-1), nWordIndex(-1) {} in CPVT_WordPlace()20 nWordIndex(other_nWordIndex) {} in CPVT_WordPlace()25 nWordIndex = -1; in Reset()31 nWordIndex = -1; in AdvanceSection()36 wp.nWordIndex == nWordIndex;46 return nWordIndex < wp.nWordIndex;53 return nWordIndex > wp.nWordIndex;70 int32_t nWordIndex; member
36 int32_t nWordIndex = pdfium::clamp( in AddWord() local37 place.nWordIndex, 0, pdfium::CollectionSize<int32_t>(m_WordArray)); in AddWord()38 m_WordArray.insert(m_WordArray.begin() + nWordIndex, in AddWord()78 if (place.nWordIndex == pLine->m_LineInfo.nBeginWordIndex) in GetPrevWordPlace()81 if (place.nWordIndex >= pLine->m_LineInfo.nBeginWordIndex) in GetPrevWordPlace()98 if (place.nWordIndex < pLine->m_LineInfo.nEndWordIndex) in GetNextWordPlace()113 if (place.nWordIndex < pLine->m_LineInfo.nBeginWordIndex) { in UpdateWordPlace()116 } else if (place.nWordIndex > pLine->m_LineInfo.nEndWordIndex) { in UpdateWordPlace()183 wordplace.nWordIndex = -1; in SearchWordPlace()187 int32_t nLeft = range.BeginPos.nWordIndex; in SearchWordPlace()[all …]
25 if (place.nWordIndex > m_LineInfo.nEndWordIndex) { in GetPrevWordPlace()30 place.nWordIndex - 1); in GetPrevWordPlace()34 if (place.nWordIndex < m_LineInfo.nBeginWordIndex) { in GetNextWordPlace()39 place.nWordIndex + 1); in GetNextWordPlace()
91 void CPDF_VariableText::Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument92 m_CurPos = m_pVT->WordIndexToWordPlace(nWordIndex); in SetAt()141 !pdfium::IndexInBounds(pSection->m_WordArray, m_CurPos.nWordIndex)) { in GetWord()145 CPVT_WordInfo* pWord = pSection->m_WordArray[m_CurPos.nWordIndex].get(); in GetWord()226 newplace.nWordIndex++; in InsertWord()253 for (int32_t w = wordplace.nWordIndex + 1; in InsertSection()255 NewPlace.nWordIndex++; in InsertSection()354 nIndex += newplace.nWordIndex + kReturnLength; in WordPlaceToWordIndex()374 place.nWordIndex = index - nOldIndex - 1; in WordIndexToWordPlace()592 if (!pdfium::IndexInBounds(pSection->m_WordArray, place.nWordIndex)) in GetWordInfo()[all …]
57 void ClearLeftWords(int32_t nWordIndex);58 void ClearRightWords(int32_t nWordIndex);
42 void SetAt(int32_t nWordIndex);
409 void SetAt(int32_t nWordIndex);
105 void CPWL_EditImpl_Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument106 m_pVTIterator->SetAt(nWordIndex); in SetAt()
221 WideString GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex);
1358 WideString Document::GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex) { in GetObjWordStr() argument1386 if (nWords - 1 == nWordIndex) in GetObjWordStr()