Home
last modified time | relevance | path

Searched refs:nLineIndex (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpvt_wordplace.h13 CPVT_WordPlace() : nSecIndex(-1), nLineIndex(-1), nWordIndex(-1) {} in CPVT_WordPlace()
19 nLineIndex(other_nLineIndex), in CPVT_WordPlace()
24 nLineIndex = -1; in Reset()
30 nLineIndex = 0; in AdvanceSection()
35 return wp.nSecIndex == nSecIndex && wp.nLineIndex == nLineIndex &&
44 if (nLineIndex != wp.nLineIndex)
45 return nLineIndex < wp.nLineIndex;
51 if (nLineIndex != wp.nLineIndex)
52 return nLineIndex > wp.nLineIndex;
65 return nLineIndex - wp.nLineIndex; in LineCmp()
[all …]
Dcsection.cpp71 if (place.nLineIndex < 0) in GetPrevWordPlace()
74 if (place.nLineIndex >= pdfium::CollectionSize<int32_t>(m_LineArray)) in GetPrevWordPlace()
77 CLine* pLine = m_LineArray[place.nLineIndex].get(); in GetPrevWordPlace()
79 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, -1); in GetPrevWordPlace()
84 if (!pdfium::IndexInBounds(m_LineArray, place.nLineIndex - 1)) in GetPrevWordPlace()
87 return m_LineArray[place.nLineIndex - 1]->GetEndWordPlace(); in GetPrevWordPlace()
91 if (place.nLineIndex < 0) in GetNextWordPlace()
94 if (place.nLineIndex >= pdfium::CollectionSize<int32_t>(m_LineArray)) in GetNextWordPlace()
97 CLine* pLine = m_LineArray[place.nLineIndex].get(); in GetNextWordPlace()
101 if (!pdfium::IndexInBounds(m_LineArray, place.nLineIndex + 1)) in GetNextWordPlace()
[all …]
Dcline.cpp16 return CPVT_WordPlace(LinePlace.nSecIndex, LinePlace.nLineIndex, -1); in GetBeginWordPlace()
20 return CPVT_WordPlace(LinePlace.nSecIndex, LinePlace.nLineIndex, in GetEndWordPlace()
26 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, in GetPrevWordPlace()
29 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, in GetPrevWordPlace()
35 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, in GetNextWordPlace()
38 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, in GetNextWordPlace()
Dcpdf_variabletext.cpp121 if (m_CurPos.nLineIndex < in NextLine()
123 m_CurPos = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex + 1, -1); in NextLine()
140 if (!pdfium::IndexInBounds(pSection->m_LineArray, m_CurPos.nLineIndex) || in GetWord()
161 line.lineplace = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex, -1); in GetLine()
166 if (!pdfium::IndexInBounds(pSection->m_LineArray, m_CurPos.nLineIndex)) in GetLine()
169 CLine* pLine = pSection->m_LineArray[m_CurPos.nLineIndex].get(); in GetLine()
476 if (temp.nLineIndex-- > 0) { in GetUpWordPlace()
482 temp.nLineIndex = in GetUpWordPlace()
500 if (temp.nLineIndex++ < in GetDownWordPlace()
514 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, -1); in GetLineBeginPlace()
[all …]