Home
last modified time | relevance | path

Searched refs:CPDF_Action (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpdf_action_unittest.cpp58 CPDF_Action::Type expected_type; in TEST()
60 {"GoTo", CPDF_Action::Type::kGoTo}, in TEST()
61 {"GoToR", CPDF_Action::Type::kGoToR}, in TEST()
62 {"GoToE", CPDF_Action::Type::kGoToE}, in TEST()
63 {"Launch", CPDF_Action::Type::kLaunch}, in TEST()
64 {"Thread", CPDF_Action::Type::kThread}, in TEST()
65 {"URI", CPDF_Action::Type::kURI}, in TEST()
66 {"Sound", CPDF_Action::Type::kSound}, in TEST()
67 {"Movie", CPDF_Action::Type::kMovie}, in TEST()
68 {"Hide", CPDF_Action::Type::kHide}, in TEST()
[all …]
Dcpdf_action.cpp30 CPDF_Action::CPDF_Action(RetainPtr<const CPDF_Dictionary> pDict) in CPDF_Action() function in CPDF_Action
33 CPDF_Action::CPDF_Action(const CPDF_Action& that) = default;
35 CPDF_Action::~CPDF_Action() = default;
37 CPDF_Action::Type CPDF_Action::GetType() const { in GetType()
56 CPDF_Dest CPDF_Action::GetDest(CPDF_Document* pDoc) const { in GetDest()
64 WideString CPDF_Action::GetFilePath() const { in GetFilePath()
87 ByteString CPDF_Action::GetURI(const CPDF_Document* pDoc) const { in GetURI()
104 bool CPDF_Action::GetHideStatus() const { in GetHideStatus()
108 ByteString CPDF_Action::GetNamedAction() const { in GetNamedAction()
112 uint32_t CPDF_Action::GetFlags() const { in GetFlags()
[all …]
Dcpdf_action.h21 class CPDF_Action {
46 explicit CPDF_Action(RetainPtr<const CPDF_Dictionary> pDict);
47 CPDF_Action(const CPDF_Action& that);
48 ~CPDF_Action();
71 CPDF_Action GetSubAction(size_t iIndex) const;
Dcpdf_link.cpp30 CPDF_Action CPDF_Link::GetAction() { in GetAction()
31 return CPDF_Action(m_pDict->GetDictFor("A")); in GetAction()
Dcpdf_aaction.cpp58 CPDF_Action CPDF_AAction::GetAction(AActionType eType) const { in GetAction()
59 return CPDF_Action(m_pDict ? m_pDict->GetDictFor(kAATypes[eType]) : nullptr); in GetAction()
Dcpdf_bookmark.cpp54 CPDF_Action CPDF_Bookmark::GetAction() const { in GetAction()
55 return CPDF_Action(m_pDict ? m_pDict->GetDictFor("A") : nullptr); in GetAction()
Dcpdf_link.h26 CPDF_Action GetAction();
Dcpdf_bookmark.h29 CPDF_Action GetAction() const;
Dcpdf_aaction.h47 CPDF_Action GetAction(AActionType eType) const;
/external/pdfium/fpdfsdk/
Dcpdfsdk_formfillenvironment.h33 class CPDF_Action; variable
121 bool DoActionDocOpen(const CPDF_Action& action);
122 bool DoActionJavaScript(const CPDF_Action& JsAction, WideString csJSName);
123 bool DoActionPage(const CPDF_Action& action, CPDF_AAction::AActionType eType);
124 bool DoActionDocument(const CPDF_Action& action,
126 bool DoActionField(const CPDF_Action& action,
130 bool DoActionFieldJavaScript(const CPDF_Action& JsAction,
134 bool DoActionLink(const CPDF_Action& action,
138 void DoActionNoJs(const CPDF_Action& action, CPDF_AAction::AActionType type);
139 void DoActionGoTo(const CPDF_Action& action);
[all …]
Dcpdfsdk_formfillenvironment.cpp652 CPDF_Action action(ToDictionary(name_tree->LookupValueAndName(i, &name))); in ProcJavascriptAction()
675 DoActionDocOpen(CPDF_Action(std::move(pDict))); in ProcOpenAction()
834 bool CPDFSDK_FormFillEnvironment::DoActionDocOpen(const CPDF_Action& action) { in DoActionDocOpen()
840 const CPDF_Action& JsAction, in DoActionJavaScript()
842 if (JsAction.GetType() == CPDF_Action::Type::kJavaScript) { in DoActionJavaScript()
854 const CPDF_Action& JsAction, in DoActionFieldJavaScript()
859 JsAction.GetType() == CPDF_Action::Type::kJavaScript) { in DoActionFieldJavaScript()
869 bool CPDFSDK_FormFillEnvironment::DoActionLink(const CPDF_Action& action, in DoActionLink()
876 case CPDF_Action::Type::kGoTo: in DoActionLink()
879 case CPDF_Action::Type::kURI: in DoActionLink()
[all …]
Dfpdf_doc.cpp157 CPDF_Action action = cBookmark.GetAction(); in FPDFBookmark_GetDest()
177 CPDF_Action cAction(pdfium::WrapRetain(CPDFDictionaryFromFPDFAction(action))); in FPDFAction_GetType()
179 case CPDF_Action::Type::kGoTo: in FPDFAction_GetType()
181 case CPDF_Action::Type::kGoToR: in FPDFAction_GetType()
183 case CPDF_Action::Type::kGoToE: in FPDFAction_GetType()
185 case CPDF_Action::Type::kURI: in FPDFAction_GetType()
187 case CPDF_Action::Type::kLaunch: in FPDFAction_GetType()
205 CPDF_Action cAction(pdfium::WrapRetain(CPDFDictionaryFromFPDFAction(action))); in FPDFAction_GetDest()
217 CPDF_Action cAction(pdfium::WrapRetain(CPDFDictionaryFromFPDFAction(action))); in FPDFAction_GetFilePath()
235 CPDF_Action cAction(pdfium::WrapRetain(CPDFDictionaryFromFPDFAction(action))); in FPDFAction_GetURIPath()
[all …]
Dcpdfsdk_interactiveform.h67 bool DoAction_Hide(const CPDF_Action& action);
68 bool DoAction_SubmitForm(const CPDF_Action& action);
69 void DoAction_ResetForm(const CPDF_Action& action);
Dcpdfsdk_baannot.cpp206 CPDF_Action CPDFSDK_BAAnnot::GetAction() const { in GetAction()
207 return CPDF_Action(GetAnnotDict()->GetDictFor("A")); in GetAction()
214 CPDF_Action CPDFSDK_BAAnnot::GetAAction(CPDF_AAction::AActionType eAAT) { in GetAAction()
222 return CPDF_Action(nullptr); in GetAAction()
355 CPDF_Action action = GetAAction(CPDF_AAction::kKeyStroke); in OnKeyDown()
Dcpdfsdk_interactiveform.cpp270 CPDF_Action action = aAction.GetAction(CPDF_AAction::kCalculate); in OnCalculate()
306 CPDF_Action action = aAction.GetAction(CPDF_AAction::kFormat); in OnFormat()
355 CPDF_Action action = aAction.GetAction(CPDF_AAction::kKeyStroke); in OnKeyStrokeCommit()
374 CPDF_Action action = aAction.GetAction(CPDF_AAction::kValidate); in OnValidate()
387 bool CPDFSDK_InteractiveForm::DoAction_Hide(const CPDF_Action& action) { in DoAction_Hide()
417 bool CPDFSDK_InteractiveForm::DoAction_SubmitForm(const CPDF_Action& action) { in DoAction_SubmitForm()
492 void CPDFSDK_InteractiveForm::DoAction_ResetForm(const CPDF_Action& action) { in DoAction_ResetForm()
Dfpdf_javascript.cpp49 CPDF_Action action(std::move(obj)); in FPDFDoc_GetJavaScriptAction()
50 if (action.GetType() != CPDF_Action::Type::kJavaScript) in FPDFDoc_GetJavaScriptAction()
Dcpdfsdk_baannot.h53 virtual CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT);
76 CPDF_Action GetAction() const;
Dcpdfsdk_widget.cpp1051 CPDF_Action action = GetAAction(type); in OnAAction()
1052 if (action.GetType() != CPDF_Action::Type::kUnknown) { in OnAAction()
1086 CPDF_Action CPDFSDK_Widget::GetAAction(CPDF_AAction::AActionType eAAT) { in GetAAction()
1113 return CPDF_Action(nullptr); in GetAAction()
Dcpdfsdk_widget.h54 CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT) override;
Dfpdf_annot.cpp1246 CPDF_Action action = additional_action.GetAction(type); in FPDFAnnot_GetFormAdditionalActionJavaScript()