Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/formfiller/
Dcffl_textfield.cpp87 CPWL_Edit* pWnd = new CPWL_Edit(); in NewPDFWindow() local
88 pWnd->AttachFFLData(this); in NewPDFWindow()
89 pWnd->Create(cp); in NewPDFWindow()
90 pWnd->SetFillerNotify(m_pFormFillEnv->GetInteractiveFormFiller()); in NewPDFWindow()
96 if (pWnd->HasFlag(PES_CHARARRAY)) { in NewPDFWindow()
97 pWnd->SetCharArray(nMaxLen); in NewPDFWindow()
98 pWnd->SetAlignFormatV(PEAV_CENTER); in NewPDFWindow()
100 pWnd->SetLimitChar(nMaxLen); in NewPDFWindow()
104 pWnd->SetText(swValue); in NewPDFWindow()
105 return pWnd; in NewPDFWindow()
[all …]
Dcffl_formfiller.cpp36 CPWL_Wnd* pWnd = it.second; in DestroyWindows() local
37 CFFL_PrivateData* pData = (CFFL_PrivateData*)pWnd->GetAttachedData(); in DestroyWindows()
38 pWnd->InvalidateProvider(this); in DestroyWindows()
39 pWnd->Destroy(); in DestroyWindows()
40 delete pWnd; in DestroyWindows()
48 if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false)) { in SetWindowRect() local
49 pWnd->Move(CFX_FloatRect(rcWindow), true, false); in SetWindowRect()
54 if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false)) { in GetWindowRect() local
55 return pWnd->GetWindowRect(); in GetWindowRect()
68 if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false)) { in GetViewBBox() local
[all …]
Dcffl_checkbox.cpp23 CPWL_CheckBox* pWnd = new CPWL_CheckBox(); in NewPDFWindow() local
24 pWnd->Create(cp); in NewPDFWindow()
25 pWnd->SetCheck(m_pWidget->IsChecked()); in NewPDFWindow()
26 return pWnd; in NewPDFWindow()
62 if (CPWL_CheckBox* pWnd = (CPWL_CheckBox*)GetPDFWindow(pPageView, true)) in OnChar() local
63 pWnd->SetCheck(!pWnd->IsChecked()); in OnChar()
80 if (CPWL_CheckBox* pWnd = (CPWL_CheckBox*)GetPDFWindow(pPageView, true)) { in OnLButtonUp() local
82 pWnd->SetCheck(!pWidget->IsChecked()); in OnLButtonUp()
93 CPWL_CheckBox* pWnd = (CPWL_CheckBox*)GetPDFWindow(pPageView, false); in IsDataChanged() local
94 return pWnd && pWnd->IsChecked() != m_pWidget->IsChecked(); in IsDataChanged()
[all …]
Dcffl_radiobutton.cpp23 CPWL_RadioButton* pWnd = new CPWL_RadioButton(); in NewPDFWindow() local
24 pWnd->Create(cp); in NewPDFWindow()
26 pWnd->SetCheck(m_pWidget->IsChecked()); in NewPDFWindow()
28 return pWnd; in NewPDFWindow()
61 if (CPWL_RadioButton* pWnd = in OnChar() local
63 pWnd->SetCheck(true); in OnChar()
79 if (CPWL_RadioButton* pWnd = in OnLButtonUp() local
81 pWnd->SetCheck(true); in OnLButtonUp()
91 if (CPWL_RadioButton* pWnd = in IsDataChanged() local
93 return pWnd->IsChecked() != m_pWidget->IsChecked(); in IsDataChanged()
[all …]
Dcffl_combobox.cpp54 CPWL_ComboBox* pWnd = new CPWL_ComboBox(); in NewPDFWindow() local
55 pWnd->AttachFFLData(this); in NewPDFWindow()
56 pWnd->Create(cp); in NewPDFWindow()
60 pWnd->SetFillerNotify(pFormFiller); in NewPDFWindow()
70 pWnd->AddString(m_pWidget->GetOptionLabel(i)); in NewPDFWindow()
73 pWnd->SetSelect(nCurSel); in NewPDFWindow()
74 pWnd->SetText(swText); in NewPDFWindow()
75 return pWnd; in NewPDFWindow()
85 CPWL_ComboBox* pWnd = (CPWL_ComboBox*)GetPDFWindow(pPageView, false); in IsDataChanged() local
86 if (!pWnd) in IsDataChanged()
[all …]
Dcffl_listbox.cpp51 CPWL_ListBox* pWnd = new CPWL_ListBox(); in NewPDFWindow() local
52 pWnd->AttachFFLData(this); in NewPDFWindow()
53 pWnd->Create(cp); in NewPDFWindow()
54 pWnd->SetFillerNotify(m_pFormFillEnv->GetInteractiveFormFiller()); in NewPDFWindow()
57 pWnd->AddString(m_pWidget->GetOptionLabel(i)); in NewPDFWindow()
59 if (pWnd->HasFlag(PLBS_MULTIPLESEL)) { in NewPDFWindow()
66 pWnd->SetCaret(i); in NewPDFWindow()
69 pWnd->Select(i); in NewPDFWindow()
76 pWnd->Select(i); in NewPDFWindow()
82 pWnd->SetTopVisibleIndex(m_pWidget->GetTopVisibleIndex()); in NewPDFWindow()
[all …]
Dcffl_pushbutton.cpp20 CPWL_PushButton* pWnd = new CPWL_PushButton(); in NewPDFWindow() local
21 pWnd->Create(cp); in NewPDFWindow()
23 return pWnd; in NewPDFWindow()
Dcffl_combobox.h49 void OnSetFocus(CPWL_Wnd* pWnd) override;
Dcffl_textfield.h55 void OnSetFocus(CPWL_Wnd* pWnd) override;
Dcffl_interactiveformfiller.cpp938 CPWL_Wnd* pWnd = pFormFiller->ResetPDFWindow( in OnBeforeKeyStroke() local
940 pData = (CFFL_PrivateData*)pWnd->GetAttachedData(); in OnBeforeKeyStroke()
/external/pdfium/fpdfsdk/pdfwindow/
DPWL_Wnd.cpp107 explicit CPWL_MsgControl(CPWL_Wnd* pWnd) { in CPWL_MsgControl() argument
108 m_pCreatedWnd = pWnd; in CPWL_MsgControl()
121 bool IsWndCreated(const CPWL_Wnd* pWnd) const { in IsWndCreated()
122 return m_pCreatedWnd == pWnd; in IsWndCreated()
125 bool IsMainCaptureMouse(const CPWL_Wnd* pWnd) const { in IsMainCaptureMouse()
126 return pWnd == m_pMainMouseWnd; in IsMainCaptureMouse()
129 bool IsWndCaptureMouse(const CPWL_Wnd* pWnd) const { in IsWndCaptureMouse()
130 return pWnd && pdfium::ContainsValue(m_aMousePath, pWnd); in IsWndCaptureMouse()
133 bool IsMainCaptureKeyboard(const CPWL_Wnd* pWnd) const { in IsMainCaptureKeyboard()
134 return pWnd == m_pMainKeyboardWnd; in IsMainCaptureKeyboard()
[all …]
DPWL_Wnd.h163 virtual void OnSetFocus(CPWL_Wnd* pWnd) = 0;
264 virtual void OnNotify(CPWL_Wnd* pWnd,
370 bool IsWndCaptureMouse(const CPWL_Wnd* pWnd) const;
371 bool IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const;
387 void AddChild(CPWL_Wnd* pWnd);
388 void RemoveChild(CPWL_Wnd* pWnd);
DPWL_ScrollBar.cpp755 void CPWL_ScrollBar::OnNotify(CPWL_Wnd* pWnd, in OnNotify() argument
759 CPWL_Wnd::OnNotify(pWnd, msg, wParam, lParam); in OnNotify()
763 if (pWnd == m_pMinButton) { in OnNotify()
767 if (pWnd == m_pMaxButton) { in OnNotify()
771 if (pWnd == m_pPosButton) { in OnNotify()
776 if (pWnd == m_pMinButton) { in OnNotify()
780 if (pWnd == m_pMaxButton) { in OnNotify()
784 if (pWnd == m_pPosButton) { in OnNotify()
789 if (pWnd == m_pMinButton) { in OnNotify()
793 if (pWnd == m_pMaxButton) { in OnNotify()
[all …]
DPWL_ListBox.cpp292 void CPWL_ListBox::OnNotify(CPWL_Wnd* pWnd, in OnNotify() argument
296 CPWL_Wnd::OnNotify(pWnd, msg, wParam, lParam); in OnNotify()
305 pChild->OnNotify(pWnd, PNM_SETSCROLLINFO, wParam, lParam); in OnNotify()
314 pChild->OnNotify(pWnd, PNM_SETSCROLLPOS, wParam, lParam); in OnNotify()
DPWL_EditCtrl.cpp61 void CPWL_EditCtrl::OnNotify(CPWL_Wnd* pWnd, in OnNotify() argument
65 CPWL_Wnd::OnNotify(pWnd, msg, wParam, lParam); in OnNotify()
72 pChild->OnNotify(pWnd, PNM_SETSCROLLINFO, wParam, lParam); in OnNotify()
81 pChild->OnNotify(pWnd, PNM_SETSCROLLPOS, wParam, lParam); in OnNotify()
DPWL_ComboBox.cpp581 void CPWL_ComboBox::OnNotify(CPWL_Wnd* pWnd, in OnNotify() argument
587 if (pWnd == m_pButton) { in OnNotify()
594 if (pWnd == m_pList) { in OnNotify()
604 CPWL_Wnd::OnNotify(pWnd, msg, wParam, lParam); in OnNotify()
DPWL_ComboBox.h59 void OnNotify(CPWL_Wnd* pWnd,
DPWL_ListBox.h67 void OnNotify(CPWL_Wnd* pWnd,
DPWL_EditCtrl.h82 void OnNotify(CPWL_Wnd* pWnd,
DPWL_ScrollBar.h132 void OnNotify(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()