Home
last modified time | relevance | path

Searched refs:m_pVT (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.cpp684 : m_pVT(std::make_unique<CPVT_VariableText>(nullptr)) {} in CPWL_EditImpl()
689 m_pVT->Initialize(); in Initialize()
690 SetCaret(m_pVT->GetBeginWordPlace()); in Initialize()
696 m_pVT->SetProvider(m_pVTProvider.get()); in SetFontMap()
705 m_pIterator = std::make_unique<Iterator>(this, m_pVT->GetIterator()); in GetIterator()
714 m_pVT->SetPlateRect(rect); in SetPlateRect()
719 m_pVT->SetAlignment(nFormat); in SetAlignmentH()
727 m_pVT->SetPasswordChar(wSubWord); in SetPasswordChar()
731 m_pVT->SetLimitChar(nLimitChar); in SetLimitChar()
735 m_pVT->SetCharArray(nCharArray); in SetCharArray()
[all …]
Dcpwl_edit_impl.h275 std::unique_ptr<CPVT_VariableText> m_pVT; // Must outlive |m_pVTProvider|. variable
/external/pdfium/core/fpdfdoc/
Dcpvt_section.cpp210 CPVT_Section::CPVT_Section(CPVT_VariableText* pVT) : m_pVT(pVT) { in CPVT_Section()
211 DCHECK(m_pVT); in CPVT_Section()
240 if (m_pVT->GetCharArray() > 0) in Rearrange()
330 m_pVT->GetLineLeading(); in SearchWordPlace()
392 if (fx > pWord->fWordX + m_pVT->GetWordWidth(*pWord) * 0.5f) { in SearchWordPlace()
402 if (fx > pWord->fWordX + m_pVT->GetWordWidth(*pWord) * 0.5f) in SearchWordPlace()
441 float fNodeWidth = m_pVT->GetPlateWidth() / in RearrangeCharArray()
442 (m_pVT->GetCharArray() <= 0 ? 1 : m_pVT->GetCharArray()); in RearrangeCharArray()
444 m_pVT->GetFontAscent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize()); in RearrangeCharArray()
446 m_pVT->GetFontDescent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize()); in RearrangeCharArray()
[all …]
Dcpvt_variabletext.cpp82 CPVT_VariableText::Iterator::Iterator(CPVT_VariableText* pVT) : m_pVT(pVT) { in Iterator()
83 DCHECK(m_pVT); in Iterator()
89 m_CurPos = m_pVT->WordIndexToWordPlace(nWordIndex); in SetAt()
97 if (m_CurPos == m_pVT->GetEndWordPlace()) in NextWord()
100 m_CurPos = m_pVT->GetNextWordPlace(m_CurPos); in NextWord()
105 if (!fxcrt::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) in NextLine()
108 CPVT_Section* pSection = m_pVT->m_SectionArray[m_CurPos.nSecIndex].get(); in NextLine()
114 fxcrt::CollectionSize<int32_t>(m_pVT->m_SectionArray) - 1) { in NextLine()
123 if (!fxcrt::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) in GetWord()
126 CPVT_Section* pSection = m_pVT->m_SectionArray[m_CurPos.nSecIndex].get(); in GetWord()
[all …]
Dcpvt_section.h87 UnownedPtr<CPVT_VariableText> const m_pVT; variable
Dcpvt_variabletext.h47 UnownedPtr<const CPVT_VariableText> const m_pVT; variable