OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |