#include "core/fpdfdoc/cpdf_action.h"
#include <array>
#include <iterator>
#include <utility>
#include "constants/stream_dict_common.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/fpdf_parser_utility.h"
#include "core/fpdfdoc/cpdf_filespec.h"
#include "core/fxcrt/stl_util.h"
namespace {
constexpr auto kActionTypeStrings = …;
}
CPDF_Action::CPDF_Action(RetainPtr<const CPDF_Dictionary> pDict)
: … { … }
CPDF_Action::CPDF_Action(const CPDF_Action& that) = default;
CPDF_Action::~CPDF_Action() = default;
CPDF_Action::Type CPDF_Action::GetType() const { … }
CPDF_Dest CPDF_Action::GetDest(CPDF_Document* pDoc) const { … }
WideString CPDF_Action::GetFilePath() const { … }
ByteString CPDF_Action::GetURI(const CPDF_Document* pDoc) const { … }
bool CPDF_Action::GetHideStatus() const { … }
ByteString CPDF_Action::GetNamedAction() const { … }
uint32_t CPDF_Action::GetFlags() const { … }
bool CPDF_Action::HasFields() const { … }
std::vector<RetainPtr<const CPDF_Object>> CPDF_Action::GetAllFields() const { … }
std::optional<WideString> CPDF_Action::MaybeGetJavaScript() const { … }
WideString CPDF_Action::GetJavaScript() const { … }
size_t CPDF_Action::GetSubActionsCount() const { … }
CPDF_Action CPDF_Action::GetSubAction(size_t iIndex) const { … }
RetainPtr<const CPDF_Object> CPDF_Action::GetJavaScriptObject() const { … }