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.cpp117 if (!pdfium::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) in NextLine()
120 CSection* pSection = m_pVT->m_SectionArray[m_CurPos.nSecIndex].get(); in NextLine()
123 m_CurPos = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex + 1, -1); in NextLine()
126 if (m_CurPos.nSecIndex < in NextLine()
128 m_CurPos = CPVT_WordPlace(m_CurPos.nSecIndex + 1, 0, -1); in NextLine()
136 if (!pdfium::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) in GetWord()
139 CSection* pSection = m_pVT->m_SectionArray[m_CurPos.nSecIndex].get(); in GetWord()
161 line.lineplace = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex, -1); in GetLine()
162 if (!pdfium::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) in GetLine()
165 CSection* pSection = m_pVT->m_SectionArray[m_CurPos.nSecIndex].get(); in GetLine()
[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()
Dcsection.cpp29 pLine->LinePlace = CPVT_WordPlace(SecPlace.nSecIndex, i, -1); in ResetLinePlace()
45 return CPVT_WordPlace(SecPlace.nSecIndex, m_LineArray.size() - 1, -1); in AddLine()
79 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, -1); in GetPrevWordPlace()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.cpp338 if (m_wpNew.nSecIndex != m_wpOld.nSecIndex) in Undo()
734 if (oldplace.nSecIndex != place.nSecIndex) in GetText()
760 if (oldplace.nSecIndex != place.nSecIndex) in GetRangeText()
1579 if (m_wpCaret.nSecIndex != m_wpOldCaret.nSecIndex) { in Backspace()