chromium/third_party/pdfium/xfa/fxfa/parser/cxfa_xmllocale.cpp

// Copyright 2017 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/parser/cxfa_xmllocale.h"

#include <utility>

#include "core/fxcrt/cfx_read_only_span_stream.h"
#include "core/fxcrt/check.h"
#include "core/fxcrt/fx_codepage.h"
#include "core/fxcrt/xml/cfx_xmldocument.h"
#include "core/fxcrt/xml/cfx_xmlelement.h"
#include "core/fxcrt/xml/cfx_xmlparser.h"
#include "xfa/fxfa/parser/cxfa_document.h"
#include "xfa/fxfa/parser/cxfa_localemgr.h"
#include "xfa/fxfa/parser/cxfa_nodelocale.h"
#include "xfa/fxfa/parser/cxfa_timezoneprovider.h"
#include "xfa/fxfa/parser/xfa_utils.h"

namespace {

constexpr wchar_t kNumberSymbols[] =;
constexpr wchar_t kNumberSymbol[] =;
constexpr wchar_t kCurrencySymbols[] =;
constexpr wchar_t kCurrencySymbol[] =;

}  // namespace

// static
CXFA_XMLLocale* CXFA_XMLLocale::Create(cppgc::Heap* heap,
                                       pdfium::span<const uint8_t> data) {}

CXFA_XMLLocale::CXFA_XMLLocale(std::unique_ptr<CFX_XMLDocument> doc,
                               const CFX_XMLElement* locale)
    :{}

CXFA_XMLLocale::~CXFA_XMLLocale() = default;

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

WideString CXFA_XMLLocale::GetName() const {}

WideString CXFA_XMLLocale::GetDecimalSymbol() const {}

WideString CXFA_XMLLocale::GetGroupingSymbol() const {}

WideString CXFA_XMLLocale::GetPercentSymbol() const {}

WideString CXFA_XMLLocale::GetMinusSymbol() const {}

WideString CXFA_XMLLocale::GetCurrencySymbol() const {}

WideString CXFA_XMLLocale::GetDateTimeSymbols() const {}

WideString CXFA_XMLLocale::GetMonthName(int32_t nMonth, bool bAbbr) const {}

WideString CXFA_XMLLocale::GetDayName(int32_t nWeek, bool bAbbr) const {}

WideString CXFA_XMLLocale::GetMeridiemName(bool bAM) const {}

int CXFA_XMLLocale::GetTimeZoneInMinutes() const {}

WideString CXFA_XMLLocale::GetEraName(bool bAD) const {}

WideString CXFA_XMLLocale::GetCalendarSymbol(WideStringView symbol,
                                             size_t index,
                                             bool bAbbr) const {}

WideString CXFA_XMLLocale::GetDatePattern(DateTimeSubcategory eType) const {}

WideString CXFA_XMLLocale::GetTimePattern(DateTimeSubcategory eType) const {}

WideString CXFA_XMLLocale::GetNumPattern(NumSubcategory eType) const {}

WideString CXFA_XMLLocale::GetPattern(CFX_XMLElement* patterns,
                                      WideStringView bsTag,
                                      WideStringView wsName) const {}