#include "core/fpdfdoc/cpdf_apsettings.h"
#include <algorithm>
#include <utility>
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfdoc/cpdf_formcontrol.h"
CPDF_ApSettings::CPDF_ApSettings(RetainPtr<CPDF_Dictionary> pDict)
: … { … }
CPDF_ApSettings::CPDF_ApSettings(const CPDF_ApSettings& that) = default;
CPDF_ApSettings::~CPDF_ApSettings() = default;
bool CPDF_ApSettings::HasMKEntry(const ByteString& csEntry) const { … }
int CPDF_ApSettings::GetRotation() const { … }
CFX_Color::TypeAndARGB CPDF_ApSettings::GetColorARGB(
const ByteString& csEntry) const { … }
float CPDF_ApSettings::GetOriginalColorComponent(
int index,
const ByteString& csEntry) const { … }
CFX_Color CPDF_ApSettings::GetOriginalColor(const ByteString& csEntry) const { … }
WideString CPDF_ApSettings::GetCaption(const ByteString& csEntry) const { … }
RetainPtr<CPDF_Stream> CPDF_ApSettings::GetIcon(
const ByteString& csEntry) const { … }
CPDF_IconFit CPDF_ApSettings::GetIconFit() const { … }
int CPDF_ApSettings::GetTextPosition() const { … }