chromium/third_party/pdfium/fxjs/xfa/cjx_layoutpseudomodel.cpp

// Copyright 2017 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 "fxjs/xfa/cjx_layoutpseudomodel.h"

#include <set>
#include <utility>

#include "core/fxcrt/containers/contains.h"
#include "core/fxcrt/fx_coordinates.h"
#include "fxjs/fxv8.h"
#include "fxjs/js_resources.h"
#include "fxjs/xfa/cfxjse_class.h"
#include "fxjs/xfa/cfxjse_engine.h"
#include "v8/include/cppgc/allocation.h"
#include "v8/include/v8-object.h"
#include "xfa/fxfa/cxfa_ffnotify.h"
#include "xfa/fxfa/layout/cxfa_contentlayoutitem.h"
#include "xfa/fxfa/layout/cxfa_layoutitem.h"
#include "xfa/fxfa/layout/cxfa_layoutprocessor.h"
#include "xfa/fxfa/layout/cxfa_traversestrategy_layoutitem.h"
#include "xfa/fxfa/layout/cxfa_viewlayoutitem.h"
#include "xfa/fxfa/parser/cscript_layoutpseudomodel.h"
#include "xfa/fxfa/parser/cxfa_arraynodelist.h"
#include "xfa/fxfa/parser/cxfa_document.h"
#include "xfa/fxfa/parser/cxfa_form.h"
#include "xfa/fxfa/parser/cxfa_measurement.h"
#include "xfa/fxfa/parser/cxfa_node.h"
#include "xfa/fxfa/parser/cxfa_nodeiteratortemplate.h"

const CJX_MethodSpec CJX_LayoutPseudoModel::MethodSpecs[] =;

CJX_LayoutPseudoModel::CJX_LayoutPseudoModel(CScript_LayoutPseudoModel* model)
    :{}

CJX_LayoutPseudoModel::~CJX_LayoutPseudoModel() = default;

bool CJX_LayoutPseudoModel::DynamicTypeIs(TypeTag eType) const {}

void CJX_LayoutPseudoModel::ready(v8::Isolate* pIsolate,
                                  v8::Local<v8::Value>* pValue,
                                  bool bSetting,
                                  XFA_Attribute eAttribute) {}

CJS_Result CJX_LayoutPseudoModel::DoHWXYInternal(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params,
    HWXY layoutModel) {}

CJS_Result CJX_LayoutPseudoModel::h(CFXJSE_Engine* runtime,
                                    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::w(CFXJSE_Engine* runtime,
                                    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::x(CFXJSE_Engine* runtime,
                                    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::y(CFXJSE_Engine* runtime,
                                    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::AllPageCount(CFXJSE_Engine* runtime) {}

CJS_Result CJX_LayoutPseudoModel::NumberedPageCount(CFXJSE_Engine* runtime) {}

CJS_Result CJX_LayoutPseudoModel::pageCount(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::pageSpan(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::page(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

std::vector<CXFA_Node*> CJX_LayoutPseudoModel::GetObjArray(
    CXFA_LayoutProcessor* pDocLayout,
    int32_t iPageNo,
    const WideString& wsType,
    bool bOnPageArea) {}

CJS_Result CJX_LayoutPseudoModel::pageContent(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::absPageCount(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::absPageCountInBatch(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::sheetCountInBatch(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::relayout(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::absPageSpan(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::absPageInBatch(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::sheetInBatch(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::sheet(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::relayoutPageArea(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::sheetCount(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::absPage(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params) {}

CJS_Result CJX_LayoutPseudoModel::PageInternals(
    CFXJSE_Engine* runtime,
    pdfium::span<v8::Local<v8::Value>> params,
    bool bAbsPage) {}