Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfdoc/
Dcpvt_wordplace.h20 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 = -1; member
Dcpvt_section.cpp192 if (place.nWordIndex > m_LineInfo.nEndWordIndex) { in GetPrevWordPlace()
197 place.nWordIndex - 1); in GetPrevWordPlace()
202 if (place.nWordIndex < m_LineInfo.nBeginWordIndex) { in GetNextWordPlace()
207 place.nWordIndex + 1); in GetNextWordPlace()
226 int32_t nWordIndex = pdfium::clamp( in AddWord() local
227 place.nWordIndex, 0, fxcrt::CollectionSize<int32_t>(m_WordArray)); in AddWord()
228 m_WordArray.insert(m_WordArray.begin() + nWordIndex, in AddWord()
271 if (place.nWordIndex == pLine->m_LineInfo.nBeginWordIndex) in GetPrevWordPlace()
274 if (place.nWordIndex >= pLine->m_LineInfo.nBeginWordIndex) in GetPrevWordPlace()
292 if (place.nWordIndex < pLine->m_LineInfo.nEndWordIndex) in GetNextWordPlace()
[all …]
Dcpvt_variabletext.cpp88 void CPVT_VariableText::Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument
89 m_CurPos = m_pVT->WordIndexToWordPlace(nWordIndex); in SetAt()
130 const CPVT_WordInfo* pInfo = pSection->GetWordFromArray(m_CurPos.nWordIndex); in GetWord()
203 newplace.nWordIndex++; in InsertWord()
230 for (int32_t w = wordplace.nWordIndex + 1; w < pSection->GetWordArraySize(); in InsertSection()
232 NewPlace.nWordIndex++; in InsertSection()
332 nIndex += newplace.nWordIndex + kReturnLength; in WordPlaceToWordIndex()
351 place.nWordIndex = index - nOldIndex - 1; in WordIndexToWordPlace()
644 pSection->EraseWordsFrom(wordplace.nWordIndex + 1); in ClearSectionRightWords()
649 if (place.nWordIndex < 0 && place.nLineIndex > 0) in PrevLineHeaderPlace()
[all …]
Dcpvt_section.h79 void ClearLeftWords(int32_t nWordIndex);
80 void ClearRightWords(int32_t nWordIndex);
Dcpvt_variabletext.h41 void SetAt(int32_t nWordIndex);
/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.h53 WideString GetWordString(int nWordIndex) const;
Dcpdf_textobject.cpp125 WideString CPDF_TextObject::GetWordString(int nWordIndex) const { in GetWordString()
144 if (nWords - 1 == nWordIndex) in GetWordString()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.h36 void SetAt(int32_t nWordIndex);
Dcpwl_edit_impl.cpp84 void CPWL_EditImpl::Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument
85 m_pVTIterator->SetAt(nWordIndex); in SetAt()