Home
last modified time | relevance | path

Searched refs:pEdit (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/fpdfsdk/src/formfiller/
DFFL_ComboBox.cpp192 if (CPWL_Edit* pEdit = (CPWL_Edit*)*pComboBox) in GetActionData() local
194 fa.bFieldFull = pEdit->IsTextFull(); in GetActionData()
197 pEdit->GetSel(nSelStart, nSelEnd); in GetActionData()
200 fa.sValue = pEdit->GetText(); in GetActionData()
214 if (CPWL_Edit* pEdit = (CPWL_Edit*)*pComboBox) in GetActionData() local
216 fa.sValue = pEdit->GetText(); in GetActionData()
240 if (CPWL_Edit* pEdit = (CPWL_Edit*)*pComboBox) in SetActionData() local
242 pEdit->SetSel(fa.nSelStart, fa.nSelEnd); in SetActionData()
243 pEdit->ReplaceSel(fa.sChange.c_str()); in SetActionData()
275 if (CPWL_Edit* pEdit = (CPWL_Edit*)*pComboBox) in SaveState() local
[all …]
DFFL_TextField.cpp186 if (CPWL_Edit * pEdit = (CPWL_Edit*)GetPDFWindow(pPageView, FALSE)) in IsDataChanged() local
187 return pEdit->GetText() != m_pWidget->GetValue(); in IsDataChanged()
249 if (CPWL_Edit * pEdit = (CPWL_Edit*)GetPDFWindow(pPageView, FALSE)) in SetActionData() local
251 pEdit->SetFocus(); in SetActionData()
252 pEdit->SetSel(fa.nSelStart, fa.nSelEnd); in SetActionData()
253 pEdit->ReplaceSel(fa.sChange.c_str()); in SetActionData()
329 CPWL_Edit* pEdit = (CPWL_Edit*)pWnd; in OnSetFocus() local
330 pEdit->SetCharSet(134); in OnSetFocus()
331 pEdit->SetCodePage(936); in OnSetFocus()
333 pEdit->SetReadyToInput(); in OnSetFocus()
[all …]
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_ap.cpp68 CFX_ByteString IFX_Edit::GetEditAppearanceStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, in GetEditAppearanceStream() argument
76 if (IFX_Edit_Iterator* pIterator = pEdit->GetIterator()) in GetEditAppearanceStream()
131 sEditStream << GetFontSetString(pEdit->GetFontMap(),word.nFontIndex,word.fFontSize); in GetEditAppearanceStream()
135 sWords << GetPDFWordString(pEdit->GetFontMap(),nCurFontIndex,word.Word,SubWord); in GetEditAppearanceStream()
155 sEditStream << GetFontSetString(pEdit->GetFontMap(),word.nFontIndex,word.fFontSize); in GetEditAppearanceStream()
159 …sEditStream << GetWordRenderString(GetPDFWordString(pEdit->GetFontMap(),nCurFontIndex,word.Word,Su… in GetEditAppearanceStream()
174 FX_INT32 nHorzScale = pEdit->GetHorzScale(); in GetEditAppearanceStream()
180 FX_FLOAT fCharSpace = pEdit->GetCharSpace(); in GetEditAppearanceStream()
192 CFX_ByteString IFX_Edit::GetSelectAppearanceStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, in GetSelectAppearanceStream() argument
199 if (IFX_Edit_Iterator* pIterator = pEdit->GetIterator()) in GetSelectAppearanceStream()
Dfxet_pageobjs.cpp80 void IFX_Edit::DrawUnderline(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit,… in DrawUnderline() argument
97 if (IFX_Edit_Iterator* pIterator = pEdit->GetIterator()) in DrawUnderline()
99 if (pEdit->GetFontMap()) in DrawUnderline()
131 void IFX_Edit::DrawEdit(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit, FX_C… in DrawEdit() argument
135 FX_BOOL bContinuous = pEdit->GetCharArray() == 0; in DrawEdit()
136 if (pEdit->GetCharSpace() > 0.0f) in DrawEdit()
139 FX_WORD SubWord = pEdit->GetPasswordChar(); in DrawEdit()
140 FX_FLOAT fFontSize = pEdit->GetFontSize(); in DrawEdit()
141 CPVT_WordRange wrSelect = pEdit->GetSelectWordRange(); in DrawEdit()
142 FX_INT32 nHorzScale = pEdit->GetHorzScale(); in DrawEdit()
[all …]
Dfxet_module.cpp23 void IFX_Edit::DelEdit(IFX_Edit* pEdit) in DelEdit() argument
25 ASSERT(pEdit != NULL); in DelEdit()
27 IPDF_VariableText::DelVariableText(pEdit->GetVariableText()); in DelEdit()
29 delete (CFX_Edit*)pEdit; in DelEdit()
Dfxet_edit.cpp14 CFX_Edit_Iterator::CFX_Edit_Iterator(CFX_Edit * pEdit,IPDF_VariableText_Iterator * pVTIterator) : in CFX_Edit_Iterator() argument
15 m_pEdit(pEdit), in CFX_Edit_Iterator()
551 CFXEU_InsertWord::CFXEU_InsertWord(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_… in CFXEU_InsertWord() argument
553 …: m_pEdit(pEdit), m_wpOld(wpOldPlace), m_wpNew(wpNewPlace), m_Word(word), m_nCharset(charset), m_W… in CFXEU_InsertWord()
585 CFXEU_InsertReturn::CFXEU_InsertReturn(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const C… in CFXEU_InsertReturn() argument
587 m_pEdit(pEdit), in CFXEU_InsertReturn()
626 CFXEU_Backspace::CFXEU_Backspace(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_Wo… in CFXEU_Backspace() argument
629 m_pEdit(pEdit), in CFXEU_Backspace()
673 CFXEU_Delete::CFXEU_Delete(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlac… in CFXEU_Delete() argument
676 m_pEdit(pEdit), in CFXEU_Delete()
[all …]
/external/pdfium/fpdfsdk/src/
Dfsdk_baseform.cpp1044 if (IFX_Edit * pEdit = IFX_Edit::NewEdit()) in ResetAppearance_ComboBox() local
1046 pEdit->EnableRefresh(FALSE); in ResetAppearance_ComboBox()
1054 pEdit->SetFontMap(&FontMap); in ResetAppearance_ComboBox()
1060 pEdit->SetPlateRect(rcEdit); in ResetAppearance_ComboBox()
1061 pEdit->SetAlignmentV(1); in ResetAppearance_ComboBox()
1065 pEdit->SetAutoFontSize(TRUE); in ResetAppearance_ComboBox()
1067 pEdit->SetFontSize(fFontSize); in ResetAppearance_ComboBox()
1069 pEdit->Initialize(); in ResetAppearance_ComboBox()
1072 pEdit->SetText(sValue); in ResetAppearance_ComboBox()
1078 pEdit->SetText(pField->GetValue().c_str()); in ResetAppearance_ComboBox()
[all …]
/external/pdfium/fpdfsdk/include/fxedit/
Dfx_edit.h178 static void DelEdit(IFX_Edit* pEdit);
395 static CFX_ByteString GetEditAppearanceStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset,
398 …static CFX_ByteString GetSelectAppearanceStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, …
399 …static void DrawEdit(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit,…
401 …Underline(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit, FX_COLORREF color,
403 …c void DrawRichEdit(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit,
405 static void GeneratePageObjects(CPDF_PageObjects* pPageObjects, IFX_Edit* pEdit,
407 static void GenerateRichPageObjects(CPDF_PageObjects* pPageObjects, IFX_Edit* pEdit,
409 static void GenerateUnderlineObjects(CPDF_PageObjects* pPageObjects, IFX_Edit* pEdit,
Dfxet_edit.h364 …CFXEU_InsertWord(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNew…
384 …CFXEU_InsertReturn(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpN…
403 …CFXEU_Backspace(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNewP…
425 …CFXEU_Delete(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNewPlac…
448 CFXEU_Clear(CFX_Edit * pEdit, const CPVT_WordRange & wrSel, const CFX_WideString & swText);
464 …CFXEU_ClearRich(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNewP…
488 …CFXEU_InsertText(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNew…
510 CFXEU_SetSecProps(CFX_Edit * pEdit, const CPVT_WordPlace & place, EDIT_PROPS_E ep,
533 CFXEU_SetWordProps(CFX_Edit * pEdit, const CPVT_WordPlace & place, EDIT_PROPS_E ep,
775 CFX_Edit_Iterator(CFX_Edit * pEdit,IPDF_VariableText_Iterator * pVTIterator);
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp460 CFX_ByteString CPWL_Utils::GetEditAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, const CPV… in GetEditAppStream() argument
463 return IFX_Edit::GetEditAppearanceStream(pEdit,ptOffset,pRange,bContinuous,SubWord); in GetEditAppStream()
466 CFX_ByteString CPWL_Utils::GetEditSelAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, in GetEditSelAppStream() argument
469 return IFX_Edit::GetSelectAppearanceStream(pEdit,ptOffset,pRange); in GetEditSelAppStream()
558 CFX_ByteString CPWL_Utils::GetSpellCheckAppStream(IFX_Edit* pEdit, IPWL_SpellCheck* pSpellCheck, co… in GetSpellCheckAppStream() argument
561 ASSERT(pEdit != NULL); in GetSpellCheckAppStream()
568 if (IFX_Edit_Iterator* pIterator = pEdit->GetIterator()) in GetSpellCheckAppStream()
643 if (IFX_Edit * pEdit = IFX_Edit::NewEdit()) in GetTextAppStream() local
645 pEdit->SetFontMap(pFontMap); in GetTextAppStream()
646 pEdit->SetPlateRect(rcBBox); in GetTextAppStream()
[all …]
DPWL_ListBox.cpp200 if (IFX_Edit* pEdit = m_pList->GetItemEdit(i)) in DrawThisAppearance() local
202 CPDF_Rect rcContent = pEdit->GetContentRect(); in DrawThisAppearance()
DPWL_Note.cpp1245 CPWL_Edit* pEdit = (CPWL_Edit*)pWnd; in RePosChildWnd() local
1246 pEdit->SetCaret(pEdit->GetCaret()); in RePosChildWnd()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h151 …static CFX_ByteString GetEditAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, const CPV…
153 static CFX_ByteString GetEditSelAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset,
155 static CFX_ByteString GetSpellCheckAppStream(IFX_Edit* pEdit, IPWL_SpellCheck* pSpellCheck,
180 …d DrawEditSpellCheck(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit,
DPWL_EditCtrl.h56 virtual void OnAddUndo(CPWL_Edit* pEdit) {} in OnAddUndo() argument
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_TextField.h56 virtual void OnAddUndo(CPWL_Edit* pEdit);
DFFL_ComboBox.h53 virtual void OnAddUndo(CPWL_Edit* pEdit);