summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cscript_layoutpseudomodel.cpp
blob: 8714d54684eb13f2fcb3faebc4258f6836fb643a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// Copyright 2014 PDFium Authors. All rights reserved.
// 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/parser/cscript_layoutpseudomodel.h"

#include "fxjs/cfxjse_arguments.h"
#include "third_party/base/ptr_util.h"

CScript_LayoutPseudoModel::CScript_LayoutPseudoModel(CXFA_Document* pDocument)
    : CXFA_Object(pDocument,
                  XFA_ObjectType::Object,
                  XFA_Element::LayoutPseudoModel,
                  WideStringView(L"layoutPseudoModel"),
                  pdfium::MakeUnique<CJX_LayoutPseudoModel>(this)) {}

CScript_LayoutPseudoModel::~CScript_LayoutPseudoModel() {}

void CScript_LayoutPseudoModel::Ready(CFXJSE_Value* pValue,
                                      bool bSetting,
                                      XFA_ATTRIBUTE eAttribute) {
  JSLayoutPseudoModel()->Ready(pValue, bSetting, eAttribute);
}

void CScript_LayoutPseudoModel::H(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->H(pArguments);
}

void CScript_LayoutPseudoModel::W(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->W(pArguments);
}

void CScript_LayoutPseudoModel::X(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->X(pArguments);
}

void CScript_LayoutPseudoModel::Y(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->Y(pArguments);
}

void CScript_LayoutPseudoModel::PageCount(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->PageCount(pArguments);
}

void CScript_LayoutPseudoModel::PageSpan(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->PageSpan(pArguments);
}

void CScript_LayoutPseudoModel::Page(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->Page(pArguments);
}

void CScript_LayoutPseudoModel::PageContent(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->PageContent(pArguments);
}

void CScript_LayoutPseudoModel::AbsPageCount(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->AbsPageCount(pArguments);
}

void CScript_LayoutPseudoModel::AbsPageCountInBatch(
    CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->AbsPageCountInBatch(pArguments);
}

void CScript_LayoutPseudoModel::SheetCountInBatch(
    CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->SheetCountInBatch(pArguments);
}

void CScript_LayoutPseudoModel::Relayout(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->Relayout(pArguments);
}

void CScript_LayoutPseudoModel::AbsPageSpan(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->AbsPageSpan(pArguments);
}

void CScript_LayoutPseudoModel::AbsPageInBatch(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->AbsPageInBatch(pArguments);
}

void CScript_LayoutPseudoModel::SheetInBatch(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->SheetInBatch(pArguments);
}

void CScript_LayoutPseudoModel::Sheet(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->Sheet(pArguments);
}

void CScript_LayoutPseudoModel::RelayoutPageArea(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->RelayoutPageArea(pArguments);
}

void CScript_LayoutPseudoModel::SheetCount(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->SheetCount(pArguments);
}

void CScript_LayoutPseudoModel::AbsPage(CFXJSE_Arguments* pArguments) {
  JSLayoutPseudoModel()->AbsPage(pArguments);
}