Home
last modified time | relevance | path

Searched refs:nLineIndex (Results 1 – 9 of 9) 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()
23 void Default() { nSecIndex = nLineIndex = nWordIndex = -1; } in Default()
26 return wp.nSecIndex == nSecIndex && wp.nLineIndex == nLineIndex &&
37 if (nLineIndex > wp.nLineIndex) in WordCmp()
39 if (nLineIndex < wp.nLineIndex) in WordCmp()
53 if (nLineIndex > wp.nLineIndex) in LineCmp()
55 if (nLineIndex < wp.nLineIndex) in LineCmp()
69 int32_t nLineIndex; member
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.cpp87 if (place.nLineIndex < 0) { in GetPrevWordPlace()
90 if (place.nLineIndex >= m_LineArray.GetSize()) { in GetPrevWordPlace()
93 if (CLine* pLine = m_LineArray.GetAt(place.nLineIndex)) { in GetPrevWordPlace()
95 return CPVT_WordPlace(place.nSecIndex, place.nLineIndex, -1); in GetPrevWordPlace()
98 if (CLine* pPrevLine = m_LineArray.GetAt(place.nLineIndex - 1)) { in GetPrevWordPlace()
109 if (place.nLineIndex < 0) { in GetNextWordPlace()
112 if (place.nLineIndex >= m_LineArray.GetSize()) { in GetNextWordPlace()
115 if (CLine* pLine = m_LineArray.GetAt(place.nLineIndex)) { in GetNextWordPlace()
117 if (CLine* pNextLine = m_LineArray.GetAt(place.nLineIndex + 1)) { in GetNextWordPlace()
140 place.nLineIndex = nMid; in UpdateWordPlace()
[all …]
Dcpdf_variabletext.cpp116 if (m_CurPos.nLineIndex < pSection->m_LineArray.GetSize() - 1) { in NextLine()
118 CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex + 1, -1); in NextLine()
131 if (m_CurPos.nLineIndex > 0) { in PrevLine()
133 CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex - 1, -1); in PrevLine()
168 if (pSection->m_LineArray.GetAt(m_CurPos.nLineIndex)) { in GetWord()
205 line.lineplace = CPVT_WordPlace(m_CurPos.nSecIndex, m_CurPos.nLineIndex, -1); in GetLine()
207 if (CLine* pLine = pSection->m_LineArray.GetAt(m_CurPos.nLineIndex)) { in GetLine()
421 wp.nLineIndex = 0; in SetText()
432 wp.nLineIndex = 0; in SetText()
599 if (temp.nLineIndex-- > 0) { in GetUpWordPlace()
[all …]
/external/pdfium/xfa/fde/
Dcfde_txtedtparag.cpp141 void CFDE_TxtEdtParag::GetLineRange(int32_t nLineIndex, in GetLineRange() argument
145 ASSERT(nLineIndex < m_nLineCount); in GetLineRange()
148 for (int32_t i = 0; i < nLineIndex; i++) { in GetLineRange()
Dcfde_txtedtparag.h30 void GetLineRange(int32_t nLineIndex, int32_t& nStart, int32_t& nCount) const;
Dcfde_txtedtpage.h23 CFDE_TxtEdtPage(CFDE_TxtEdtEngine* pEngine, int32_t nLineIndex);
Dcfde_txtedtengine.h83 int32_t nLineIndex,
Dcfde_txtedtengine.cpp712 int32_t nLineIndex, in Line2Parag() argument
721 if (nLineTotal > nLineIndex) { in Line2Parag()