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

Side by Side Diff: core/include/fxcrt/fx_arb.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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 | « core/include/fxcodec/fx_codec.h ('k') | core/include/fxcrt/fx_basic.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 CORE_INCLUDE_FXCRT_FX_ARB_H_ 7 #ifndef CORE_INCLUDE_FXCRT_FX_ARB_H_
8 #define CORE_INCLUDE_FXCRT_FX_ARB_H_ 8 #define CORE_INCLUDE_FXCRT_FX_ARB_H_
9 9
10 #include "fx_system.h" 10 #include "fx_system.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class IFX_ArabicChar 48 class IFX_ArabicChar
49 { 49 {
50 public: 50 public:
51 static IFX_ArabicChar* Create(); 51 static IFX_ArabicChar* Create();
52 virtual void Release() = 0; 52 virtual void Release() = 0;
53 virtual FX_BOOL IsArabicChar(FX_WCHAR wch) const = 0; 53 virtual FX_BOOL IsArabicChar(FX_WCHAR wch) const = 0;
54 virtual FX_BOOL IsArabicFormChar(FX_WCHAR wch) c onst = 0; 54 virtual FX_BOOL IsArabicFormChar(FX_WCHAR wch) c onst = 0;
55 virtual FX_WCHAR GetFormChar(FX_WCHAR wch, FX_WCHAR prev = 0, FX_WCHAR next = 0) const = 0; 55 virtual FX_WCHAR GetFormChar(FX_WCHAR wch, FX_WCHAR prev = 0, FX_WCHAR next = 0) const = 0;
56 virtual FX_WCHAR GetFormChar(const CFX_Char *cur, const C FX_Char *prev, const CFX_Char *next) const = 0; 56 virtual FX_WCHAR GetFormChar(const CFX_Char *cur, const C FX_Char *prev, const CFX_Char *next) const = 0;
57 }; 57 };
58 void FX_BidiLine(CFX_WideString &wsText, FX_INT32 iBaseLevel = 0); 58 void FX_BidiLine(CFX_WideString &wsText, int32_t iBaseLevel = 0);
59 void FX_BidiLine(CFX_TxtCharArray &chars, FX_INT32 iCount, FX_INT32 iBaseLevel = 0); 59 void FX_BidiLine(CFX_TxtCharArray &chars, int32_t iCount, int32_t iBaseLevel = 0 );
60 void FX_BidiLine(CFX_RTFCharArray &chars, FX_INT32 iCount, FX_INT32 iBaseLevel = 0); 60 void FX_BidiLine(CFX_RTFCharArray &chars, int32_t iCount, int32_t iBaseLevel = 0 );
61 class IFX_BidiChar 61 class IFX_BidiChar
62 { 62 {
63 public: 63 public:
64 static IFX_BidiChar* Create(); 64 static IFX_BidiChar* Create();
65 virtual void Release() = 0; 65 virtual void Release() = 0;
66 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRU E) = 0; 66 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRU E) = 0;
67 virtual FX_BOOL AppendChar(FX_WCHAR wch) = 0; 67 virtual FX_BOOL AppendChar(FX_WCHAR wch) = 0;
68 virtual FX_BOOL EndChar() = 0; 68 virtual FX_BOOL EndChar() = 0;
69 virtual FX_INT32» » GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount) = 0; 69 virtual int32_t» » GetBidiInfo(int32_t &iStart, int32_t &iCount) = 0;
70 virtual void Reset() = 0; 70 virtual void Reset() = 0;
71 71
72 protected: 72 protected:
73 ~IFX_BidiChar() { } 73 ~IFX_BidiChar() { }
74 }; 74 };
75 75
76 #endif // CORE_INCLUDE_FXCRT_FX_ARB_H_ 76 #endif // CORE_INCLUDE_FXCRT_FX_ARB_H_
OLDNEW
« no previous file with comments | « core/include/fxcodec/fx_codec.h ('k') | core/include/fxcrt/fx_basic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698