Home
last modified time | relevance | path

Searched refs:nWordIndex (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpvt_wordplace.h13 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
Dcsection.cpp33 int32_t nWordIndex = pdfium::clamp( in AddWord() local
34 place.nWordIndex, 0, pdfium::CollectionSize<int32_t>(m_WordArray)); in AddWord()
35 m_WordArray.insert(m_WordArray.begin() + nWordIndex, in AddWord()
75 if (place.nWordIndex == pLine->m_LineInfo.nBeginWordIndex) in GetPrevWordPlace()
78 if (place.nWordIndex >= pLine->m_LineInfo.nBeginWordIndex) in GetPrevWordPlace()
95 if (place.nWordIndex < pLine->m_LineInfo.nEndWordIndex) in GetNextWordPlace()
110 if (place.nWordIndex < pLine->m_LineInfo.nBeginWordIndex) { in UpdateWordPlace()
113 } else if (place.nWordIndex > pLine->m_LineInfo.nEndWordIndex) { in UpdateWordPlace()
179 wordplace.nWordIndex = -1; in SearchWordPlace()
181 int32_t nLeft = range.BeginPos.nWordIndex; in SearchWordPlace()
[all …]
Dcline.cpp23 if (place.nWordIndex > m_LineInfo.nEndWordIndex) { in GetPrevWordPlace()
28 place.nWordIndex - 1); in GetPrevWordPlace()
32 if (place.nWordIndex < m_LineInfo.nBeginWordIndex) { in GetNextWordPlace()
37 place.nWordIndex + 1); in GetNextWordPlace()
Dcsection.h56 void ClearLeftWords(int32_t nWordIndex);
57 void ClearRightWords(int32_t nWordIndex);
Dcpdf_variabletext.cpp92 void CPDF_VariableText::Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument
93 m_CurPos = m_pVT->WordIndexToWordPlace(nWordIndex); in SetAt()
142 !pdfium::IndexInBounds(pSection->m_WordArray, m_CurPos.nWordIndex)) { in GetWord()
146 CPVT_WordInfo* pWord = pSection->m_WordArray[m_CurPos.nWordIndex].get(); in GetWord()
214 newplace.nWordIndex++; in InsertWord()
241 for (int32_t w = wordplace.nWordIndex + 1; in InsertSection()
243 NewPlace.nWordIndex++; in InsertSection()
343 nIndex += newplace.nWordIndex + kReturnLength; in WordPlaceToWordIndex()
363 place.nWordIndex = index - nOldIndex - 1; in WordIndexToWordPlace()
666 if (!pdfium::IndexInBounds(pSection->m_WordArray, wordplace.nWordIndex + 1)) in ClearSectionRightWords()
[all …]
Dcpdf_variabletext.h42 void SetAt(int32_t nWordIndex);
/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.h50 WideString GetWordString(int nWordIndex) const;
Dcpdf_textobject.cpp130 WideString CPDF_TextObject::GetWordString(int nWordIndex) const { in GetWordString()
151 if (nWords - 1 == nWordIndex) in GetWordString()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.h433 void SetAt(int32_t nWordIndex);
Dcpwl_edit_impl.cpp90 void CPWL_EditImpl_Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument
91 m_pVTIterator->SetAt(nWordIndex); in SetAt()