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

Side by Side Diff: xfa/src/fgas/include/fx_locale.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 months 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/src/fgas/include/fx_fnt.h ('k') | xfa/src/fgas/include/fx_utl.h » ('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 _FX_LOCALE_H_ 7 #ifndef _FX_LOCALE_H_
8 #define _FX_LOCALE_H_ 8 #define _FX_LOCALE_H_
9 class CFX_Unitime; 9 class CFX_Unitime;
10 class IFX_Locale; 10 class IFX_Locale;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 virtual FX_BOOL ParseNull(const CFX_WideString& wsSrcText, const CFX_WideStr ing& wsPattern) = 0; 101 virtual FX_BOOL ParseNull(const CFX_WideString& wsSrcText, const CFX_WideStr ing& wsPattern) = 0;
102 virtual FX_BOOL FormatText(const CFX_WideString& wsSrcText, const CFX_Wi deString& wsPattern, CFX_WideString& wsOutput) = 0; 102 virtual FX_BOOL FormatText(const CFX_WideString& wsSrcText, const CFX_Wi deString& wsPattern, CFX_WideString& wsOutput) = 0;
103 virtual FX_BOOL FormatNum(const CFX_WideString& wsSrcNum, const CFX_Wide String& wsPattern, CFX_WideString& wsOutput) = 0; 103 virtual FX_BOOL FormatNum(const CFX_WideString& wsSrcNum, const CFX_Wide String& wsPattern, CFX_WideString& wsOutput) = 0;
104 virtual FX_BOOL FormatNum(FX_FLOAT fNum, const CFX_WideString& wsPattern , CFX_WideString& wsOutput) = 0; 104 virtual FX_BOOL FormatNum(FX_FLOAT fNum, const CFX_WideString& wsPattern , CFX_WideString& wsOutput) = 0;
105 virtual FX_BOOL FormatDateTime(const CFX_WideString& wsSrcDateTime, cons t CFX_WideString& wsPattern, CFX_WideString& wsOutput) = 0; 105 virtual FX_BOOL FormatDateTime(const CFX_WideString& wsSrcDateTime, cons t CFX_WideString& wsPattern, CFX_WideString& wsOutput) = 0;
106 virtual FX_BOOL FormatDateTime(const CFX_WideString& wsSrcDateTime, cons t CFX_WideString& wsPattern, CFX_WideString& wsOutput, FX_DATETIMETYPE eDateTime Type) = 0; 106 virtual FX_BOOL FormatDateTime(const CFX_WideString& wsSrcDateTime, cons t CFX_WideString& wsPattern, CFX_WideString& wsOutput, FX_DATETIMETYPE eDateTime Type) = 0;
107 virtual FX_BOOL FormatDateTime(const CFX_Unitime& dt, const CFX_WideStri ng& wsPattern, CFX_WideString& wsOutput) = 0; 107 virtual FX_BOOL FormatDateTime(const CFX_Unitime& dt, const CFX_WideStri ng& wsPattern, CFX_WideString& wsOutput) = 0;
108 virtual FX_BOOL FormatZero(const CFX_WideString& wsPattern, CFX_WideString& wsOutput) = 0; 108 virtual FX_BOOL FormatZero(const CFX_WideString& wsPattern, CFX_WideString& wsOutput) = 0;
109 virtual FX_BOOL FormatNull(const CFX_WideString& wsPattern, CFX_WideString& wsOutput) = 0; 109 virtual FX_BOOL FormatNull(const CFX_WideString& wsPattern, CFX_WideString& wsOutput) = 0;
110 }; 110 };
111 class CFX_Decimal : CFX_Object 111 class CFX_Decimal
112 { 112 {
113 public: 113 public:
114 CFX_Decimal(); 114 CFX_Decimal();
115 CFX_Decimal(FX_UINT32 val); 115 CFX_Decimal(FX_UINT32 val);
116 CFX_Decimal(FX_UINT64 val); 116 CFX_Decimal(FX_UINT64 val);
117 CFX_Decimal(FX_INT32 val); 117 CFX_Decimal(FX_INT32 val);
118 CFX_Decimal(FX_INT64 val); 118 CFX_Decimal(FX_INT64 val);
119 CFX_Decimal(FX_FLOAT val, FX_UINT8 scale = 3); 119 CFX_Decimal(FX_FLOAT val, FX_UINT8 scale = 3);
120 CFX_Decimal(FX_WSTR str); 120 CFX_Decimal(FX_WSTR str);
121 CFX_Decimal(FX_BSTR str); 121 CFX_Decimal(FX_BSTR str);
(...skipping 29 matching lines...) Expand all
151 CFX_Decimal AddOrMinus(const CFX_Decimal& val, FX_BOOL isAdding) con st; 151 CFX_Decimal AddOrMinus(const CFX_Decimal& val, FX_BOOL isAdding) con st;
152 CFX_Decimal Multiply(const CFX_Decimal& val) const; 152 CFX_Decimal Multiply(const CFX_Decimal& val) const;
153 CFX_Decimal Divide(const CFX_Decimal& val) const; 153 CFX_Decimal Divide(const CFX_Decimal& val) const;
154 CFX_Decimal Modulus(const CFX_Decimal& val) const; 154 CFX_Decimal Modulus(const CFX_Decimal& val) const;
155 FX_UINT32 m_uFlags; 155 FX_UINT32 m_uFlags;
156 FX_UINT32 m_uHi; 156 FX_UINT32 m_uHi;
157 FX_UINT32 m_uLo; 157 FX_UINT32 m_uLo;
158 FX_UINT32 m_uMid; 158 FX_UINT32 m_uMid;
159 }; 159 };
160 #endif 160 #endif
OLDNEW
« no previous file with comments | « xfa/src/fgas/include/fx_fnt.h ('k') | xfa/src/fgas/include/fx_utl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698