Home
last modified time | relevance | path

Searched refs:nSecIndex (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()
18 nSecIndex = other_nSecIndex; in CPVT_WordPlace()
23 void Default() { nSecIndex = nLineIndex = nWordIndex = -1; } in Default()
26 return wp.nSecIndex == nSecIndex && wp.nLineIndex == nLineIndex &&
33 if (nSecIndex > wp.nSecIndex) in WordCmp()
35 if (nSecIndex < wp.nSecIndex) in WordCmp()
49 if (nSecIndex > wp.nSecIndex) in LineCmp()
51 if (nSecIndex < wp.nSecIndex) in LineCmp()
61 if (nSecIndex > wp.nSecIndex) in SecCmp()
63 if (nSecIndex < wp.nSecIndex) in SecCmp()
[all …]
Dcpdf_variabletext.cpp115 if (CSection* pSection = m_pVT->m_SectionArray.GetAt(m_CurPos.nSecIndex)) { in NextLine()
118 CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex + 1, -1); in NextLine()
121 if (m_CurPos.nSecIndex < m_pVT->m_SectionArray.GetSize() - 1) { in NextLine()
122 m_CurPos = CPVT_WordPlace(m_CurPos.nSecIndex + 1, 0, -1); in NextLine()
130 if (m_pVT->m_SectionArray.GetAt(m_CurPos.nSecIndex)) { in PrevLine()
133 CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex - 1, -1); in PrevLine()
136 if (m_CurPos.nSecIndex > 0) { in PrevLine()
138 m_pVT->m_SectionArray.GetAt(m_CurPos.nSecIndex - 1)) { in PrevLine()
139 m_CurPos = CPVT_WordPlace(m_CurPos.nSecIndex - 1, in PrevLine()
149 if (m_CurPos.nSecIndex < m_pVT->m_SectionArray.GetSize() - 1) { in NextSection()
[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.cpp39 pLine->LinePlace = CPVT_WordPlace(SecPlace.nSecIndex, i, -1); in ResetLinePlace()
58 return CPVT_WordPlace(SecPlace.nSecIndex, m_LineArray.Add(lineinfo), -1); in AddLine()
95 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, -1); in GetPrevWordPlace()