Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.cpp568 : m_pVT(pdfium::MakeUnique<CPDF_VariableText>()), in CPWL_EditImpl()
579 m_pVT->Initialize(); in Initialize()
580 SetCaret(m_pVT->GetBeginWordPlace()); in Initialize()
586 m_pVT->SetProvider(m_pVTProvider.get()); in SetFontMap()
600 pdfium::MakeUnique<CPWL_EditImpl_Iterator>(this, m_pVT->GetIterator()); in GetIterator()
610 m_pVT->SetPlateRect(rect); in SetPlateRect()
616 m_pVT->SetAlignment(nFormat); in SetAlignmentH()
628 m_pVT->SetPasswordChar(wSubWord); in SetPasswordChar()
634 m_pVT->SetLimitChar(nLimitChar); in SetLimitChar()
639 m_pVT->SetCharArray(nCharArray); in SetCharArray()
[all …]
Dcpwl_edit_impl.h402 std::unique_ptr<CPDF_VariableText> m_pVT; // Must outlive |m_pVTProvider|. variable
/external/pdfium/core/fpdfdoc/
Dctypeset.cpp177 : m_pVT(pSection->m_pVT), m_pSection(pSection) {} in CTypeset()
186 float fNodeWidth = m_pVT->GetPlateWidth() / in CharArray()
187 (m_pVT->GetCharArray() <= 0 ? 1 : m_pVT->GetCharArray()); in CharArray()
189 m_pVT->GetFontAscent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize()); in CharArray()
191 m_pVT->GetFontDescent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize()); in CharArray()
193 float y = m_pVT->GetLineLeading() + fLineAscent; in CharArray()
196 switch (m_pVT->GetAlignment()) { in CharArray()
201 nStart = (m_pVT->GetCharArray() - in CharArray()
208 nStart = m_pVT->GetCharArray() - in CharArray()
217 if (w >= m_pVT->GetCharArray()) in CharArray()
[all …]
Dcpdf_variabletext.cpp88 : m_CurPos(-1, -1, -1), m_pVT(pVT) {} in Iterator()
93 m_CurPos = m_pVT->WordIndexToWordPlace(nWordIndex); in SetAt()
97 ASSERT(m_pVT); in SetAt()
102 if (m_CurPos == m_pVT->GetEndWordPlace()) in NextWord()
105 m_CurPos = m_pVT->GetNextWordPlace(m_CurPos); in NextWord()
110 if (m_CurPos == m_pVT->GetBeginWordPlace()) in PrevWord()
113 m_CurPos = m_pVT->GetPrevWordPlace(m_CurPos); in PrevWord()
118 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()
128 pdfium::CollectionSize<int32_t>(m_pVT->m_SectionArray) - 1) { in NextLine()
[all …]
Dcsection.cpp17 CSection::CSection(CPDF_VariableText* pVT) : m_pVT(pVT) { in CSection()
18 ASSERT(m_pVT); in CSection()
46 if (m_pVT->GetCharArray() > 0) in Rearrange()
133 m_pVT->GetLineLeading(); in SearchWordPlace()
194 if (fx > pWord->fWordX + m_pVT->GetWordWidth(*pWord) * VARIABLETEXT_HALF) { in SearchWordPlace()
204 if (fx > pWord->fWordX + m_pVT->GetWordWidth(*pWord) * VARIABLETEXT_HALF) in SearchWordPlace()
Dctypeset.h31 UnownedPtr<CPDF_VariableText> const m_pVT; variable
Dcsection.h60 UnownedPtr<CPDF_VariableText> const m_pVT; variable
Dcpdf_variabletext.h48 UnownedPtr<CPDF_VariableText> const m_pVT; variable