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()
23 void Default() { nSecIndex = nLineIndex = nWordIndex = -1; } in Default()
27 wp.nWordIndex == nWordIndex;
41 if (nWordIndex > wp.nWordIndex) in WordCmp()
43 if (nWordIndex < wp.nWordIndex) in WordCmp()
70 int32_t nWordIndex; member
Dcsection.cpp47 int32_t nWordIndex = in AddWord() local
48 std::max(std::min(place.nWordIndex, m_WordArray.GetSize()), 0); in AddWord()
49 if (nWordIndex == m_WordArray.GetSize()) { in AddWord()
52 m_WordArray.InsertAt(nWordIndex, pWord); in AddWord()
94 if (place.nWordIndex == pLine->m_LineInfo.nBeginWordIndex) { in GetPrevWordPlace()
97 if (place.nWordIndex < pLine->m_LineInfo.nBeginWordIndex) { in GetPrevWordPlace()
116 if (place.nWordIndex >= pLine->m_LineInfo.nEndWordIndex) { in GetNextWordPlace()
133 if (place.nWordIndex < pLine->m_LineInfo.nBeginWordIndex) { in UpdateWordPlace()
136 } else if (place.nWordIndex > pLine->m_LineInfo.nEndWordIndex) { in UpdateWordPlace()
212 wordplace.nWordIndex = -1; 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()
Dcpdf_variabletext.cpp89 void CPDF_VariableText::Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument
90 m_CurPos = m_pVT->WordIndexToWordPlace(nWordIndex); in SetAt()
170 pSection->m_WordArray.GetAt(m_CurPos.nWordIndex)) { in GetWord()
194 pSection->m_WordArray.GetAt(m_CurPos.nWordIndex)) { in SetWord()
298 newplace.nWordIndex++; in InsertWord()
326 for (int32_t w = wordplace.nWordIndex + 1, in InsertSection()
330 NewPlace.nWordIndex++; in InsertSection()
422 wp.nWordIndex = -1; in SetText()
433 wp.nWordIndex = -1; in SetText()
474 nIndex += newplace.nWordIndex + kReturnLength; in WordPlaceToWordIndex()
[all …]
Dcsection.h56 void ClearLeftWords(int32_t nWordIndex);
57 void ClearRightWords(int32_t nWordIndex);
Dcpdf_variabletext.h55 void SetAt(int32_t nWordIndex);
/external/pdfium/fpdfsdk/fxedit/
Dfxet_edit.h515 void SetAt(int32_t nWordIndex);
Dfxet_edit.cpp138 void CFX_Edit_Iterator::SetAt(int32_t nWordIndex) { in SetAt() argument
139 m_pVTIterator->SetAt(nWordIndex); in SetAt()
/external/pdfium/fpdfsdk/javascript/
DDocument.h300 CFX_WideString GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex);
DDocument.cpp1492 int nWordIndex) { in GetObjWordStr() argument
1520 if (nWords - 1 == nWordIndex) in GetObjWordStr()