Home | History | Annotate | Download | only in parser
      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 "xfa/fxfa/parser/cxfa_eranames.h"
      8 
      9 namespace {
     10 
     11 const CXFA_Node::PropertyData kPropertyData[] = {{XFA_Element::Era, 2, 0},
     12                                                  {XFA_Element::Unknown, 0, 0}};
     13 
     14 constexpr wchar_t kName[] = L"eraNames";
     15 
     16 }  // namespace
     17 
     18 CXFA_EraNames::CXFA_EraNames(CXFA_Document* doc, XFA_PacketType packet)
     19     : CXFA_Node(doc,
     20                 packet,
     21                 XFA_XDPPACKET_LocaleSet,
     22                 XFA_ObjectType::Node,
     23                 XFA_Element::EraNames,
     24                 kPropertyData,
     25                 nullptr,
     26                 kName) {}
     27 
     28 CXFA_EraNames::~CXFA_EraNames() {}
     29