Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: xfa/fxfa/parser/xfa_locale.h

Issue 2089443002: Convert XFA_ELEMENT to an enum class (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: More unknown checks Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp ('k') | xfa/fxfa/parser/xfa_locale.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FXFA_PARSER_XFA_LOCALE_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_LOCALE_H_
8 #define XFA_FXFA_PARSER_XFA_LOCALE_H_ 8 #define XFA_FXFA_PARSER_XFA_LOCALE_H_
9 9
10 #include "xfa/fgas/localization/fgas_locale.h" 10 #include "xfa/fgas/localization/fgas_locale.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY eType, 81 void GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY eType,
82 CFX_WideString& wsPattern) const override; 82 CFX_WideString& wsPattern) const override;
83 void GetNumPattern(FX_LOCALENUMSUBCATEGORY eType, 83 void GetNumPattern(FX_LOCALENUMSUBCATEGORY eType,
84 CFX_WideString& wsPattern) const override; 84 CFX_WideString& wsPattern) const override;
85 85
86 protected: 86 protected:
87 ~CXFA_NodeLocale() override; 87 ~CXFA_NodeLocale() override;
88 88
89 CXFA_Node* GetNodeByName(CXFA_Node* pParent, 89 CXFA_Node* GetNodeByName(CXFA_Node* pParent,
90 const CFX_WideStringC& wsName) const; 90 const CFX_WideStringC& wsName) const;
91 CFX_WideString GetSymbol(XFA_ELEMENT eElement, 91 CFX_WideString GetSymbol(XFA_Element eElement,
92 const CFX_WideStringC& symbol_type) const; 92 const CFX_WideStringC& symbol_type) const;
93 CFX_WideString GetCalendarSymbol(XFA_ELEMENT eElement, 93 CFX_WideString GetCalendarSymbol(XFA_Element eElement,
94 int index, 94 int index,
95 FX_BOOL bAbbr) const; 95 FX_BOOL bAbbr) const;
96 96
97 CXFA_Node* m_pLocale; 97 CXFA_Node* m_pLocale;
98 }; 98 };
99 99
100 #endif // XFA_FXFA_PARSER_XFA_LOCALE_H_ 100 #endif // XFA_FXFA_PARSER_XFA_LOCALE_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp ('k') | xfa/fxfa/parser/xfa_locale.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698