Home
last modified time | relevance | path

Searched refs:m_pEdit (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/fpdfsdk/pdfwindow/
DPWL_EditCtrl.cpp21 : m_pEdit(new CFX_Edit), in CPWL_EditCtrl()
36 m_pEdit->SetFontMap(GetFontMap()); in OnCreated()
37 m_pEdit->SetNotify(this); in OnCreated()
38 m_pEdit->Initialize(); in OnCreated()
58 m_pEdit->SetPlateRect(GetClientRect()); in RePosChildWnd()
90 m_pEdit->SetScrollPos(CFX_PointF(m_pEdit->GetScrollPos().x, fPos)); in OnNotify()
125 m_pEdit->SetFontSize(fFontSize); in SetFontSize()
129 return m_pEdit->GetFontSize(); in GetFontSize()
163 if (nChar == FWL_VKEY_Delete && m_pEdit->IsSelected()) in OnKeyDown()
175 m_pEdit->OnVK_UP(IsSHIFTpressed(nFlag), false); in OnKeyDown()
[all …]
DPWL_Edit.cpp46 m_pEdit->SetText(swText); in SetText()
54 m_pEdit->SetText(swText); in SetText()
83 m_pEdit->SetText(swText); in SetText()
116 m_pEdit->SetAlignmentV((int32_t)nFormat, bPaint); in SetAlignFormatV()
120 return GetSelectWordRange() != m_pEdit->GetWholeWordRange(); in CanSelectAll()
124 return !IsReadOnly() && m_pEdit->IsSelected(); in CanClear()
129 m_pEdit->IsSelected(); in CanCopy()
138 m_pEdit->Clear(); in CutText()
153 m_pEdit->SetOprNotify(this); in OnCreated()
154 m_pEdit->EnableOprNotify(true); in OnCreated()
[all …]
DPWL_ComboBox.cpp184 : m_pEdit(nullptr), in CPWL_ComboBox()
202 if (m_pEdit) in SetFocus()
203 m_pEdit->SetFocus(); in SetFocus()
212 if (m_pEdit) { in GetText()
213 return m_pEdit->GetText(); in GetText()
219 if (m_pEdit) in SetText()
220 m_pEdit->SetText(text); in SetText()
236 m_pEdit->SetText(m_pList->GetText()); in SetSelect()
241 if (m_pEdit) in SetEditSel()
242 m_pEdit->SetSel(nStartChar, nEndChar); in SetEditSel()
[all …]
DPWL_ComboBox.h52 CPWL_Edit* GetEdit() const { return m_pEdit; } in GetEdit()
93 CPWL_CBEdit* m_pEdit; variable
DPWL_EditCtrl.h130 std::unique_ptr<CFX_Edit> m_pEdit; variable
/external/pdfium/xfa/fwl/
Dcfwl_combobox.cpp55 if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_CMB_DropDown) && !m_pEdit) { in CFWL_ComboBox()
56 m_pEdit = pdfium::MakeUnique<CFWL_ComboEdit>( in CFWL_ComboBox()
58 m_pEdit->SetOuter(this); in CFWL_ComboBox()
60 if (m_pEdit) in CFWL_ComboBox()
61 m_pEdit->SetParent(this); in CFWL_ComboBox()
93 if (bAddDropDown && !m_pEdit) { in ModifyStylesEx()
94 m_pEdit = pdfium::MakeUnique<CFWL_ComboEdit>( in ModifyStylesEx()
96 m_pEdit->SetOuter(this); in ModifyStylesEx()
97 m_pEdit->SetParent(this); in ModifyStylesEx()
98 } else if (bRemoveDropDown && m_pEdit) { in ModifyStylesEx()
[all …]
Dcfwl_combobox.h75 bool EditCanUndo() const { return m_pEdit->CanUndo(); } in EditCanUndo()
76 bool EditCanRedo() const { return m_pEdit->CanRedo(); } in EditCanRedo()
77 bool EditUndo() { return m_pEdit->Undo(); } in EditUndo()
78 bool EditRedo() { return m_pEdit->Redo(); } in EditRedo()
79 bool EditCanCopy() const { return m_pEdit->CountSelRanges() > 0; } in EditCanCopy()
81 if (m_pEdit->GetStylesEx() & FWL_STYLEEXT_EDT_ReadOnly) in EditCanCut()
85 bool EditCanSelectAll() const { return m_pEdit->GetTextLength() > 0; } in EditCanSelectAll()
86 bool EditCopy(CFX_WideString& wsCopy) const { return m_pEdit->Copy(wsCopy); } in EditCopy()
87 bool EditCut(CFX_WideString& wsCut) { return m_pEdit->Cut(wsCut); } in EditCut()
89 return m_pEdit->Paste(wsPaste); in EditPaste()
[all …]
Dcfwl_datetimepicker.cpp53 m_pEdit = pdfium::MakeUnique<CFWL_DateTimeEdit>(m_pOwnerApp, in CFWL_DateTimePicker()
56 RegisterEventTarget(m_pEdit.get()); in CFWL_DateTimePicker()
77 m_pEdit->SetThemeProvider(m_pProperties->m_pThemeProvider); in Update()
90 m_pEdit->SetWidgetRect(rtEdit); in Update()
92 m_pEdit->Update(); in Update()
165 if (!m_pEdit) in SetEditText()
168 m_pEdit->SetText(wsText); in SetEditText()
176 return m_pEdit ? m_pEdit->GetText() : L""; in GetEditText()
195 m_pEdit->ModifyStylesEx(dwStylesExAdded, dwStylesExRemoved); in ModifyEditStylesEx()
264 if (!m_pEdit) in ResetEditAlignment()
[all …]
Dcfwl_datetimepicker.h54 int32_t CountSelRanges() const { return m_pEdit->CountSelRanges(); } in CountSelRanges()
56 return m_pEdit->GetSelRange(nIndex, nStart); in GetSelRange()
60 void SetEditLimit(int32_t nLimit) { m_pEdit->SetLimit(nLimit); } in SetEditLimit()
101 std::unique_ptr<CFWL_DateTimeEdit> m_pEdit; variable
/external/pdfium/fpdfsdk/fxedit/
Dfxet_edit.cpp96 : m_pEdit(pEdit), m_pVTIterator(pVTIterator) {} in CFX_Edit_Iterator()
109 ASSERT(m_pEdit); in GetWord()
112 word.ptWord = m_pEdit->VTToEdit(word.ptWord); in GetWord()
119 ASSERT(m_pEdit); in GetLine()
122 line.ptLine = m_pEdit->VTToEdit(line.ptLine); in GetLine()
129 ASSERT(m_pEdit); in GetSection()
132 section.rcSection = m_pEdit->VTToEdit(section.rcSection); in GetSection()
382 : m_pEdit(pEdit), in CFXEU_InsertWord()
395 if (m_pEdit) { in Redo()
396 m_pEdit->SelectNone(); in Redo()
[all …]
Dfxet_list.cpp14 : m_pEdit(new CFX_Edit), in CFX_ListItem()
17 m_pEdit->SetAlignmentV(1, true); in CFX_ListItem()
18 m_pEdit->Initialize(); in CFX_ListItem()
25 m_pEdit->SetFontMap(pFontMap); in SetFontMap()
29 return m_pEdit.get(); in GetEdit()
33 return m_pEdit->GetIterator(); in GetIterator()
53 m_pEdit->SetText(text); in SetText()
57 m_pEdit->SetFontSize(fFontSize); in SetFontSize()
61 return m_pEdit->GetContentRect().Height(); in GetItemHeight()
73 return m_pEdit->GetText(); in GetText()
Dfxet_edit.h188 CFX_Edit* m_pEdit;
211 CFX_Edit* m_pEdit;
235 CFX_Edit* m_pEdit;
262 CFX_Edit* m_pEdit;
285 CFX_Edit* m_pEdit;
305 CFX_Edit* m_pEdit;
520 CFX_Edit* m_pEdit;
Dfxet_list.h122 std::unique_ptr<CFX_Edit> m_pEdit; variable