Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfdoc/
Dcpdf_aaction.cpp39 static_assert(FX_ArraySize(kAATypes) == CPDF_AAction::kNumberOfActions - 1,
44 CPDF_AAction::CPDF_AAction(const CPDF_Dictionary* pDict) : m_pDict(pDict) {} in CPDF_AAction() function in CPDF_AAction
46 CPDF_AAction::CPDF_AAction(const CPDF_AAction& that) = default;
48 CPDF_AAction::~CPDF_AAction() = default;
50 bool CPDF_AAction::ActionExist(AActionType eType) const { in ActionExist()
54 CPDF_Action CPDF_AAction::GetAction(AActionType eType) const { in GetAction()
59 bool CPDF_AAction::IsUserClick(AActionType eType) { in IsUserClick()
Dcpdf_aaction.h15 class CPDF_AAction {
43 explicit CPDF_AAction(const CPDF_Dictionary* pDict);
44 CPDF_AAction(const CPDF_AAction& that);
45 ~CPDF_AAction();
Dcpdf_formcontrol.cpp185 CPDF_AAction CPDF_FormControl::GetAdditionalAction() const { in GetAdditionalAction()
187 return CPDF_AAction(nullptr); in GetAdditionalAction()
190 return CPDF_AAction(m_pWidgetDict->GetDictFor("AA")); in GetAdditionalAction()
Dcpdf_formcontrol.h91 CPDF_AAction GetAdditionalAction() const;
Dcpdf_formfield.h96 CPDF_AAction GetAdditionalAction() const;
Dcpdf_formfield.cpp264 CPDF_AAction CPDF_FormField::GetAdditionalAction() const { in GetAdditionalAction()
266 return CPDF_AAction(pObj ? pObj->GetDict() : nullptr); in GetAdditionalAction()
/external/pdfium/fpdfsdk/
Dcpdfsdk_actionhandler.cpp46 CPDF_AAction::AActionType type, in DoAction_FieldJavaScript()
64 enum CPDF_AAction::AActionType eType, in DoAction_Page()
72 enum CPDF_AAction::AActionType eType, in DoAction_Document()
80 CPDF_AAction::AActionType type, in DoAction_Field()
107 DoAction_NoJs(action, CPDF_AAction::AActionType::kDocumentOpen, in ExecuteDocumentOpenAction()
122 CPDF_AAction::AActionType type, in ExecuteDocumentPageAction()
165 CPDF_AAction::AActionType type, in ExecuteFieldAction()
202 CPDF_AAction::AActionType type, in DoAction_NoJs()
211 if (CPDF_AAction::IsUserClick(type)) in DoAction_NoJs()
221 if (CPDF_AAction::IsUserClick(type)) in DoAction_NoJs()
[all …]
Dcpdfsdk_widget.cpp131 static XFA_EVENTTYPE GetXFAEventType(CPDF_AAction::AActionType eAAT, in GetXFAEventType()
136 case CPDF_AAction::kCursorEnter: in GetXFAEventType()
139 case CPDF_AAction::kCursorExit: in GetXFAEventType()
142 case CPDF_AAction::kButtonDown: in GetXFAEventType()
145 case CPDF_AAction::kButtonUp: in GetXFAEventType()
148 case CPDF_AAction::kGetFocus: in GetXFAEventType()
151 case CPDF_AAction::kLoseFocus: in GetXFAEventType()
154 case CPDF_AAction::kPageOpen: in GetXFAEventType()
155 case CPDF_AAction::kPageClose: in GetXFAEventType()
156 case CPDF_AAction::kPageVisible: in GetXFAEventType()
[all …]
Dcpdfsdk_actionhandler.h32 enum CPDF_AAction::AActionType eType,
35 enum CPDF_AAction::AActionType eType,
38 CPDF_AAction::AActionType type,
43 CPDF_AAction::AActionType type,
59 CPDF_AAction::AActionType type,
63 CPDF_AAction::AActionType type,
70 CPDF_AAction::AActionType type,
73 CPDF_AAction::AActionType type,
80 CPDF_AAction::AActionType type,
Dcpdfsdk_interactiveform.cpp264 CPDF_AAction aAction = pField->GetAdditionalAction(); in OnCalculate()
265 if (!aAction.GetDict() || !aAction.ActionExist(CPDF_AAction::kCalculate)) in OnCalculate()
268 CPDF_Action action = aAction.GetAction(CPDF_AAction::kCalculate); in OnCalculate()
302 CPDF_AAction aAction = pFormField->GetAdditionalAction(); in OnFormat()
303 if (aAction.GetDict() && aAction.ActionExist(CPDF_AAction::kFormat)) { in OnFormat()
304 CPDF_Action action = aAction.GetAction(CPDF_AAction::kFormat); in OnFormat()
349 CPDF_AAction aAction = pFormField->GetAdditionalAction(); in OnKeyStrokeCommit()
350 if (!aAction.GetDict() || !aAction.ActionExist(CPDF_AAction::kKeyStroke)) in OnKeyStrokeCommit()
353 CPDF_Action action = aAction.GetAction(CPDF_AAction::kKeyStroke); in OnKeyStrokeCommit()
362 action, CPDF_AAction::kKeyStroke, m_pFormFillEnv.Get(), pFormField, &fa); in OnKeyStrokeCommit()
[all …]
Dcpdfsdk_baannot.cpp207 CPDF_AAction CPDFSDK_BAAnnot::GetAAction() const { in GetAAction()
208 return CPDF_AAction(GetAnnotDict()->GetDictFor("AA")); in GetAAction()
211 CPDF_Action CPDFSDK_BAAnnot::GetAAction(CPDF_AAction::AActionType eAAT) { in GetAAction()
212 CPDF_AAction AAction = GetAAction(); in GetAAction()
216 if (eAAT == CPDF_AAction::kButtonUp) in GetAAction()
Dfpdf_formfill.cpp145 static_assert(static_cast<int>(CPDF_AAction::kCloseDocument) ==
148 static_assert(static_cast<int>(CPDF_AAction::kSaveDocument) ==
151 static_assert(static_cast<int>(CPDF_AAction::kDocumentSaved) ==
154 static_assert(static_cast<int>(CPDF_AAction::kPrintDocument) ==
157 static_assert(static_cast<int>(CPDF_AAction::kDocumentPrinted) ==
677 CPDF_AAction aa(pDict->GetDictFor("AA")); in FORM_DoDocumentAAction()
678 auto type = static_cast<CPDF_AAction::AActionType>(aaType); in FORM_DoDocumentAAction()
704 CPDF_AAction aa(pPageDict->GetDictFor("AA")); in FORM_DoPageAAction()
705 CPDF_AAction::AActionType type = aaType == FPDFPAGE_AACTION_OPEN in FORM_DoPageAAction()
706 ? CPDF_AAction::kOpenPage in FORM_DoPageAAction()
[all …]
Dcpdfsdk_baannot.h36 virtual CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT);
65 CPDF_AAction GetAAction() const;
Dcpdfsdk_widget.h64 CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT) override;
105 bool OnAAction(CPDF_AAction::AActionType type,
/external/pdfium/fpdfsdk/formfiller/
Dcffl_textfield.cpp173 CPDF_AAction::AActionType type, in GetActionData()
176 case CPDF_AAction::kKeyStroke: in GetActionData()
188 case CPDF_AAction::kValidate: in GetActionData()
193 case CPDF_AAction::kLoseFocus: in GetActionData()
194 case CPDF_AAction::kGetFocus: in GetActionData()
203 CPDF_AAction::AActionType type, in SetActionData()
206 case CPDF_AAction::kKeyStroke: in SetActionData()
Dcffl_interactiveformfiller.cpp121 if (pWidget->GetAAction(CPDF_AAction::kCursorEnter).GetDict()) { in OnMouseEnter()
131 pWidget->OnAAction(CPDF_AAction::kCursorEnter, &fa, pPageView); in OnMouseEnter()
154 if (pWidget->GetAAction(CPDF_AAction::kCursorExit).GetDict()) { in OnMouseExit()
164 pWidget->OnAAction(CPDF_AAction::kCursorExit, &fa, pPageView); in OnMouseExit()
190 pWidget->GetAAction(CPDF_AAction::kButtonDown).GetDict()) { in OnLButtonDown()
200 pWidget->OnAAction(CPDF_AAction::kButtonDown, &fa, pPageView); in OnLButtonDown()
266 if (!pWidget->GetAAction(CPDF_AAction::kButtonUp).GetDict()) in OnButtonUp()
278 pWidget->OnAAction(CPDF_AAction::kButtonUp, &fa, pPageView); in OnButtonUp()
388 if (pWidget->GetAAction(CPDF_AAction::kGetFocus).GetDict()) { in OnSetFocus()
404 pFormFiller->GetActionData(pPageView, CPDF_AAction::kGetFocus, fa); in OnSetFocus()
[all …]
Dcffl_combobox.cpp124 CPDF_AAction::AActionType type, in GetActionData()
127 case CPDF_AAction::kKeyStroke: in GetActionData()
146 case CPDF_AAction::kValidate: in GetActionData()
153 case CPDF_AAction::kLoseFocus: in GetActionData()
154 case CPDF_AAction::kGetFocus: in GetActionData()
163 CPDF_AAction::AActionType type, in SetActionData()
166 case CPDF_AAction::kKeyStroke: in SetActionData()
Dcffl_listbox.cpp143 CPDF_AAction::AActionType type, in GetActionData()
146 case CPDF_AAction::kValidate: in GetActionData()
158 case CPDF_AAction::kLoseFocus: in GetActionData()
159 case CPDF_AAction::kGetFocus: in GetActionData()
Dcffl_textfield.h38 CPDF_AAction::AActionType type,
41 CPDF_AAction::AActionType type,
Dcffl_combobox.h40 CPDF_AAction::AActionType type,
43 CPDF_AAction::AActionType type,
Dcffl_formfiller.h96 CPDF_AAction::AActionType type,
99 CPDF_AAction::AActionType type,
Dcffl_listbox.h33 CPDF_AAction::AActionType type,
Dcffl_formfiller.cpp516 CPDF_AAction::AActionType type, in GetActionData()
522 CPDF_AAction::AActionType type, in SetActionData()