7#ifndef CORE_FPDFDOC_CPDF_ACTION_H_
8#define CORE_FPDFDOC_CPDF_ACTION_H_
12#include "core/fpdfdoc/cpdf_dest.h"
13#include "core/fxcrt/fx_string.h"
14#include "core/fxcrt/retain_ptr.h"
15#include "third_party/abseil-cpp/absl/types/optional.h"
50 bool HasDict()
const {
return !!m_pDict; }
51 const CPDF_Dictionary*
GetDict()
const {
return m_pDict.Get(); }
76 RetainPtr<
const CPDF_Dictionary>
const m_pDict;
bool ActionExist(AActionType eType) const
CPDF_AAction(const CPDF_AAction &that)
CPDF_AAction(RetainPtr< const CPDF_Dictionary > pDict)
CPDF_Action GetAction(AActionType eType) const
static bool IsUserInput(AActionType type)
CPDF_Action(RetainPtr< const CPDF_Dictionary > pDict)
size_t GetSubActionsCount() const
CPDF_Dest GetDest(CPDF_Document *pDoc) const
CPDF_Action GetSubAction(size_t iIndex) const
CPDF_Action(const CPDF_Action &that)
WideString GetFilePath() const
std::vector< RetainPtr< const CPDF_Object > > GetAllFields() const
ByteString GetURI(const CPDF_Document *pDoc) const
uint32_t GetFlags() const
bool GetHideStatus() const
const CPDF_Dictionary * GetDict() const
WideString GetJavaScript() const
absl::optional< WideString > MaybeGetJavaScript() const
ByteString GetNamedAction() const