/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_edit_ctrl.cpp | 24 m_pEdit(pdfium::MakeUnique<CPWL_EditImpl>()) { in CPWL_EditCtrl() 32 m_pEdit->SetFontMap(GetFontMap()); in OnCreated() 33 m_pEdit->SetNotify(this); in OnCreated() 34 m_pEdit->Initialize(); in OnCreated() 48 return m_pEdit->GetSelectedText(); in GetSelectedText() 52 m_pEdit->ReplaceSelection(text); in ReplaceSelection() 56 m_pEdit->SetPlateRect(GetClientRect()); in RePosChildWnd() 71 m_pEdit->SetScrollPos(CFX_PointF(m_pEdit->GetScrollPos().x, pos)); in ScrollWindowVertically() 97 m_pEdit->SetFontSize(fFontSize); in SetFontSize() 101 return m_pEdit->GetFontSize(); in GetFontSize() [all …]
|
D | cpwl_combo_box.cpp | 181 m_pEdit.Release(); in OnDestroy() 186 if (m_pEdit) in SetFocus() 187 m_pEdit->SetFocus(); in SetFocus() 198 if (m_pEdit) in GetSelectedText() 199 return m_pEdit->GetSelectedText(); in GetSelectedText() 205 if (m_pEdit) in ReplaceSelection() 206 m_pEdit->ReplaceSelection(text); in ReplaceSelection() 210 return m_pEdit && m_pEdit->CanUndo(); in CanUndo() 214 return m_pEdit && m_pEdit->CanRedo(); in CanRedo() 218 return m_pEdit && m_pEdit->Undo(); in Undo() [all …]
|
D | cpwl_edit.cpp | 40 m_pEdit->SetText(csText); in SetText() 82 m_pEdit->SetAlignmentV(static_cast<int32_t>(PEAV_CENTER), true); in SetAlignFormatVerticalCenter() 86 return GetSelectWordRange() != m_pEdit->GetWholeWordRange(); in CanSelectAll() 91 m_pEdit->IsSelected(); in CanCopy() 100 m_pEdit->ClearSelection(); in CutText() 115 m_pEdit->SetOperationNotify(this); in OnCreated() 120 m_pEdit->SetAlignmentH(2, false); in SetParamByFlag() 122 m_pEdit->SetAlignmentH(1, false); in SetParamByFlag() 124 m_pEdit->SetAlignmentH(0, false); in SetParamByFlag() 128 m_pEdit->SetAlignmentV(2, false); in SetParamByFlag() [all …]
|
D | cpwl_edit_impl.cpp | 58 : m_pEdit(pEdit), m_pVTIterator(pVTIterator) {} in CPWL_EditImpl_Iterator() 71 ASSERT(m_pEdit); in GetWord() 74 word.ptWord = m_pEdit->VTToEdit(word.ptWord); in GetWord() 81 ASSERT(m_pEdit); in GetLine() 84 line.ptLine = m_pEdit->VTToEdit(line.ptLine); in GetLine() 262 : m_pEdit(pEdit), in CFXEU_InsertWord() 267 ASSERT(m_pEdit); in CFXEU_InsertWord() 273 m_pEdit->SelectNone(); in Redo() 274 m_pEdit->SetCaret(m_wpOld); in Redo() 275 m_pEdit->InsertWord(m_Word, m_nCharset, false, true); in Redo() [all …]
|
D | cpwl_edit_impl.h | 127 UnownedPtr<CPWL_EditImpl> m_pEdit; 147 UnownedPtr<CPWL_EditImpl> m_pEdit; 165 UnownedPtr<CPWL_EditImpl> m_pEdit; variable 183 UnownedPtr<CPWL_EditImpl> m_pEdit; 206 UnownedPtr<CPWL_EditImpl> m_pEdit; 227 UnownedPtr<CPWL_EditImpl> m_pEdit; 247 UnownedPtr<CPWL_EditImpl> m_pEdit; 438 UnownedPtr<CPWL_EditImpl> m_pEdit;
|
D | cpwl_list_impl.cpp | 19 CPWL_ListCtrl::Item::Item() : m_pEdit(pdfium::MakeUnique<CPWL_EditImpl>()) { in Item() 20 m_pEdit->SetAlignmentV(1, true); in Item() 21 m_pEdit->Initialize(); in Item() 27 m_pEdit->SetFontMap(pFontMap); in SetFontMap() 31 m_pEdit->SetText(text); in SetText() 35 m_pEdit->SetFontSize(fFontSize); in SetFontSize() 39 return m_pEdit->GetContentRect().Height(); in GetItemHeight() 44 CPWL_EditImpl_Iterator* pIterator = m_pEdit->GetIterator(); in GetFirstChar() 51 return m_pEdit->GetText(); in GetText()
|
D | cpwl_combo_box.h | 54 CPWL_Edit* GetEdit() const { return m_pEdit.Get(); } in GetEdit() 98 UnownedPtr<CPWL_Edit> m_pEdit; variable
|
D | cpwl_list_impl.h | 102 CPWL_EditImpl* GetEdit() const { return m_pEdit.get(); } in GetEdit() 120 std::unique_ptr<CPWL_EditImpl> const m_pEdit; variable
|
D | cpwl_edit_embeddertest.cpp | 76 m_pEdit = static_cast<CPWL_Edit*>(pWindow); in FormFillerAndWindowSetup() 87 CPWL_Edit* GetCPWLEdit() { return m_pEdit; } in GetCPWLEdit() 94 CPWL_Edit* m_pEdit; member in CPWLEditEmbedderTest
|
D | cpwl_edit_ctrl.h | 84 std::unique_ptr<CPWL_EditImpl> const m_pEdit; variable
|
/external/pdfium/xfa/fwl/ |
D | cfwl_combobox.cpp | 58 if (!m_pEdit) in ModifyStylesEx() 68 m_pEdit->ModifyStylesEx(0, FWL_STYLEEXT_EDT_ReadOnly); in ModifyStylesEx() 70 m_pEdit->ModifyStylesEx(FWL_STYLEEXT_EDT_ReadOnly, 0); in ModifyStylesEx() 77 if (m_pEdit) in Update() 114 if (m_pEdit) { in DrawWidget() 115 CFX_RectF rtEdit = m_pEdit->GetWidgetRect(); in DrawWidget() 118 m_pEdit->DrawWidget(pGraphics, mt); in DrawWidget() 135 if (m_pEdit) in SetThemeProvider() 136 m_pEdit->SetThemeProvider(pThemeProvider); in SetThemeProvider() 148 if (IsDropDownStyle() && m_pEdit) { in SetCurSel() [all …]
|
D | cfwl_datetimepicker.cpp | 46 m_pEdit = pdfium::MakeUnique<CFWL_DateTimeEdit>(m_pOwnerApp.Get(), in CFWL_DateTimePicker() 49 RegisterEventTarget(m_pEdit.get()); in CFWL_DateTimePicker() 66 m_pEdit->SetThemeProvider(m_pProperties->m_pThemeProvider.Get()); in Update() 68 m_pEdit->SetWidgetRect(m_rtClient); in Update() 70 m_pEdit->Update(); in Update() 116 if (m_pEdit) { in DrawWidget() 117 CFX_RectF rtEdit = m_pEdit->GetWidgetRect(); in DrawWidget() 121 m_pEdit->DrawWidget(pGraphics, mt); in DrawWidget() 162 if (!m_pEdit) in SetEditText() 165 m_pEdit->SetText(wsText); in SetEditText() [all …]
|
D | cfwl_combobox.h | 71 bool EditCanUndo() const { return m_pEdit->CanUndo(); } in EditCanUndo() 72 bool EditCanRedo() const { return m_pEdit->CanRedo(); } in EditCanRedo() 73 bool EditUndo() { return m_pEdit->Undo(); } in EditUndo() 74 bool EditRedo() { return m_pEdit->Redo(); } in EditRedo() 75 bool EditCanCopy() const { return m_pEdit->HasSelection(); } in EditCanCopy() 77 if (m_pEdit->GetStylesEx() & FWL_STYLEEXT_EDT_ReadOnly) in EditCanCut() 81 bool EditCanSelectAll() const { return m_pEdit->GetTextLength() > 0; } in EditCanSelectAll() 82 Optional<WideString> EditCopy() const { return m_pEdit->Copy(); } in EditCopy() 83 Optional<WideString> EditCut() { return m_pEdit->Cut(); } in EditCut() 84 bool EditPaste(const WideString& wsPaste) { return m_pEdit->Paste(wsPaste); } in EditPaste() [all …]
|
D | cfwl_datetimepicker.h | 57 bool HasSelection() const { return m_pEdit->HasSelection(); } in HasSelection() 60 return m_pEdit->GetSelection(); in GetSelection() 71 void SetEditLimit(int32_t nLimit) { m_pEdit->SetLimit(nLimit); } in SetEditLimit() 104 std::unique_ptr<CFWL_DateTimeEdit> m_pEdit; variable
|