Home
last modified time | relevance | path

Searched refs:CPDF_AAction (Results 1 – 23 of 23) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpdf_aaction.cpp36 static_assert(FX_ArraySize(g_sAATypes) == CPDF_AAction::NumberOfActions,
41 CPDF_AAction::CPDF_AAction(CPDF_Dictionary* pDict) : m_pDict(pDict) {} in CPDF_AAction() function in CPDF_AAction
43 CPDF_AAction::CPDF_AAction(const CPDF_AAction& that) = default;
45 CPDF_AAction::~CPDF_AAction() {} in ~CPDF_AAction()
47 bool CPDF_AAction::ActionExist(AActionType eType) const { in ActionExist()
51 CPDF_Action CPDF_AAction::GetAction(AActionType eType) const { in GetAction()
Dcpdf_aaction.h14 class CPDF_AAction {
41 explicit CPDF_AAction(CPDF_Dictionary* pDict);
42 CPDF_AAction(const CPDF_AAction& that);
43 ~CPDF_AAction();
Dcpdf_formcontrol.cpp255 CPDF_AAction CPDF_FormControl::GetAdditionalAction() { in GetAdditionalAction()
257 return CPDF_AAction(nullptr); in GetAdditionalAction()
260 return CPDF_AAction(m_pWidgetDict->GetDictFor("AA")); in GetAdditionalAction()
Dcpdf_formcontrol.h102 CPDF_AAction GetAdditionalAction();
Dcpdf_formfield.h126 CPDF_AAction GetAdditionalAction() const;
Dcpdf_formfield.cpp272 CPDF_AAction CPDF_FormField::GetAdditionalAction() const { in GetAdditionalAction()
274 return CPDF_AAction(pObj ? pObj->GetDict() : nullptr); in GetAdditionalAction()
/external/pdfium/fpdfsdk/
Dfsdk_actionhandler.cpp47 CPDF_AAction::AActionType type, in DoAction_FieldJavaScript()
65 enum CPDF_AAction::AActionType eType, in DoAction_Page()
73 enum CPDF_AAction::AActionType eType, in DoAction_Document()
82 CPDF_AAction::AActionType type, in DoAction_BookMark()
90 CPDF_AAction::AActionType type, in DoAction_Screen()
106 CPDF_AAction::AActionType type, in DoAction_Field()
188 CPDF_AAction::AActionType type, in ExecuteDocumentPageAction()
233 CPDF_AAction::AActionType type, in ExecuteFieldAction()
270 CPDF_AAction::AActionType type, in ExecuteScreenAction()
467 CPDF_AAction::AActionType type, in RunFieldJavaScript()
[all …]
Dfsdk_actionhandler.h32 enum CPDF_AAction::AActionType eType,
35 enum CPDF_AAction::AActionType eType,
39 CPDF_AAction::AActionType type,
42 CPDF_AAction::AActionType type,
48 CPDF_AAction::AActionType type,
53 CPDF_AAction::AActionType type,
63 CPDF_AAction::AActionType type,
67 CPDF_AAction::AActionType type,
73 CPDF_AAction::AActionType type,
88 CPDF_AAction::AActionType type,
[all …]
Dcpdfsdk_widget.cpp144 static XFA_EVENTTYPE GetXFAEventType(CPDF_AAction::AActionType eAAT, in GetXFAEventType()
149 case CPDF_AAction::CursorEnter: in GetXFAEventType()
152 case CPDF_AAction::CursorExit: in GetXFAEventType()
155 case CPDF_AAction::ButtonDown: in GetXFAEventType()
158 case CPDF_AAction::ButtonUp: in GetXFAEventType()
161 case CPDF_AAction::GetFocus: in GetXFAEventType()
164 case CPDF_AAction::LoseFocus: in GetXFAEventType()
167 case CPDF_AAction::PageOpen: in GetXFAEventType()
168 case CPDF_AAction::PageClose: in GetXFAEventType()
169 case CPDF_AAction::PageVisible: in GetXFAEventType()
[all …]
Dcpdfsdk_interform.cpp275 CPDF_AAction aAction = pField->GetAdditionalAction(); in OnCalculate()
276 if (!aAction.GetDict() || !aAction.ActionExist(CPDF_AAction::Calculate)) in OnCalculate()
279 CPDF_Action action = aAction.GetAction(CPDF_AAction::Calculate); in OnCalculate()
320 CPDF_AAction aAction = pFormField->GetAdditionalAction(); in OnFormat()
321 if (aAction.GetDict() && aAction.ActionExist(CPDF_AAction::Format)) { in OnFormat()
322 CPDF_Action action = aAction.GetAction(CPDF_AAction::Format); in OnFormat()
373 CPDF_AAction aAction = pFormField->GetAdditionalAction(); in OnKeyStrokeCommit()
374 if (!aAction.GetDict() || !aAction.ActionExist(CPDF_AAction::KeyStroke)) in OnKeyStrokeCommit()
377 CPDF_Action action = aAction.GetAction(CPDF_AAction::KeyStroke); in OnKeyStrokeCommit()
387 action, CPDF_AAction::KeyStroke, m_pFormFillEnv.Get(), pFormField, fa); in OnKeyStrokeCommit()
[all …]
Dcpdfsdk_baannot.h75 CPDF_AAction GetAAction() const;
76 void SetAAction(const CPDF_AAction& aa);
79 virtual CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT);
Dcpdfsdk_baannot.cpp328 CPDF_AAction CPDFSDK_BAAnnot::GetAAction() const { in GetAAction()
329 return CPDF_AAction(m_pAnnot->GetAnnotDict()->GetDictFor("AA")); in GetAAction()
332 void CPDFSDK_BAAnnot::SetAAction(const CPDF_AAction& aa) { in SetAAction()
341 CPDF_Action CPDFSDK_BAAnnot::GetAAction(CPDF_AAction::AActionType eAAT) { in GetAAction()
342 CPDF_AAction AAction = GetAAction(); in GetAAction()
346 if (eAAT == CPDF_AAction::ButtonUp) in GetAAction()
Dcpdfsdk_widget.h69 CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT) override;
117 bool OnAAction(CPDF_AAction::AActionType type,
Dfpdfformfill.cpp797 CPDF_AAction aa(pDict->GetDictFor("AA")); in FORM_DoDocumentAAction()
798 auto type = static_cast<CPDF_AAction::AActionType>(aaType); in FORM_DoDocumentAAction()
825 CPDF_AAction aa(pPageDict->GetDictFor("AA")); in FORM_DoPageAAction()
826 CPDF_AAction::AActionType type = aaType == FPDFPAGE_AACTION_OPEN in FORM_DoPageAAction()
827 ? CPDF_AAction::OpenPage in FORM_DoPageAAction()
828 : CPDF_AAction::ClosePage; in FORM_DoPageAAction()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_textfield.cpp158 CPDF_AAction::AActionType type, in GetActionData()
161 case CPDF_AAction::KeyStroke: in GetActionData()
173 case CPDF_AAction::Validate: in GetActionData()
178 case CPDF_AAction::LoseFocus: in GetActionData()
179 case CPDF_AAction::GetFocus: in GetActionData()
188 CPDF_AAction::AActionType type, in SetActionData()
191 case CPDF_AAction::KeyStroke: in SetActionData()
203 bool CFFL_TextField::IsActionDataChanged(CPDF_AAction::AActionType type, in IsActionDataChanged()
207 case CPDF_AAction::KeyStroke: in IsActionDataChanged()
Dcffl_combobox.cpp125 CPDF_AAction::AActionType type, in GetActionData()
128 case CPDF_AAction::KeyStroke: in GetActionData()
148 case CPDF_AAction::Validate: in GetActionData()
156 case CPDF_AAction::LoseFocus: in GetActionData()
157 case CPDF_AAction::GetFocus: in GetActionData()
166 CPDF_AAction::AActionType type, in SetActionData()
169 case CPDF_AAction::KeyStroke: in SetActionData()
183 bool CFFL_ComboBox::IsActionDataChanged(CPDF_AAction::AActionType type, in IsActionDataChanged()
187 case CPDF_AAction::KeyStroke: in IsActionDataChanged()
Dcffl_interactiveformfiller.cpp122 if (pWidget->GetAAction(CPDF_AAction::CursorEnter).GetDict()) { in OnMouseEnter()
132 pWidget->OnAAction(CPDF_AAction::CursorEnter, fa, pPageView); in OnMouseEnter()
155 if (pWidget->GetAAction(CPDF_AAction::CursorExit).GetDict()) { in OnMouseExit()
165 pWidget->OnAAction(CPDF_AAction::CursorExit, fa, pPageView); in OnMouseExit()
191 pWidget->GetAAction(CPDF_AAction::ButtonDown).GetDict()) { in OnLButtonDown()
201 pWidget->OnAAction(CPDF_AAction::ButtonDown, fa, pPageView); in OnLButtonDown()
267 if (!pWidget->GetAAction(CPDF_AAction::ButtonUp).GetDict()) in OnButtonUp()
279 pWidget->OnAAction(CPDF_AAction::ButtonUp, fa, pPageView); in OnButtonUp()
375 if (pWidget->GetAAction(CPDF_AAction::GetFocus).GetDict()) { in OnSetFocus()
391 pFormFiller->GetActionData(pPageView, CPDF_AAction::GetFocus, fa); in OnSetFocus()
[all …]
Dcffl_combobox.h35 CPDF_AAction::AActionType type,
38 CPDF_AAction::AActionType type,
40 bool IsActionDataChanged(CPDF_AAction::AActionType type,
Dcffl_textfield.h40 CPDF_AAction::AActionType type,
43 CPDF_AAction::AActionType type,
45 bool IsActionDataChanged(CPDF_AAction::AActionType type,
Dcffl_listbox.cpp136 CPDF_AAction::AActionType type, in GetActionData()
139 case CPDF_AAction::Validate: in GetActionData()
151 case CPDF_AAction::LoseFocus: in GetActionData()
152 case CPDF_AAction::GetFocus: in GetActionData()
Dcffl_formfiller.h92 CPDF_AAction::AActionType type,
95 CPDF_AAction::AActionType type,
97 virtual bool IsActionDataChanged(CPDF_AAction::AActionType type,
Dcffl_listbox.h29 CPDF_AAction::AActionType type,
Dcffl_formfiller.cpp526 CPDF_AAction::AActionType type, in GetActionData()
532 CPDF_AAction::AActionType type, in SetActionData()
535 bool CFFL_FormFiller::IsActionDataChanged(CPDF_AAction::AActionType type, in IsActionDataChanged()