| 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 _FXFA_LOCALE_H | 7 #ifndef XFA_SRC_FXFA_SRC_PARSER_XFA_LOCALE_H_ |
| 8 #define _FXFA_LOCALE_H | 8 #define XFA_SRC_FXFA_SRC_PARSER_XFA_LOCALE_H_ |
| 9 |
| 9 class CXFA_XMLLocale : public IFX_Locale { | 10 class CXFA_XMLLocale : public IFX_Locale { |
| 10 public: | 11 public: |
| 11 CXFA_XMLLocale(CXML_Element* pLocaleData); | 12 CXFA_XMLLocale(CXML_Element* pLocaleData); |
| 12 virtual void Release(); | 13 virtual void Release(); |
| 13 virtual CFX_WideString GetName(); | 14 virtual CFX_WideString GetName(); |
| 14 virtual void GetNumbericSymbol(FX_LOCALENUMSYMBOL eType, | 15 virtual void GetNumbericSymbol(FX_LOCALENUMSYMBOL eType, |
| 15 CFX_WideString& wsNumSymbol) const; | 16 CFX_WideString& wsNumSymbol) const; |
| 16 | 17 |
| 17 virtual void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const; | 18 virtual void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const; |
| 18 virtual void GetMonthName(int32_t nMonth, | 19 virtual void GetMonthName(int32_t nMonth, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 CXFA_Node* GetNodeByName(CXFA_Node* pParent, | 79 CXFA_Node* GetNodeByName(CXFA_Node* pParent, |
| 79 const CFX_WideStringC& wsName) const; | 80 const CFX_WideStringC& wsName) const; |
| 80 CFX_WideString GetSymbol(XFA_ELEMENT eElement, | 81 CFX_WideString GetSymbol(XFA_ELEMENT eElement, |
| 81 const CFX_WideStringC& symbol_type) const; | 82 const CFX_WideStringC& symbol_type) const; |
| 82 CFX_WideString GetCalendarSymbol(XFA_ELEMENT eElement, | 83 CFX_WideString GetCalendarSymbol(XFA_ELEMENT eElement, |
| 83 int index, | 84 int index, |
| 84 FX_BOOL bAbbr) const; | 85 FX_BOOL bAbbr) const; |
| 85 | 86 |
| 86 CXFA_Node* m_pLocale; | 87 CXFA_Node* m_pLocale; |
| 87 }; | 88 }; |
| 88 #endif | 89 |
| 90 #endif // XFA_SRC_FXFA_SRC_PARSER_XFA_LOCALE_H_ |
| OLD | NEW |