/external/pdfium/core/fpdfdoc/ |
D | cpdf_action_unittest.cpp | 58 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 …]
|
D | cpdf_action.cpp | 30 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 …]
|
D | cpdf_action.h | 21 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;
|
D | cpdf_link.cpp | 30 CPDF_Action CPDF_Link::GetAction() { in GetAction() 31 return CPDF_Action(m_pDict->GetDictFor("A")); in GetAction()
|
D | cpdf_aaction.cpp | 58 CPDF_Action CPDF_AAction::GetAction(AActionType eType) const { in GetAction() 59 return CPDF_Action(m_pDict ? m_pDict->GetDictFor(kAATypes[eType]) : nullptr); in GetAction()
|
D | cpdf_bookmark.cpp | 54 CPDF_Action CPDF_Bookmark::GetAction() const { in GetAction() 55 return CPDF_Action(m_pDict ? m_pDict->GetDictFor("A") : nullptr); in GetAction()
|
D | cpdf_link.h | 26 CPDF_Action GetAction();
|
D | cpdf_bookmark.h | 29 CPDF_Action GetAction() const;
|
D | cpdf_aaction.h | 47 CPDF_Action GetAction(AActionType eType) const;
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_formfillenvironment.h | 33 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 …]
|
D | cpdfsdk_formfillenvironment.cpp | 652 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 …]
|
D | fpdf_doc.cpp | 157 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 …]
|
D | cpdfsdk_interactiveform.h | 67 bool DoAction_Hide(const CPDF_Action& action); 68 bool DoAction_SubmitForm(const CPDF_Action& action); 69 void DoAction_ResetForm(const CPDF_Action& action);
|
D | cpdfsdk_baannot.cpp | 206 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()
|
D | cpdfsdk_interactiveform.cpp | 270 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()
|
D | fpdf_javascript.cpp | 49 CPDF_Action action(std::move(obj)); in FPDFDoc_GetJavaScriptAction() 50 if (action.GetType() != CPDF_Action::Type::kJavaScript) in FPDFDoc_GetJavaScriptAction()
|
D | cpdfsdk_baannot.h | 53 virtual CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT); 76 CPDF_Action GetAction() const;
|
D | cpdfsdk_widget.cpp | 1051 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()
|
D | cpdfsdk_widget.h | 54 CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT) override;
|
D | fpdf_annot.cpp | 1246 CPDF_Action action = additional_action.GetAction(type); in FPDFAnnot_GetFormAdditionalActionJavaScript()
|