Lines Matching refs:pEdit
585 ByteString GetEditAppStream(CPWL_EditImpl* pEdit, in GetEditAppStream() argument
589 CPWL_EditImpl_Iterator* pIterator = pEdit->GetIterator(); in GetEditAppStream()
634 sEditStream << GetFontSetString(pEdit->GetFontMap(), word.nFontIndex, in GetEditAppStream()
639 sWords << pEdit->GetPDFWordString(nCurFontIndex, word.Word, SubWord); in GetEditAppStream()
656 sEditStream << GetFontSetString(pEdit->GetFontMap(), word.nFontIndex, in GetEditAppStream()
662 pEdit->GetPDFWordString(nCurFontIndex, word.Word, SubWord)); in GetEditAppStream()
674 float fCharSpace = pEdit->GetCharSpace(); in GetEditAppStream()
745 auto pEdit = pdfium::MakeUnique<CPWL_EditImpl>(); in GetPushButtonAppStream() local
746 pEdit->SetFontMap(pFontMap); in GetPushButtonAppStream()
747 pEdit->SetAlignmentH(1, true); in GetPushButtonAppStream()
748 pEdit->SetAlignmentV(1, true); in GetPushButtonAppStream()
749 pEdit->SetMultiLine(false, true); in GetPushButtonAppStream()
750 pEdit->SetAutoReturn(false, true); in GetPushButtonAppStream()
752 pEdit->SetAutoFontSize(true, true); in GetPushButtonAppStream()
754 pEdit->SetFontSize(fFontSize); in GetPushButtonAppStream()
756 pEdit->Initialize(); in GetPushButtonAppStream()
757 pEdit->SetText(sLabel); in GetPushButtonAppStream()
759 CFX_FloatRect rcLabelContent = pEdit->GetContentRect(); in GetPushButtonAppStream()
901 pEdit->SetPlateRect(rcLabel); in GetPushButtonAppStream()
903 GetEditAppStream(pEdit.get(), CFX_PointF(0.0f, 0.0f), true, 0); in GetPushButtonAppStream()
1596 auto pEdit = pdfium::MakeUnique<CPWL_EditImpl>(); in SetAsComboBox() local
1597 pEdit->EnableRefresh(false); in SetAsComboBox()
1598 pEdit->SetFontMap(&font_map); in SetAsComboBox()
1604 pEdit->SetPlateRect(rcEdit); in SetAsComboBox()
1605 pEdit->SetAlignmentV(1, true); in SetAsComboBox()
1609 pEdit->SetAutoFontSize(true, true); in SetAsComboBox()
1611 pEdit->SetFontSize(fFontSize); in SetAsComboBox()
1613 pEdit->Initialize(); in SetAsComboBox()
1616 pEdit->SetText(sValue.value()); in SetAsComboBox()
1620 pEdit->SetText(pField->GetValue()); in SetAsComboBox()
1622 pEdit->SetText(pField->GetOptionLabel(nCurSel)); in SetAsComboBox()
1625 CFX_FloatRect rcContent = pEdit->GetContentRect(); in SetAsComboBox()
1626 ByteString sEdit = GetEditAppStream(pEdit.get(), CFX_PointF(), true, 0); in SetAsComboBox()
1662 auto pEdit = pdfium::MakeUnique<CPWL_EditImpl>(); in SetAsListBox() local
1663 pEdit->EnableRefresh(false); in SetAsListBox()
1664 pEdit->SetFontMap(&font_map); in SetAsListBox()
1665 pEdit->SetPlateRect(CFX_FloatRect(rcClient.left, 0.0f, rcClient.right, 0.0f)); in SetAsListBox()
1668 pEdit->SetFontSize(IsFloatZero(fFontSize) ? 12.0f : fFontSize); in SetAsListBox()
1669 pEdit->Initialize(); in SetAsListBox()
1687 pEdit->SetText(pField->GetOptionLabel(i)); in SetAsListBox()
1689 CFX_FloatRect rcContent = pEdit->GetContentRect(); in SetAsListBox()
1707 << GetEditAppStream(pEdit.get(), CFX_PointF(0.0f, fy), true, 0); in SetAsListBox()
1713 << GetEditAppStream(pEdit.get(), CFX_PointF(0.0f, fy), true, 0); in SetAsListBox()
1746 auto pEdit = pdfium::MakeUnique<CPWL_EditImpl>(); in SetAsTextField() local
1747 pEdit->EnableRefresh(false); in SetAsTextField()
1748 pEdit->SetFontMap(&font_map); in SetAsTextField()
1751 pEdit->SetPlateRect(rcClient); in SetAsTextField()
1752 pEdit->SetAlignmentH(pControl->GetControlAlignment(), true); in SetAsTextField()
1757 pEdit->SetMultiLine(true, true); in SetAsTextField()
1758 pEdit->SetAutoReturn(true, true); in SetAsTextField()
1760 pEdit->SetAlignmentV(1, true); in SetAsTextField()
1766 pEdit->SetPasswordChar(subWord, true); in SetAsTextField()
1780 pEdit->SetCharArray(nMaxLen); in SetAsTextField()
1788 pEdit->SetLimitChar(nMaxLen); in SetAsTextField()
1793 pEdit->SetAutoFontSize(true, true); in SetAsTextField()
1795 pEdit->SetFontSize(fFontSize); in SetAsTextField()
1797 pEdit->Initialize(); in SetAsTextField()
1798 pEdit->SetText(sValue.value_or(pField->GetValue())); in SetAsTextField()
1800 CFX_FloatRect rcContent = pEdit->GetContentRect(); in SetAsTextField()
1802 GetEditAppStream(pEdit.get(), CFX_PointF(), !bCharArray, subWord); in SetAsTextField()