• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_digestmethods.h"
8 
9 #include "xfa/fxfa/parser/cxfa_digestmethods.h"
10 
CJX_DigestMethods(CXFA_DigestMethods * node)11 CJX_DigestMethods::CJX_DigestMethods(CXFA_DigestMethods* node)
12     : CJX_Node(node) {}
13 
14 CJX_DigestMethods::~CJX_DigestMethods() = default;
15 
use(CFXJSE_Value * pValue,bool bSetting,XFA_Attribute eAttribute)16 void CJX_DigestMethods::use(CFXJSE_Value* pValue,
17                             bool bSetting,
18                             XFA_Attribute eAttribute) {
19   Script_Attribute_String(pValue, bSetting, eAttribute);
20 }
21 
type(CFXJSE_Value * pValue,bool bSetting,XFA_Attribute eAttribute)22 void CJX_DigestMethods::type(CFXJSE_Value* pValue,
23                              bool bSetting,
24                              XFA_Attribute eAttribute) {
25   Script_Attribute_String(pValue, bSetting, eAttribute);
26 }
27 
usehref(CFXJSE_Value * pValue,bool bSetting,XFA_Attribute eAttribute)28 void CJX_DigestMethods::usehref(CFXJSE_Value* pValue,
29                                 bool bSetting,
30                                 XFA_Attribute eAttribute) {
31   Script_Attribute_String(pValue, bSetting, eAttribute);
32 }
33