Home | History | Annotate | Download | only in xfa
      1 // Copyright 2017 PDFium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
      6 
      7 #include "fxjs/xfa/cjx_contentarea.h"
      8 
      9 #include "xfa/fxfa/parser/cxfa_contentarea.h"
     10 
     11 CJX_ContentArea::CJX_ContentArea(CXFA_ContentArea* node)
     12     : CJX_Container(node) {}
     13 
     14 CJX_ContentArea::~CJX_ContentArea() = default;
     15 
     16 void CJX_ContentArea::x(CFXJSE_Value* pValue,
     17                         bool bSetting,
     18                         XFA_Attribute eAttribute) {
     19   Script_Attribute_String(pValue, bSetting, eAttribute);
     20 }
     21 
     22 void CJX_ContentArea::y(CFXJSE_Value* pValue,
     23                         bool bSetting,
     24                         XFA_Attribute eAttribute) {
     25   Script_Attribute_String(pValue, bSetting, eAttribute);
     26 }
     27 
     28 void CJX_ContentArea::use(CFXJSE_Value* pValue,
     29                           bool bSetting,
     30                           XFA_Attribute eAttribute) {
     31   Script_Attribute_String(pValue, bSetting, eAttribute);
     32 }
     33 
     34 void CJX_ContentArea::relevant(CFXJSE_Value* pValue,
     35                                bool bSetting,
     36                                XFA_Attribute eAttribute) {
     37   Script_Attribute_String(pValue, bSetting, eAttribute);
     38 }
     39 
     40 void CJX_ContentArea::usehref(CFXJSE_Value* pValue,
     41                               bool bSetting,
     42                               XFA_Attribute eAttribute) {
     43   Script_Attribute_String(pValue, bSetting, eAttribute);
     44 }
     45