Home
last modified time | relevance | path

Searched refs:m_pWidget (Results 1 – 25 of 33) sorted by relevance

12

/external/pdfium/fpdfsdk/formfiller/
Dcffl_listbox.cpp27 uint32_t dwFieldFlag = m_pWidget->GetFieldFlags(); in GetCreateParam()
46 for (int32_t i = 0, sz = m_pWidget->CountOptions(); i < sz; i++) in NewPDFWindow()
47 pWnd->AddString(m_pWidget->GetOptionLabel(i)); in NewPDFWindow()
53 for (int32_t i = 0, sz = m_pWidget->CountOptions(); i < sz; i++) { in NewPDFWindow()
54 if (m_pWidget->IsOptionSelected(i)) { in NewPDFWindow()
64 for (int i = 0, sz = m_pWidget->CountOptions(); i < sz; i++) { in NewPDFWindow()
65 if (m_pWidget->IsOptionSelected(i)) { in NewPDFWindow()
72 pWnd->SetTopVisibleIndex(m_pWidget->GetTopVisibleIndex()); in NewPDFWindow()
88 if (m_pWidget->GetFieldFlags() & FIELDFLAG_MULTISELECT) { in IsDataChanged()
101 return pListBox->GetCurSel() != m_pWidget->GetSelectedIndex(0); in IsDataChanged()
[all …]
Dcffl_combobox.cpp37 if (m_pWidget->GetFieldFlags() & FIELDFLAG_EDIT) in GetCreateParam()
54 int32_t nCurSel = m_pWidget->GetSelectedIndex(0); in NewPDFWindow()
57 swText = m_pWidget->GetValue(); in NewPDFWindow()
59 swText = m_pWidget->GetOptionLabel(nCurSel); in NewPDFWindow()
61 for (int32_t i = 0, sz = m_pWidget->CountOptions(); i < sz; i++) { in NewPDFWindow()
62 pWnd->AddString(m_pWidget->GetOptionLabel(i)); in NewPDFWindow()
82 if (!(m_pWidget->GetFieldFlags() & FIELDFLAG_EDIT)) in IsDataChanged()
83 return nCurSel != m_pWidget->GetSelectedIndex(0); in IsDataChanged()
86 return nCurSel != m_pWidget->GetSelectedIndex(0); in IsDataChanged()
88 return pWnd->GetText() != m_pWidget->GetValue(); in IsDataChanged()
[all …]
Dcffl_formfiller.cpp29 : m_pFormFillEnv(pFormFillEnv), m_pWidget(pWidget), m_bValid(false) { in CFFL_FormFiller()
54 CFX_FloatRect rcAnnot = m_pWidget->GetRect(); in GetViewBBox()
104 ASSERT(m_pWidget); in OnMouseExit()
270 switch (m_pWidget->GetFieldType()) { in KillFocusForAnnot()
294 uint32_t dwFieldFlag = m_pWidget->GetFieldFlags(); in GetCreateParam()
299 if (m_pWidget->GetFillColor(color)) in GetCreateParam()
301 if (m_pWidget->GetBorderColor(color)) in GetCreateParam()
306 if (m_pWidget->GetTextColor(color)) in GetCreateParam()
309 cp.fFontSize = m_pWidget->GetFontSize(); in GetCreateParam()
310 cp.dwBorderWidth = m_pWidget->GetBorderWidth(); in GetCreateParam()
[all …]
Dcffl_checkbox.cpp24 pWnd->SetCheck(m_pWidget->IsChecked()); in NewPDFWindow()
48 CPDFSDK_Annot::ObservedPtr pObserved(m_pWidget.Get()); in OnChar()
52 m_pWidget = nullptr; in OnChar()
56 m_pWidget = nullptr; in OnChar()
95 return pWnd && pWnd->IsChecked() != m_pWidget->IsChecked(); in IsDataChanged()
105 CPDF_FormField* pField = m_pWidget->GetFormField(); in SaveData()
114 CPDFSDK_Widget::ObservedPtr observed_widget(m_pWidget.Get()); in SaveData()
117 m_pWidget->SetCheck(bNewChecked, false); in SaveData()
120 m_pWidget->UpdateField(); in SaveData()
Dcffl_textfield.cpp31 int nFlags = m_pWidget->GetFieldFlags(); in GetCreateParam()
53 switch (m_pWidget->GetAlignment()) { in GetCreateParam()
76 int32_t nMaxLen = m_pWidget->GetMaxLen(); in NewPDFWindow()
77 WideString swValue = m_pWidget->GetValue(); in NewPDFWindow()
97 if (m_pWidget->GetFieldFlags() & FIELDFLAG_MULTILINE) in OnChar()
131 return pEdit && pEdit->GetText() != m_pWidget->GetValue(); in IsDataChanged()
139 WideString sOldValue = m_pWidget->GetValue(); in SaveData()
142 CPDFSDK_Widget::ObservedPtr observed_widget(m_pWidget.Get()); in SaveData()
145 m_pWidget->SetValue(sNewValue, false); in SaveData()
148 m_pWidget->ResetFieldAppearance(true); in SaveData()
[all …]
Dcffl_radiobutton.cpp24 pWnd->SetCheck(m_pWidget->IsChecked()); in NewPDFWindow()
49 CPDFSDK_Annot::ObservedPtr pObserved(m_pWidget.Get()); in OnChar()
85 return pWnd && pWnd->IsChecked() != m_pWidget->IsChecked(); in IsDataChanged()
96 CPDF_FormField* pField = m_pWidget->GetFormField(); in SaveData()
105 CPDFSDK_Widget::ObservedPtr observed_widget(m_pWidget.Get()); in SaveData()
108 m_pWidget->SetCheck(bNewChecked, false); in SaveData()
111 m_pWidget->UpdateField(); in SaveData()
Dcffl_textobject.cpp19 m_pWidget->UpdateField(); // May invoke JS, invalidating |pRet|. in ResetPDFWindow()
36 pdfium::MakeUnique<CBA_FontMap>(m_pWidget.Get(), GetSystemHandler()); in MaybeCreateFontMap()
Dcffl_button.cpp26 ASSERT(m_pWidget); in OnMouseExit()
50 m_pWidget->GetPDFPage(); in OnLButtonUp()
Dcffl_formfiller.h140 CPDFSDK_Annot* GetSDKAnnot() { return m_pWidget.Get(); } in GetSDKAnnot()
156 UnownedPtr<CPDFSDK_Widget> m_pWidget; variable
/external/pdfium/xfa/fxfa/
Dcxfa_rendercontext.cpp16 : m_pWidget(nullptr), m_matrix(matrix), m_rtClipRect(clipRect) { in CXFA_RenderContext()
22 m_pWidget = m_pWidgetIterator->MoveToNext(); in CXFA_RenderContext()
28 while (m_pWidget) { in DoRender()
29 CFX_RectF rtWidgetBox = m_pWidget->GetBBox(XFA_WidgetStatus_Visible); in DoRender()
33 m_pWidget->RenderWidget(gs, m_matrix, XFA_WidgetStatus_Highlight); in DoRender()
35 m_pWidget = m_pWidgetIterator->MoveToNext(); in DoRender()
Dcxfa_fwltheme.cpp83 GetTheme(pParams->m_pWidget)->DrawBackground(pParams); in DrawBackground()
90 if (pParams->m_pWidget->GetClassID() == FWL_Type::MonthCalendar) { in DrawText()
91 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawText()
124 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawText()
151 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget); in GetUIMargin()
185 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget)) in GetFontSize()
192 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget)) in GetFont()
194 return GetTheme(pThemePart->m_pWidget)->GetFont(); in GetFont()
198 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget)) in GetLineHeight()
208 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart->m_pWidget)) in GetTextColor()
[all …]
Dcxfa_ffpageview.h71 CXFA_FFWidget* GetWidget() const { return m_pWidget.Get(); } in GetWidget()
75 UnownedPtr<CXFA_FFWidget> const m_pWidget;
Dcxfa_rendercontext.h27 CXFA_FFWidget* m_pWidget; variable
/external/pdfium/xfa/fwl/
Dcfwl_monthcalendar.cpp185 params.m_pWidget = this; in DrawBackground()
199 params.m_pWidget = this; in DrawHeadBK()
213 params.m_pWidget = this; in DrawLButton()
227 params.m_pWidget = this; in DrawRButton()
241 textParam.m_pWidget = this; in DrawCaption()
261 params.m_pWidget = this; in DrawSeperator()
275 params.m_pWidget = this; in DrawDatesInBK()
305 params.m_pWidget = this; in DrawWeek()
331 params.m_pWidget = this; in DrawToday()
353 params.m_pWidget = this; in DrawDatesIn()
[all …]
Dcfwl_timer.cpp15 CFWL_Timer::CFWL_Timer(CFWL_Widget* parent) : m_pWidget(parent) {} in CFWL_Timer()
20 const CFWL_App* pApp = m_pWidget->GetOwnerApp(); in StartTimer()
Dcfwl_caret.cpp82 param.m_pWidget = this; in DrawCaretBK()
102 CFWL_Caret* pCaret = static_cast<CFWL_Caret*>(m_pWidget.Get()); in Run()
Dcfwl_themepart.cpp10 : m_pWidget(nullptr), in CFWL_ThemePart()
Dcfwl_scrollbar.cpp112 param.m_pWidget = this; in DrawTrack()
128 param.m_pWidget = this; in DrawArrowBtn()
144 param.m_pWidget = this; in DrawThumb()
488 CFWL_ScrollBar* pButton = static_cast<CFWL_ScrollBar*>(m_pWidget.Get()); in Run()
Dcfwl_timer.h25 UnownedPtr<CFWL_Widget> m_pWidget;
Dcfwl_form.cpp90 param.m_pWidget = this; in DrawWidget()
151 param.m_pWidget = this; in DrawBackground()
Dcfwl_combobox.cpp149 param.m_pWidget = this; in DrawWidget()
172 theme_text.m_pWidget = this; in DrawWidget()
189 param.m_pWidget = this; in DrawWidget()
296 param.m_pWidget = this; in DrawStretchHandler()
628 param.m_pWidget = this; in DisForm_DrawWidget()
678 part.m_pWidget = this; in DisForm_Layout()
Dcfwl_widget.cpp325 calPart.m_pWidget = this; in CalcTextSize()
345 calPart.m_pWidget = this; in CalcTextRect()
529 param.m_pWidget = this; in DrawBackground()
543 param.m_pWidget = this; in DrawBorder()
Dcfwl_themepart.h86 CFWL_Widget* m_pWidget; variable
Dcfwl_listbox.cpp361 param.m_pWidget = this; in DrawBkground()
427 bg_param.m_pWidget = this; in DrawItem()
455 textParam.m_pWidget = this; in DrawItem()
477 part.m_pWidget = this; in CalcSize()
617 part.m_pWidget = this; in CalcItemHeight()
Dcfwl_edit.cpp433 param.m_pWidget = this; in DrawTextBk()
498 param.m_pWidget = this; in DrawContent()
526 param.m_pWidget = this; in DrawContent()
628 part.m_pWidget = this; in UpdateEditParams()
709 part.m_pWidget = this; in UpdateVAlignment()
848 part.m_pWidget = this; in Layout()
853 part.m_pWidget = m_pOuter; in Layout()

12