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 …]
Dcline.cpp14 return CPVT_WordPlace(LinePlace.nSecIndex, LinePlace.nLineIndex, -1); in GetBeginWordPlace()
18 return CPVT_WordPlace(LinePlace.nSecIndex, LinePlace.nLineIndex, in GetEndWordPlace()
24 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, in GetPrevWordPlace()
27 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, in GetPrevWordPlace()
33 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, in GetNextWordPlace()
36 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, in GetNextWordPlace()
Dcsection.cpp68 if (place.nLineIndex < 0) in GetPrevWordPlace()
71 if (place.nLineIndex >= pdfium::CollectionSize<int32_t>(m_LineArray)) in GetPrevWordPlace()
74 CLine* pLine = m_LineArray[place.nLineIndex].get(); in GetPrevWordPlace()
76 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, -1); in GetPrevWordPlace()
81 if (!pdfium::IndexInBounds(m_LineArray, place.nLineIndex - 1)) in GetPrevWordPlace()
84 return m_LineArray[place.nLineIndex - 1]->GetEndWordPlace(); in GetPrevWordPlace()
88 if (place.nLineIndex < 0) in GetNextWordPlace()
91 if (place.nLineIndex >= pdfium::CollectionSize<int32_t>(m_LineArray)) in GetNextWordPlace()
94 CLine* pLine = m_LineArray[place.nLineIndex].get(); in GetNextWordPlace()
98 if (!pdfium::IndexInBounds(m_LineArray, place.nLineIndex + 1)) in GetNextWordPlace()
[all …]
Dcpdf_variabletext.cpp122 if (m_CurPos.nLineIndex < in NextLine()
124 m_CurPos = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex + 1, -1); in NextLine()
141 if (!pdfium::IndexInBounds(pSection->m_LineArray, m_CurPos.nLineIndex) || in GetWord()
162 line.lineplace = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex, -1); in GetLine()
167 if (!pdfium::IndexInBounds(pSection->m_LineArray, m_CurPos.nLineIndex)) in GetLine()
170 CLine* pLine = pSection->m_LineArray[m_CurPos.nLineIndex].get(); in GetLine()
465 if (temp.nLineIndex-- > 0) { in GetUpWordPlace()
471 temp.nLineIndex = in GetUpWordPlace()
489 if (temp.nLineIndex++ < in GetDownWordPlace()
503 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, -1); in GetLineBeginPlace()
[all …]