chromium/third_party/pdfium/xfa/fxfa/cxfa_ffdocview.cpp

// Copyright 2014 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 "xfa/fxfa/cxfa_ffdocview.h"

#include <set>
#include <utility>

#include "core/fxcrt/check_op.h"
#include "core/fxcrt/containers/contains.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/stl_util.h"
#include "core/fxcrt/xml/cfx_xmlparser.h"
#include "fxjs/gc/container_trace.h"
#include "fxjs/xfa/cfxjse_engine.h"
#include "fxjs/xfa/cjx_object.h"
#include "xfa/fxfa/cxfa_ffapp.h"
#include "xfa/fxfa/cxfa_ffbarcode.h"
#include "xfa/fxfa/cxfa_ffcheckbutton.h"
#include "xfa/fxfa/cxfa_ffdoc.h"
#include "xfa/fxfa/cxfa_ffexclgroup.h"
#include "xfa/fxfa/cxfa_fffield.h"
#include "xfa/fxfa/cxfa_ffimage.h"
#include "xfa/fxfa/cxfa_ffimageedit.h"
#include "xfa/fxfa/cxfa_ffpageview.h"
#include "xfa/fxfa/cxfa_ffpushbutton.h"
#include "xfa/fxfa/cxfa_ffsignature.h"
#include "xfa/fxfa/cxfa_fftext.h"
#include "xfa/fxfa/cxfa_ffwidget.h"
#include "xfa/fxfa/cxfa_ffwidgethandler.h"
#include "xfa/fxfa/cxfa_fwladapterwidgetmgr.h"
#include "xfa/fxfa/cxfa_readynodeiterator.h"
#include "xfa/fxfa/cxfa_textprovider.h"
#include "xfa/fxfa/layout/cxfa_layoutprocessor.h"
#include "xfa/fxfa/parser/cxfa_acrobat.h"
#include "xfa/fxfa/parser/cxfa_binditems.h"
#include "xfa/fxfa/parser/cxfa_calculate.h"
#include "xfa/fxfa/parser/cxfa_pageset.h"
#include "xfa/fxfa/parser/cxfa_present.h"
#include "xfa/fxfa/parser/cxfa_subform.h"
#include "xfa/fxfa/parser/cxfa_validate.h"
#include "xfa/fxfa/parser/xfa_utils.h"

namespace {

bool IsValidXMLNameString(const WideString& str) {}

const XFA_AttributeValue kXFAEventActivityData[] =;

}  // namespace

const pdfium::span<const XFA_AttributeValue> kXFAEventActivity{};

CXFA_FFDocView::UpdateScope::UpdateScope(CXFA_FFDocView* pDocView)
    :{}

CXFA_FFDocView::UpdateScope::~UpdateScope() {}

CXFA_FFDocView::CXFA_FFDocView(CXFA_FFDoc* pDoc) :{}

CXFA_FFDocView::~CXFA_FFDocView() = default;

void CXFA_FFDocView::Trace(cppgc::Visitor* visitor) const {}

void CXFA_FFDocView::InitLayout(CXFA_Node* pNode) {}

int32_t CXFA_FFDocView::StartLayout() {}

int32_t CXFA_FFDocView::DoLayout() {}

void CXFA_FFDocView::StopLayout() {}

void CXFA_FFDocView::AddNullTestMsg(const WideString& msg) {}

void CXFA_FFDocView::ShowNullTestMsg() {}

void CXFA_FFDocView::UpdateDocView() {}

void CXFA_FFDocView::UpdateUIDisplay(CXFA_Node* pNode, CXFA_FFWidget* pExcept) {}

int32_t CXFA_FFDocView::CountPageViews() const {}

CXFA_FFPageView* CXFA_FFDocView::GetPageView(int32_t nIndex) const {}

CXFA_LayoutProcessor* CXFA_FFDocView::GetLayoutProcessor() const {}

bool CXFA_FFDocView::ResetSingleNodeData(CXFA_Node* pNode) {}

void CXFA_FFDocView::ResetNode(CXFA_Node* pNode) {}

CXFA_FFWidget* CXFA_FFDocView::GetWidgetForNode(CXFA_Node* node) {}

CXFA_FFWidgetHandler* CXFA_FFDocView::GetWidgetHandler() {}

bool CXFA_FFDocView::SetFocus(CXFA_FFWidget* pNewFocus) {}

void CXFA_FFDocView::SetFocusNode(CXFA_Node* node) {}

void CXFA_FFDocView::DeleteLayoutItem(CXFA_FFWidget* pWidget) {}

static XFA_EventError XFA_ProcessEvent(CXFA_FFDocView* pDocView,
                                       CXFA_Node* pNode,
                                       CXFA_EventParam* pParam) {}

XFA_EventError CXFA_FFDocView::ExecEventActivityByDeepFirst(
    CXFA_Node* pFormNode,
    XFA_EVENTTYPE eEventType,
    bool bIsFormReady,
    bool bRecursive) {}

CXFA_FFWidget* CXFA_FFDocView::GetWidgetByName(const WideString& wsName,
                                               CXFA_FFWidget* pRefWidget) {}

void CXFA_FFDocView::OnPageViewEvent(CXFA_ViewLayoutItem* pSender,
                                     CXFA_FFDoc::PageViewEvent eEvent) {}

void CXFA_FFDocView::InvalidateRect(CXFA_FFPageView* pPageView,
                                    const CFX_RectF& rtInvalidate) {}

bool CXFA_FFDocView::RunLayout() {}

void CXFA_FFDocView::RunSubformIndexChange() {}

void CXFA_FFDocView::AddNewFormNode(CXFA_Node* pNode) {}

void CXFA_FFDocView::AddIndexChangedSubform(CXFA_Subform* pNode) {}

void CXFA_FFDocView::RunDocClose() {}

void CXFA_FFDocView::AddCalculateNode(CXFA_Node* node) {}

void CXFA_FFDocView::AddCalculateNodeNotify(CXFA_Node* pNodeChange) {}

size_t CXFA_FFDocView::RunCalculateRecursive(size_t index) {}

XFA_EventError CXFA_FFDocView::RunCalculateWidgets() {}

void CXFA_FFDocView::AddValidateNode(CXFA_Node* node) {}

void CXFA_FFDocView::InitCalculate(CXFA_Node* pNode) {}

void CXFA_FFDocView::ProcessValueChanged(CXFA_Node* node) {}

bool CXFA_FFDocView::InitValidate(CXFA_Node* pNode) {}

bool CXFA_FFDocView::RunValidate() {}

bool CXFA_FFDocView::RunEventLayoutReady() {}

void CXFA_FFDocView::RunBindItems() {}

void CXFA_FFDocView::SetChangeMark() {}

CXFA_Node* CXFA_FFDocView::GetRootSubform() {}