Home
last modified time | relevance | path

Searched refs:pWnd (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/fpdfsdk/formfiller/
Dcffl_formfiller.cpp39 CPWL_Wnd* pWnd = it.second; in DestroyWindows() local
40 auto* pData = static_cast<CFFL_PrivateData*>(pWnd->GetAttachedData()); in DestroyWindows()
41 pWnd->InvalidateProvider(this); in DestroyWindows()
42 pWnd->Destroy(); in DestroyWindows()
43 delete pWnd; in DestroyWindows()
55 if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false)) in GetViewBBox() local
56 rcAnnot = PWLtoFFL(pWnd->GetWindowRect()); in GetViewBBox()
76 if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false)) { in OnDraw() local
79 pWnd->DrawAppearance(pDevice, mt); in OnDraw()
111 CPWL_Wnd* pWnd = GetPDFWindow(pPageView, true); in OnLButtonDown() local
[all …]
Dcffl_textfield.cpp71 auto* pWnd = new CPWL_Edit(); in NewPDFWindow() local
72 pWnd->AttachFFLData(this); in NewPDFWindow()
73 pWnd->Create(cp); in NewPDFWindow()
74 pWnd->SetFillerNotify(m_pFormFillEnv->GetInteractiveFormFiller()); in NewPDFWindow()
80 if (pWnd->HasFlag(PES_CHARARRAY)) { in NewPDFWindow()
81 pWnd->SetCharArray(nMaxLen); in NewPDFWindow()
82 pWnd->SetAlignFormatV(PEAV_CENTER); in NewPDFWindow()
84 pWnd->SetLimitChar(nMaxLen); in NewPDFWindow()
88 pWnd->SetText(swValue); in NewPDFWindow()
89 return pWnd; in NewPDFWindow()
[all …]
Dcffl_radiobutton.cpp22 auto* pWnd = new CPWL_RadioButton(); in NewPDFWindow() local
23 pWnd->Create(cp); in NewPDFWindow()
24 pWnd->SetCheck(m_pWidget->IsChecked()); in NewPDFWindow()
25 return pWnd; in NewPDFWindow()
57 CPWL_RadioButton* pWnd = GetRadioButton(pPageView, true); in OnChar() local
58 if (pWnd) in OnChar()
59 pWnd->SetCheck(true); in OnChar()
76 CPWL_RadioButton* pWnd = GetRadioButton(pPageView, true); in OnLButtonUp() local
77 if (pWnd) in OnLButtonUp()
78 pWnd->SetCheck(true); in OnLButtonUp()
[all …]
Dcffl_checkbox.cpp22 auto* pWnd = new CPWL_CheckBox(); in NewPDFWindow() local
23 pWnd->Create(cp); in NewPDFWindow()
24 pWnd->SetCheck(m_pWidget->IsChecked()); in NewPDFWindow()
25 return pWnd; in NewPDFWindow()
62 CPWL_CheckBox* pWnd = GetCheckBox(pPageView, true); in OnChar() local
63 if (pWnd) { in OnChar()
65 pWnd->SetCheck(!pWidget->IsChecked()); in OnChar()
84 CPWL_CheckBox* pWnd = GetCheckBox(pPageView, true); in OnLButtonUp() local
85 if (pWnd) { in OnLButtonUp()
87 pWnd->SetCheck(!pWidget->IsChecked()); in OnLButtonUp()
[all …]
Dcffl_combobox.cpp46 auto* pWnd = new CPWL_ComboBox(); in NewPDFWindow() local
47 pWnd->AttachFFLData(this); in NewPDFWindow()
48 pWnd->Create(cp); in NewPDFWindow()
52 pWnd->SetFillerNotify(pFormFiller); in NewPDFWindow()
62 pWnd->AddString(m_pWidget->GetOptionLabel(i)); in NewPDFWindow()
65 pWnd->SetSelect(nCurSel); in NewPDFWindow()
66 pWnd->SetText(swText); in NewPDFWindow()
67 return pWnd; in NewPDFWindow()
77 CPWL_ComboBox* pWnd = (CPWL_ComboBox*)GetPDFWindow(pPageView, false); in IsDataChanged() local
78 if (!pWnd) in IsDataChanged()
[all …]
Dcffl_listbox.cpp41 auto* pWnd = new CPWL_ListBox(); in NewPDFWindow() local
42 pWnd->AttachFFLData(this); in NewPDFWindow()
43 pWnd->Create(cp); in NewPDFWindow()
44 pWnd->SetFillerNotify(m_pFormFillEnv->GetInteractiveFormFiller()); in NewPDFWindow()
47 pWnd->AddString(m_pWidget->GetOptionLabel(i)); in NewPDFWindow()
49 if (pWnd->HasFlag(PLBS_MULTIPLESEL)) { in NewPDFWindow()
56 pWnd->SetCaret(i); in NewPDFWindow()
59 pWnd->Select(i); in NewPDFWindow()
66 pWnd->Select(i); in NewPDFWindow()
72 pWnd->SetTopVisibleIndex(m_pWidget->GetTopVisibleIndex()); in NewPDFWindow()
[all …]
Dcffl_pushbutton.cpp19 auto* pWnd = new CPWL_PushButton(); in NewPDFWindow() local
20 pWnd->Create(cp); in NewPDFWindow()
21 return pWnd; in NewPDFWindow()
Dcffl_interactiveformfiller.cpp913 CPWL_Wnd* pWnd = pFormFiller->ResetPDFWindow( in OnBeforeKeyStroke() local
915 if (!pWnd) in OnBeforeKeyStroke()
917 privateData = *static_cast<CFFL_PrivateData*>(pWnd->GetAttachedData()); in OnBeforeKeyStroke()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_wnd.cpp51 explicit CPWL_MsgControl(CPWL_Wnd* pWnd) : m_pCreatedWnd(pWnd) {} in CPWL_MsgControl() argument
54 bool IsWndCreated(const CPWL_Wnd* pWnd) const { in IsWndCreated()
55 return m_pCreatedWnd == pWnd; in IsWndCreated()
58 bool IsWndCaptureMouse(const CPWL_Wnd* pWnd) const { in IsWndCaptureMouse()
59 return pWnd && pdfium::ContainsValue(m_aMousePath, pWnd); in IsWndCaptureMouse()
62 bool IsMainCaptureKeyboard(const CPWL_Wnd* pWnd) const { in IsMainCaptureKeyboard()
63 return pWnd == m_pMainKeyboardWnd; in IsMainCaptureKeyboard()
66 bool IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const { in IsWndCaptureKeyboard()
67 return pWnd && pdfium::ContainsValue(m_aKeyboardPath, pWnd); in IsWndCaptureKeyboard()
70 void SetFocus(CPWL_Wnd* pWnd) { in SetFocus() argument
[all …]
Dcpwl_wnd.h280 bool IsWndCaptureMouse(const CPWL_Wnd* pWnd) const;
281 bool IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const;
303 void AddChild(CPWL_Wnd* pWnd);
304 void RemoveChild(CPWL_Wnd* pWnd);
/external/mdnsresponder/mDNSWindows/ControlPanel/
DControlPanel.cpp125 CWnd * pWnd; in OnRun() local
129 pWnd = (CWnd*) m_uiClass->CreateObject(); in OnRun()
131 if ( pWnd ) in OnRun()
135 if ( pWnd->IsKindOf( RUNTIME_CLASS( CPropertySheet ) ) ) in OnRun()
137 CPropertySheet * pSheet = (CPropertySheet*) pWnd; in OnRun()
145 check( pWnd->IsKindOf( RUNTIME_CLASS( CDialog ) ) ); in OnRun()
147 CDialog * pDialog = (CDialog*) pWnd; in OnRun()
152 delete pWnd; in OnRun()