| 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_FGAS_LOCALIZATION_FGAS_LOCALE_H_ | 7 #ifndef XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_ |
| 8 #define XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_ | 8 #define XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/fx_xml.h" | 10 #include "core/fxcrt/fx_xml.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 CFX_WideString& wsNumSymbol) const = 0; | 61 CFX_WideString& wsNumSymbol) const = 0; |
| 62 virtual void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const = 0; | 62 virtual void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const = 0; |
| 63 virtual void GetMonthName(int32_t nMonth, | 63 virtual void GetMonthName(int32_t nMonth, |
| 64 CFX_WideString& wsMonthName, | 64 CFX_WideString& wsMonthName, |
| 65 bool bAbbr = true) const = 0; | 65 bool bAbbr = true) const = 0; |
| 66 virtual void GetDayName(int32_t nWeek, | 66 virtual void GetDayName(int32_t nWeek, |
| 67 CFX_WideString& wsDayName, | 67 CFX_WideString& wsDayName, |
| 68 bool bAbbr = true) const = 0; | 68 bool bAbbr = true) const = 0; |
| 69 virtual void GetMeridiemName(CFX_WideString& wsMeridiemName, | 69 virtual void GetMeridiemName(CFX_WideString& wsMeridiemName, |
| 70 bool bAM = true) const = 0; | 70 bool bAM = true) const = 0; |
| 71 virtual void GetTimeZone(FX_TIMEZONE& tz) const = 0; | 71 virtual void GetTimeZone(FX_TIMEZONE* tz) const = 0; |
| 72 virtual void GetEraName(CFX_WideString& wsEraName, bool bAD = true) const = 0; | 72 virtual void GetEraName(CFX_WideString& wsEraName, bool bAD = true) const = 0; |
| 73 virtual void GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType, | 73 virtual void GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType, |
| 74 CFX_WideString& wsPattern) const = 0; | 74 CFX_WideString& wsPattern) const = 0; |
| 75 virtual void GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY eType, | 75 virtual void GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY eType, |
| 76 CFX_WideString& wsPattern) const = 0; | 76 CFX_WideString& wsPattern) const = 0; |
| 77 virtual void GetNumPattern(FX_LOCALENUMSUBCATEGORY eType, | 77 virtual void GetNumPattern(FX_LOCALENUMSUBCATEGORY eType, |
| 78 CFX_WideString& wsPattern) const = 0; | 78 CFX_WideString& wsPattern) const = 0; |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 class IFX_LocaleMgr { | 81 class IFX_LocaleMgr { |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 CFX_Decimal Multiply(const CFX_Decimal& val) const; | 135 CFX_Decimal Multiply(const CFX_Decimal& val) const; |
| 136 CFX_Decimal Divide(const CFX_Decimal& val) const; | 136 CFX_Decimal Divide(const CFX_Decimal& val) const; |
| 137 CFX_Decimal Modulus(const CFX_Decimal& val) const; | 137 CFX_Decimal Modulus(const CFX_Decimal& val) const; |
| 138 uint32_t m_uFlags; | 138 uint32_t m_uFlags; |
| 139 uint32_t m_uHi; | 139 uint32_t m_uHi; |
| 140 uint32_t m_uLo; | 140 uint32_t m_uLo; |
| 141 uint32_t m_uMid; | 141 uint32_t m_uMid; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 #endif // XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_ | 144 #endif // XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_ |
| OLD | NEW |