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 _FX_UNICODE_ | 7 #ifndef _FX_UNICODE_ |
8 #define _FX_UNICODE_ | 8 #define _FX_UNICODE_ |
9 | 9 |
10 #include "fx_basic.h" | 10 #include "fx_basic.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 FX_DWORD dwCharProps; | 105 FX_DWORD dwCharProps; |
106 }; | 106 }; |
107 } FX_CHARPROPERTIES; | 107 } FX_CHARPROPERTIES; |
108 FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch); | 108 FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch); |
109 FX_BOOL FX_IsCtrlCode(FX_WCHAR ch); | 109 FX_BOOL FX_IsCtrlCode(FX_WCHAR ch); |
110 FX_BOOL FX_IsRotationCode(FX_WCHAR ch); | 110 FX_BOOL FX_IsRotationCode(FX_WCHAR ch); |
111 FX_BOOL FX_IsCombinationChar(FX_WCHAR wch); | 111 FX_BOOL FX_IsCombinationChar(FX_WCHAR wch); |
112 FX_BOOL FX_IsBidiChar(FX_WCHAR wch); | 112 FX_BOOL FX_IsBidiChar(FX_WCHAR wch); |
113 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_BOOL bRTL, FX_BOOL bVertical); | 113 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_BOOL bRTL, FX_BOOL bVertical); |
114 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_DWORD dwProps, FX_BOOL bRTL, FX_BOOL
bVertical); | 114 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_DWORD dwProps, FX_BOOL bRTL, FX_BOOL
bVertical); |
115 class CFX_Char : public CFX_Object | 115 class CFX_Char |
116 { | 116 { |
117 public: | 117 public: |
118 CFX_Char() : m_wCharCode(0) | 118 CFX_Char() : m_wCharCode(0) |
119 , m_nBreakType(0) | 119 , m_nBreakType(0) |
120 , m_nRotation(0) | 120 , m_nRotation(0) |
121 , m_dwCharProps(0) | 121 , m_dwCharProps(0) |
122 , m_dwCharStyles(0) | 122 , m_dwCharStyles(0) |
123 , m_iCharWidth(0) | 123 , m_iCharWidth(0) |
124 , m_iHorizontalScale(100) | 124 , m_iHorizontalScale(100) |
125 , m_iVertialScale(100) | 125 , m_iVertialScale(100) |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 FX_INT16 m_iBidiClass; | 191 FX_INT16 m_iBidiClass; |
192 FX_INT16 m_iBidiLevel; | 192 FX_INT16 m_iBidiLevel; |
193 FX_INT16 m_iBidiPos; | 193 FX_INT16 m_iBidiPos; |
194 FX_INT16 m_iBidiOrder; | 194 FX_INT16 m_iBidiOrder; |
195 FX_DWORD m_dwLayoutStyles; | 195 FX_DWORD m_dwLayoutStyles; |
196 FX_DWORD m_dwIdentity; | 196 FX_DWORD m_dwIdentity; |
197 IFX_Unknown *m_pUserData; | 197 IFX_Unknown *m_pUserData; |
198 }; | 198 }; |
199 typedef CFX_ArrayTemplate<CFX_RTFChar> CFX_RTFCharArray; | 199 typedef CFX_ArrayTemplate<CFX_RTFChar> CFX_RTFCharArray; |
200 #endif | 200 #endif |
OLD | NEW |