/external/pdfium/fpdfsdk/formfiller/ |
D | cffl_listbox.cpp | 27 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 …]
|
D | cffl_combobox.cpp | 37 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 …]
|
D | cffl_formfiller.cpp | 29 : 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 …]
|
D | cffl_checkbox.cpp | 24 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()
|
D | cffl_textfield.cpp | 31 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 …]
|
D | cffl_radiobutton.cpp | 24 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()
|
D | cffl_textobject.cpp | 19 m_pWidget->UpdateField(); // May invoke JS, invalidating |pRet|. in ResetPDFWindow() 36 pdfium::MakeUnique<CBA_FontMap>(m_pWidget.Get(), GetSystemHandler()); in MaybeCreateFontMap()
|
D | cffl_button.cpp | 26 ASSERT(m_pWidget); in OnMouseExit() 50 m_pWidget->GetPDFPage(); in OnLButtonUp()
|
D | cffl_formfiller.h | 140 CPDFSDK_Annot* GetSDKAnnot() { return m_pWidget.Get(); } in GetSDKAnnot() 156 UnownedPtr<CPDFSDK_Widget> m_pWidget; variable
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_rendercontext.cpp | 16 : 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()
|
D | cxfa_fwltheme.cpp | 83 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 …]
|
D | cxfa_ffpageview.h | 71 CXFA_FFWidget* GetWidget() const { return m_pWidget.Get(); } in GetWidget() 75 UnownedPtr<CXFA_FFWidget> const m_pWidget;
|
D | cxfa_rendercontext.h | 27 CXFA_FFWidget* m_pWidget; variable
|
/external/pdfium/xfa/fwl/ |
D | cfwl_monthcalendar.cpp | 185 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 …]
|
D | cfwl_timer.cpp | 15 CFWL_Timer::CFWL_Timer(CFWL_Widget* parent) : m_pWidget(parent) {} in CFWL_Timer() 20 const CFWL_App* pApp = m_pWidget->GetOwnerApp(); in StartTimer()
|
D | cfwl_caret.cpp | 82 param.m_pWidget = this; in DrawCaretBK() 102 CFWL_Caret* pCaret = static_cast<CFWL_Caret*>(m_pWidget.Get()); in Run()
|
D | cfwl_themepart.cpp | 10 : m_pWidget(nullptr), in CFWL_ThemePart()
|
D | cfwl_scrollbar.cpp | 112 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()
|
D | cfwl_timer.h | 25 UnownedPtr<CFWL_Widget> m_pWidget;
|
D | cfwl_form.cpp | 90 param.m_pWidget = this; in DrawWidget() 151 param.m_pWidget = this; in DrawBackground()
|
D | cfwl_combobox.cpp | 149 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()
|
D | cfwl_widget.cpp | 325 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()
|
D | cfwl_themepart.h | 86 CFWL_Widget* m_pWidget; variable
|
D | cfwl_listbox.cpp | 361 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()
|
D | cfwl_edit.cpp | 433 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()
|