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.cpp36 int32_t nWordIndex = pdfium::clamp( in AddWord() local
37 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 …]
Dcline.cpp25 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()
Dcpdf_variabletext.cpp91 void CPDF_VariableText::Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument
92 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 …]
Dcsection.h57 void ClearLeftWords(int32_t nWordIndex);
58 void ClearRightWords(int32_t nWordIndex);
Dcpdf_variabletext.h42 void SetAt(int32_t nWordIndex);
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.h409 void SetAt(int32_t nWordIndex);
Dcpwl_edit_impl.cpp105 void CPWL_EditImpl_Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument
106 m_pVTIterator->SetAt(nWordIndex); in SetAt()
/external/pdfium/fxjs/
Dcjs_document.h221 WideString GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex);
Dcjs_document.cpp1358 WideString Document::GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex) { in GetObjWordStr() argument
1386 if (nWords - 1 == nWordIndex) in GetObjWordStr()