Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/src/formfiller/
DFFL_ComboBox.cpp197 if (CPWL_Edit* pEdit = (CPWL_Edit*)*pComboBox) in GetActionData() local
199 fa.bFieldFull = pEdit->IsTextFull(); in GetActionData()
202 pEdit->GetSel(nSelStart, nSelEnd); in GetActionData()
205 fa.sValue = pEdit->GetText(); in GetActionData()
219 if (CPWL_Edit* pEdit = (CPWL_Edit*)*pComboBox) in GetActionData() local
221 fa.sValue = pEdit->GetText(); in GetActionData()
245 if (CPWL_Edit* pEdit = (CPWL_Edit*)*pComboBox) in SetActionData() local
247 pEdit->SetSel(fa.nSelStart, fa.nSelEnd); in SetActionData()
248 pEdit->ReplaceSel(fa.sChange); in SetActionData()
280 if (CPWL_Edit* pEdit = (CPWL_Edit*)*pComboBox) in SaveState() local
[all …]
DFFL_TextField.cpp13 CFFL_EditUndoItem::CFFL_EditUndoItem(CPWL_Edit* pEdit) : m_pEdit(pEdit) in CFFL_EditUndoItem() argument
216 if (CPWL_Edit * pEdit = (CPWL_Edit*)GetPDFWindow(pPageView, FALSE)) in IsDataChanged() local
217 return pEdit->GetText() != m_pWidget->GetValue(); in IsDataChanged()
279 if (CPWL_Edit * pEdit = (CPWL_Edit*)GetPDFWindow(pPageView, FALSE)) in SetActionData() local
281 pEdit->SetFocus(); in SetActionData()
282 pEdit->SetSel(fa.nSelStart, fa.nSelEnd); in SetActionData()
283 pEdit->ReplaceSel(fa.sChange); in SetActionData()
359 CPWL_Edit* pEdit = (CPWL_Edit*)pWnd; in OnSetFocus() local
360 pEdit->SetCharSet(134); in OnSetFocus()
361 pEdit->SetCodePage(936); 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_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_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_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()
568 CFXEU_InsertWord::CFXEU_InsertWord(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_… in CFXEU_InsertWord() argument
570 …: m_pEdit(pEdit), m_wpOld(wpOldPlace), m_wpNew(wpNewPlace), m_Word(word), m_nCharset(charset), m_W… in CFXEU_InsertWord()
602 CFXEU_InsertReturn::CFXEU_InsertReturn(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const C… in CFXEU_InsertReturn() argument
604 m_pEdit(pEdit), in CFXEU_InsertReturn()
643 CFXEU_Backspace::CFXEU_Backspace(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_Wo… in CFXEU_Backspace() argument
646 m_pEdit(pEdit), in CFXEU_Backspace()
690 CFXEU_Delete::CFXEU_Delete(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlac… in CFXEU_Delete() argument
693 m_pEdit(pEdit), in CFXEU_Delete()
[all …]
/external/pdfium/fpdfsdk/src/
Dfsdk_baseform.cpp1043 if (IFX_Edit * pEdit = IFX_Edit::NewEdit()) in ResetAppearance_ComboBox() local
1045 pEdit->EnableRefresh(FALSE); in ResetAppearance_ComboBox()
1053 pEdit->SetFontMap(&FontMap); in ResetAppearance_ComboBox()
1059 pEdit->SetPlateRect(rcEdit); in ResetAppearance_ComboBox()
1060 pEdit->SetAlignmentV(1); in ResetAppearance_ComboBox()
1064 pEdit->SetAutoFontSize(TRUE); in ResetAppearance_ComboBox()
1066 pEdit->SetFontSize(fFontSize); in ResetAppearance_ComboBox()
1068 pEdit->Initialize(); in ResetAppearance_ComboBox()
1071 pEdit->SetText(sValue); in ResetAppearance_ComboBox()
1077 pEdit->SetText((FX_LPCWSTR)pField->GetValue()); in ResetAppearance_ComboBox()
[all …]
/external/pdfium/fpdfsdk/include/fxedit/
Dfx_edit.h156 static void DelEdit(IFX_Edit* pEdit);
375 static CFX_ByteString GetEditAppearanceStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset,
378 …static CFX_ByteString GetSelectAppearanceStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, …
379 …static void DrawEdit(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit,…
381 …Underline(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit, FX_COLORREF color,
383 …c void DrawRichEdit(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit,
385 static void GeneratePageObjects(CPDF_PageObjects* pPageObjects, IFX_Edit* pEdit,
387 static void GenerateRichPageObjects(CPDF_PageObjects* pPageObjects, IFX_Edit* pEdit,
389 static void GenerateUnderlineObjects(CPDF_PageObjects* pPageObjects, IFX_Edit* pEdit,
Dfxet_edit.h368 …CFXEU_InsertWord(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNew…
388 …CFXEU_InsertReturn(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpN…
407 …CFXEU_Backspace(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNewP…
429 …CFXEU_Delete(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNewPlac…
452 CFXEU_Clear(CFX_Edit * pEdit, const CPVT_WordRange & wrSel, const CFX_WideString & swText);
468 …CFXEU_ClearRich(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNewP…
492 …CFXEU_InsertText(CFX_Edit * pEdit, const CPVT_WordPlace & wpOldPlace, const CPVT_WordPlace & wpNew…
514 CFXEU_SetSecProps(CFX_Edit * pEdit, const CPVT_WordPlace & place, EDIT_PROPS_E ep,
537 CFXEU_SetWordProps(CFX_Edit * pEdit, const CPVT_WordPlace & place, EDIT_PROPS_E ep,
780 CFX_Edit_Iterator(CFX_Edit * pEdit,IPDF_VariableText_Iterator * pVTIterator);
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_TextField.h21 CFFL_EditUndoItem(CPWL_Edit* pEdit);
71 virtual void OnAddUndo(CPWL_Edit* pEdit);
DFFL_ComboBox.h48 virtual void OnAddUndo(CPWL_Edit* pEdit);
/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()
647 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.cpp1247 CPWL_Edit* pEdit = (CPWL_Edit*)pWnd; in RePosChildWnd() local
1248 pEdit->SetCaret(pEdit->GetCaret()); in RePosChildWnd()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h143 …static CFX_ByteString GetEditAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, const CPV…
145 static CFX_ByteString GetEditSelAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset,
147 static CFX_ByteString GetSpellCheckAppStream(IFX_Edit* pEdit, IPWL_SpellCheck* pSpellCheck,
172 …d DrawEditSpellCheck(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, IFX_Edit* pEdit,
DPWL_EditCtrl.h50 virtual void OnAddUndo(CPWL_Edit* pEdit) {} in OnAddUndo() argument