Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_ctrl.cpp19 : m_pEdit(new CPWL_EditImpl), in CPWL_EditCtrl()
33 m_pEdit->SetFontMap(GetFontMap()); in OnCreated()
34 m_pEdit->SetNotify(this); in OnCreated()
35 m_pEdit->Initialize(); in OnCreated()
55 if (m_pEdit) in GetSelectedText()
56 return m_pEdit->GetSelectedText(); in GetSelectedText()
62 if (!m_pEdit) in ReplaceSelection()
65 m_pEdit->ClearSelection(); in ReplaceSelection()
66 m_pEdit->InsertText(text, FX_CHARSET_Default); in ReplaceSelection()
70 m_pEdit->SetPlateRect(GetClientRect()); in RePosChildWnd()
[all …]
Dcpwl_edit.cpp45 m_pEdit->SetText(swText); in SetText()
53 m_pEdit->SetText(swText); in SetText()
79 m_pEdit->SetText(swText); in SetText()
122 m_pEdit->SetAlignmentV((int32_t)nFormat, bPaint); in SetAlignFormatV()
126 return GetSelectWordRange() != m_pEdit->GetWholeWordRange(); in CanSelectAll()
131 m_pEdit->IsSelected(); in CanCopy()
140 m_pEdit->ClearSelection(); in CutText()
155 m_pEdit->SetOperationNotify(this); in OnCreated()
160 m_pEdit->SetAlignmentH(2, false); in SetParamByFlag()
162 m_pEdit->SetAlignmentH(1, false); in SetParamByFlag()
[all …]
Dcpwl_combo_box.cpp171 m_pEdit.Release(); in OnDestroy()
176 if (m_pEdit) in SetFocus()
177 m_pEdit->SetFocus(); in SetFocus()
188 if (m_pEdit) in GetSelectedText()
189 return m_pEdit->GetSelectedText(); in GetSelectedText()
195 if (m_pEdit) in ReplaceSelection()
196 m_pEdit->ReplaceSelection(text); in ReplaceSelection()
200 if (m_pEdit) { in GetText()
201 return m_pEdit->GetText(); in GetText()
207 if (m_pEdit) in SetText()
[all …]
Dcpwl_edit_impl.cpp73 : m_pEdit(pEdit), m_pVTIterator(pVTIterator) {} in CPWL_EditImpl_Iterator()
86 ASSERT(m_pEdit); in GetWord()
89 word.ptWord = m_pEdit->VTToEdit(word.ptWord); in GetWord()
96 ASSERT(m_pEdit); in GetLine()
99 line.ptLine = m_pEdit->VTToEdit(line.ptLine); in GetLine()
271 : m_pEdit(pEdit), in CFXEU_InsertWord()
276 ASSERT(m_pEdit); in CFXEU_InsertWord()
282 m_pEdit->SelectNone(); in Redo()
283 m_pEdit->SetCaret(m_wpOld); in Redo()
284 m_pEdit->InsertWord(m_Word, m_nCharset, false, true); in Redo()
[all …]
Dcpwl_edit_impl.h119 UnownedPtr<CPWL_EditImpl> m_pEdit;
139 UnownedPtr<CPWL_EditImpl> m_pEdit;
159 UnownedPtr<CPWL_EditImpl> m_pEdit;
182 UnownedPtr<CPWL_EditImpl> m_pEdit;
203 UnownedPtr<CPWL_EditImpl> m_pEdit;
223 UnownedPtr<CPWL_EditImpl> m_pEdit;
414 UnownedPtr<CPWL_EditImpl> m_pEdit;
Dcpwl_list_impl.cpp19 : m_pEdit(new CPWL_EditImpl), in Item()
22 m_pEdit->SetAlignmentV(1, true); in Item()
23 m_pEdit->Initialize(); in Item()
29 m_pEdit->SetFontMap(pFontMap); in SetFontMap()
33 m_pEdit->SetText(text); in SetText()
37 m_pEdit->SetFontSize(fFontSize); in SetFontSize()
41 return m_pEdit->GetContentRect().Height(); in GetItemHeight()
46 CPWL_EditImpl_Iterator* pIterator = m_pEdit->GetIterator(); in GetFirstChar()
53 return m_pEdit->GetText(); in GetText()
Dcpwl_combo_box.h48 CPWL_Edit* GetEdit() const { return m_pEdit.Get(); } in GetEdit()
92 UnownedPtr<CPWL_Edit> m_pEdit; variable
Dcpwl_list_impl.h101 CPWL_EditImpl* GetEdit() const { return m_pEdit.get(); } in GetEdit()
117 std::unique_ptr<CPWL_EditImpl> m_pEdit; variable
Dcpwl_edit_embeddertest.cpp68 m_pEdit = static_cast<CPWL_Edit*>(pWindow); in FormFillerAndWindowSetup()
79 CPWL_Edit* GetCPWLEdit() { return m_pEdit; } in GetCPWLEdit()
86 CPWL_Edit* m_pEdit; member in CPWLEditEmbeddertest
Dcpwl_edit_ctrl.h86 std::unique_ptr<CPWL_EditImpl> 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()
97 m_pEdit->SetOuter(this); in ModifyStylesEx()
98 m_pEdit->SetParent(this); in ModifyStylesEx()
99 } 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->HasSelection(); } 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 Optional<WideString> EditCopy() const { return m_pEdit->Copy(); } in EditCopy()
87 Optional<WideString> EditCut() { return m_pEdit->Cut(); } in EditCut()
88 bool EditPaste(const WideString& wsPaste) { return m_pEdit->Paste(wsPaste); } in EditPaste()
[all …]
Dcfwl_datetimepicker.cpp52 m_pEdit = pdfium::MakeUnique<CFWL_DateTimeEdit>(m_pOwnerApp.Get(), in CFWL_DateTimePicker()
55 RegisterEventTarget(m_pEdit.get()); in CFWL_DateTimePicker()
76 m_pEdit->SetThemeProvider(m_pProperties->m_pThemeProvider); in Update()
89 m_pEdit->SetWidgetRect(rtEdit); in Update()
91 m_pEdit->Update(); in Update()
164 if (!m_pEdit) in SetEditText()
167 m_pEdit->SetText(wsText); in SetEditText()
175 return m_pEdit ? m_pEdit->GetText() : L""; in GetEditText()
194 m_pEdit->ModifyStylesEx(dwStylesExAdded, dwStylesExRemoved); in ModifyEditStylesEx()
266 if (!m_pEdit) in ResetEditAlignment()
[all …]
Dcfwl_datetimepicker.h55 bool HasSelection() const { return m_pEdit->HasSelection(); } in HasSelection()
58 return m_pEdit->GetSelection(); in GetSelection()
62 void SetEditLimit(int32_t nLimit) { m_pEdit->SetLimit(nLimit); } in SetEditLimit()
100 std::unique_ptr<CFWL_DateTimeEdit> m_pEdit; variable