Home
last modified time | relevance | path

Searched refs:nSecIndex (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpvt_wordplace.h13 CPVT_WordPlace() : nSecIndex(-1), nLineIndex(-1), nWordIndex(-1) {} in CPVT_WordPlace()
18 : nSecIndex(other_nSecIndex), in CPVT_WordPlace()
23 nSecIndex = -1; in Reset()
29 nSecIndex++; in AdvanceSection()
35 return wp.nSecIndex == nSecIndex && wp.nLineIndex == nLineIndex &&
42 if (nSecIndex != wp.nSecIndex)
43 return nSecIndex < wp.nSecIndex;
49 if (nSecIndex != wp.nSecIndex)
50 return nSecIndex > wp.nSecIndex;
63 if (nSecIndex != wp.nSecIndex) in LineCmp()
[all …]
Dcpdf_variabletext.cpp118 if (!pdfium::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) in NextLine()
121 CSection* pSection = m_pVT->m_SectionArray[m_CurPos.nSecIndex].get(); in NextLine()
124 m_CurPos = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex + 1, -1); in NextLine()
127 if (m_CurPos.nSecIndex < in NextLine()
129 m_CurPos = CPVT_WordPlace(m_CurPos.nSecIndex + 1, 0, -1); in NextLine()
137 if (!pdfium::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) in GetWord()
140 CSection* pSection = m_pVT->m_SectionArray[m_CurPos.nSecIndex].get(); in GetWord()
162 line.lineplace = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex, -1); in GetLine()
163 if (!pdfium::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) in GetLine()
166 CSection* pSection = m_pVT->m_SectionArray[m_CurPos.nSecIndex].get(); in GetLine()
[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.cpp26 pLine->LinePlace = CPVT_WordPlace(SecPlace.nSecIndex, i, -1); in ResetLinePlace()
42 return CPVT_WordPlace(SecPlace.nSecIndex, m_LineArray.size() - 1, -1); in AddLine()
76 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, -1); in GetPrevWordPlace()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.cpp359 if (m_wpNew.nSecIndex != m_wpOld.nSecIndex) in Undo()
760 if (oldplace.nSecIndex != place.nSecIndex) in GetText()
786 if (oldplace.nSecIndex != place.nSecIndex) in GetRangeText()