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.cpp542 : m_pVT(pdfium::MakeUnique<CPDF_VariableText>()), in CPWL_EditImpl()
553 m_pVT->Initialize(); in Initialize()
554 SetCaret(m_pVT->GetBeginWordPlace()); in Initialize()
560 m_pVT->SetProvider(m_pVTProvider.get()); in SetFontMap()
574 pdfium::MakeUnique<CPWL_EditImpl_Iterator>(this, m_pVT->GetIterator()); in GetIterator()
584 m_pVT->SetPlateRect(rect); in SetPlateRect()
590 m_pVT->SetAlignment(nFormat); in SetAlignmentH()
602 m_pVT->SetPasswordChar(wSubWord); in SetPasswordChar()
608 m_pVT->SetLimitChar(nLimitChar); in SetLimitChar()
613 m_pVT->SetCharArray(nCharArray); in SetCharArray()
[all …]
Dcpwl_edit_impl.h377 std::unique_ptr<CPDF_VariableText> m_pVT; variable
/external/pdfium/core/fpdfdoc/
Dctypeset.cpp178 m_pVT(pSection->m_pVT), in CTypeset()
188 float fNodeWidth = m_pVT->GetPlateWidth() / in CharArray()
189 (m_pVT->GetCharArray() <= 0 ? 1 : m_pVT->GetCharArray()); in CharArray()
191 m_pVT->GetFontAscent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize()); in CharArray()
193 m_pVT->GetFontDescent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize()); in CharArray()
195 float y = m_pVT->GetLineLeading() + fLineAscent; in CharArray()
198 switch (m_pVT->GetAlignment()) { in CharArray()
203 nStart = (m_pVT->GetCharArray() - in CharArray()
210 nStart = m_pVT->GetCharArray() - in CharArray()
219 if (w >= m_pVT->GetCharArray()) in CharArray()
[all …]
Dcpdf_variabletext.cpp87 : m_CurPos(-1, -1, -1), m_pVT(pVT) {} in Iterator()
92 m_CurPos = m_pVT->WordIndexToWordPlace(nWordIndex); in SetAt()
96 ASSERT(m_pVT); in SetAt()
101 if (m_CurPos == m_pVT->GetEndWordPlace()) in NextWord()
104 m_CurPos = m_pVT->GetNextWordPlace(m_CurPos); in NextWord()
109 if (m_CurPos == m_pVT->GetBeginWordPlace()) in PrevWord()
112 m_CurPos = m_pVT->GetPrevWordPlace(m_CurPos); in PrevWord()
117 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()
127 pdfium::CollectionSize<int32_t>(m_pVT->m_SectionArray) - 1) { in NextLine()
[all …]
Dcsection.cpp17 CSection::CSection(CPDF_VariableText* pVT) : m_pVT(pVT) {} in CSection()
49 if (m_pVT->GetCharArray() > 0) in Rearrange()
127 ASSERT(m_pVT); in SearchWordPlace()
137 m_pVT->GetLineLeading(); in SearchWordPlace()
184 if (!m_pVT) { in SearchWordPlace()
200 if (fx > pWord->fWordX + m_pVT->GetWordWidth(*pWord) * VARIABLETEXT_HALF) { in SearchWordPlace()
210 if (fx > pWord->fWordX + m_pVT->GetWordWidth(*pWord) * VARIABLETEXT_HALF) in SearchWordPlace()
Dctypeset.h31 UnownedPtr<CPDF_VariableText> const m_pVT; variable
Dcsection.h61 UnownedPtr<CPDF_VariableText> const m_pVT; variable
Dcpdf_variabletext.h48 UnownedPtr<CPDF_VariableText> const m_pVT; variable