chromium/third_party/pdfium/core/fpdfdoc/cpdf_dest.cpp

// Copyright 2016 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "core/fpdfdoc/cpdf_dest.h"

#include <algorithm>
#include <iterator>
#include <utility>

#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/cpdf_number.h"
#include "core/fpdfdoc/cpdf_nametree.h"
#include "core/fxcrt/stl_util.h"

namespace {

// These arrays are indexed by the PDFDEST_VIEW_* constants.

constexpr auto kZoomModes =;

constexpr auto kZoomModeMaxParamCount =;

}  // namespace

CPDF_Dest::CPDF_Dest(RetainPtr<const CPDF_Array> pArray)
    :{}

CPDF_Dest::CPDF_Dest(const CPDF_Dest& that) = default;

CPDF_Dest::~CPDF_Dest() = default;

// static
CPDF_Dest CPDF_Dest::Create(CPDF_Document* pDoc,
                            RetainPtr<const CPDF_Object> pDest) {}

int CPDF_Dest::GetDestPageIndex(CPDF_Document* pDoc) const {}

std::vector<float> CPDF_Dest::GetScrollPositionArray() const {}

int CPDF_Dest::GetZoomMode() const {}

bool CPDF_Dest::GetXYZ(bool* pHasX,
                       bool* pHasY,
                       bool* pHasZoom,
                       float* pX,
                       float* pY,
                       float* pZoom) const {}

size_t CPDF_Dest::GetNumParams() const {}

float CPDF_Dest::GetParam(size_t index) const {}