#include "core/fpdfdoc/cpdf_viewerpreferences.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"
CPDF_ViewerPreferences::CPDF_ViewerPreferences(const CPDF_Document* pDoc)
: … { … }
CPDF_ViewerPreferences::~CPDF_ViewerPreferences() = default;
bool CPDF_ViewerPreferences::IsDirectionR2L() const { … }
bool CPDF_ViewerPreferences::PrintScaling() const { … }
int32_t CPDF_ViewerPreferences::NumCopies() const { … }
RetainPtr<const CPDF_Array> CPDF_ViewerPreferences::PrintPageRange() const { … }
ByteString CPDF_ViewerPreferences::Duplex() const { … }
std::optional<ByteString> CPDF_ViewerPreferences::GenericName(
const ByteString& bsKey) const { … }
RetainPtr<const CPDF_Dictionary> CPDF_ViewerPreferences::GetViewerPreferences()
const { … }