| 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_SRC_FXFA_PARSER_XFA_LOCALE_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_LOCALE_H_ |
| 8 #define XFA_SRC_FXFA_PARSER_XFA_LOCALE_H_ | 8 #define XFA_FXFA_PARSER_XFA_LOCALE_H_ |
| 9 | 9 |
| 10 #include "xfa/src/fgas/localization/fgas_locale.h" | 10 #include "xfa/fgas/localization/fgas_locale.h" |
| 11 #include "xfa/src/fxfa/parser/xfa_object.h" | 11 #include "xfa/fxfa/parser/xfa_object.h" |
| 12 | 12 |
| 13 class CXFA_XMLLocale : public IFX_Locale { | 13 class CXFA_XMLLocale : public IFX_Locale { |
| 14 public: | 14 public: |
| 15 CXFA_XMLLocale(CXML_Element* pLocaleData); | 15 CXFA_XMLLocale(CXML_Element* pLocaleData); |
| 16 virtual void Release(); | 16 virtual void Release(); |
| 17 virtual CFX_WideString GetName(); | 17 virtual CFX_WideString GetName(); |
| 18 virtual void GetNumbericSymbol(FX_LOCALENUMSYMBOL eType, | 18 virtual void GetNumbericSymbol(FX_LOCALENUMSYMBOL eType, |
| 19 CFX_WideString& wsNumSymbol) const; | 19 CFX_WideString& wsNumSymbol) const; |
| 20 | 20 |
| 21 virtual void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const; | 21 virtual void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 const CFX_WideStringC& wsName) const; | 83 const CFX_WideStringC& wsName) const; |
| 84 CFX_WideString GetSymbol(XFA_ELEMENT eElement, | 84 CFX_WideString GetSymbol(XFA_ELEMENT eElement, |
| 85 const CFX_WideStringC& symbol_type) const; | 85 const CFX_WideStringC& symbol_type) const; |
| 86 CFX_WideString GetCalendarSymbol(XFA_ELEMENT eElement, | 86 CFX_WideString GetCalendarSymbol(XFA_ELEMENT eElement, |
| 87 int index, | 87 int index, |
| 88 FX_BOOL bAbbr) const; | 88 FX_BOOL bAbbr) const; |
| 89 | 89 |
| 90 CXFA_Node* m_pLocale; | 90 CXFA_Node* m_pLocale; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 #endif // XFA_SRC_FXFA_PARSER_XFA_LOCALE_H_ | 93 #endif // XFA_FXFA_PARSER_XFA_LOCALE_H_ |
| OLD | NEW |