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

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

Issue 2488403004: Add fpdfppo_embeddertest.cpp. (Closed)
Patch Set: One last suggestion Created 4 years, 1 month 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/fm2js/xfa_fm2jscontext.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 <memory> 10 #include <memory>
(...skipping 13 matching lines...) Expand all
24 24
25 void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const override; 25 void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const override;
26 void GetMonthName(int32_t nMonth, 26 void GetMonthName(int32_t nMonth,
27 CFX_WideString& wsMonthName, 27 CFX_WideString& wsMonthName,
28 bool bAbbr = true) const override; 28 bool bAbbr = true) const override;
29 void GetDayName(int32_t nWeek, 29 void GetDayName(int32_t nWeek,
30 CFX_WideString& wsDayName, 30 CFX_WideString& wsDayName,
31 bool bAbbr = true) const override; 31 bool bAbbr = true) const override;
32 void GetMeridiemName(CFX_WideString& wsMeridiemName, 32 void GetMeridiemName(CFX_WideString& wsMeridiemName,
33 bool bAM = true) const override; 33 bool bAM = true) const override;
34 void GetTimeZone(FX_TIMEZONE& tz) const override; 34 void GetTimeZone(FX_TIMEZONE* tz) const override;
35 void GetEraName(CFX_WideString& wsEraName, bool bAD = true) const override; 35 void GetEraName(CFX_WideString& wsEraName, bool bAD = true) const override;
36 36
37 void GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType, 37 void GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType,
38 CFX_WideString& wsPattern) const override; 38 CFX_WideString& wsPattern) const override;
39 void GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY eType, 39 void GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY eType,
40 CFX_WideString& wsPattern) const override; 40 CFX_WideString& wsPattern) const override;
41 void GetNumPattern(FX_LOCALENUMSUBCATEGORY eType, 41 void GetNumPattern(FX_LOCALENUMSUBCATEGORY eType,
42 CFX_WideString& wsPattern) const override; 42 CFX_WideString& wsPattern) const override;
43 43
44 protected: 44 protected:
(...skipping 21 matching lines...) Expand all
66 66
67 void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const override; 67 void GetDateTimeSymbols(CFX_WideString& wsDtSymbol) const override;
68 void GetMonthName(int32_t nMonth, 68 void GetMonthName(int32_t nMonth,
69 CFX_WideString& wsMonthName, 69 CFX_WideString& wsMonthName,
70 bool bAbbr = true) const override; 70 bool bAbbr = true) const override;
71 void GetDayName(int32_t nWeek, 71 void GetDayName(int32_t nWeek,
72 CFX_WideString& wsDayName, 72 CFX_WideString& wsDayName,
73 bool bAbbr = true) const override; 73 bool bAbbr = true) const override;
74 void GetMeridiemName(CFX_WideString& wsMeridiemName, 74 void GetMeridiemName(CFX_WideString& wsMeridiemName,
75 bool bAM = true) const override; 75 bool bAM = true) const override;
76 void GetTimeZone(FX_TIMEZONE& tz) const override; 76 void GetTimeZone(FX_TIMEZONE* tz) const override;
77 void GetEraName(CFX_WideString& wsEraName, bool bAD = true) const override; 77 void GetEraName(CFX_WideString& wsEraName, bool bAD = true) const override;
78 78
79 void GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType, 79 void GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType,
80 CFX_WideString& wsPattern) const override; 80 CFX_WideString& wsPattern) const override;
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_Node* GetNodeByName(CXFA_Node* pParent, 87 CXFA_Node* GetNodeByName(CXFA_Node* pParent,
88 const CFX_WideStringC& wsName) const; 88 const CFX_WideStringC& wsName) const;
89 CFX_WideString GetSymbol(XFA_Element eElement, 89 CFX_WideString GetSymbol(XFA_Element eElement,
90 const CFX_WideStringC& symbol_type) const; 90 const CFX_WideStringC& symbol_type) const;
91 CFX_WideString GetCalendarSymbol(XFA_Element eElement, 91 CFX_WideString GetCalendarSymbol(XFA_Element eElement,
92 int index, 92 int index,
93 bool bAbbr) const; 93 bool bAbbr) const;
94 94
95 CXFA_Node* const m_pLocale; 95 CXFA_Node* const m_pLocale;
96 }; 96 };
97 97
98 #endif // XFA_FXFA_PARSER_XFA_LOCALE_H_ 98 #endif // XFA_FXFA_PARSER_XFA_LOCALE_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/fm2js/xfa_fm2jscontext.cpp ('k') | xfa/fxfa/parser/xfa_locale.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698